10 April 2020
Get a list of upcoming CTFs directly from your command line
I just created a small endpoint to query the next 10 upcoming CTFs from. Just open a terminal and run
That’s right, it even has ansi-art logos! (Well, at least a resemblance…)
You can find the source available here
19 March 2020
I made this to solve a challenge while interviewing for a security IT company, here is a short writeup:
The task of the project was about finding an obfuscated app on the play store, modifying it such that it would notify another app whenever it was opened.
I did not really have a quick way to check wheter an app on the play store was obfuscated or not, so I decided to choose an app that I knew for sure had at least some kind of obfuscation, and that app is Whatsapp Messenger.
03 November 2019
Automatic vim folds for config files
Vim folds are neat. You can toggle them open/closed quickly with
za(which I remapped to space), but creating/deleting them is kind of awkward with
zdand most of all making vim remember where your folds were is a bit of a pain.
But luckily there is a way to define folds through comments in the source code, which is really as cool as it sounds.
It is particularly comfortable to use in config files, that sometimes get a bit too long, and organising stuf...
07 September 2019
Rotate vim colorscheme between day and night automatically
It happens quite often that I work on my laptop outside during the day. My all-time favourite colorcheme, alduin, gets absolutely killed by sunlight. For this reason, I have to sometimes switch to a light colorscheme.
Switching manually colorscheme gets tedious after the third time. But it turns out that making it automatic is really simple, just add those lines to your
14 July 2019
Get notified on Telegram on every ssh login
Step 1: Create a telegram bot
- Open up telegram, search
@botfatherand start a conversation with it
/newbotand follow the instructions to choose a username for your bot (with which you can search for your bot with @username) and a screen name (just the name that will appear at the top of the conversation with your bot.
- Save the token generated by
- Look up your bot in the Telegram search (@username) and start a c...
- Open up telegram, search
08 December 2018
Cool bash stuff with ANSI escape codes
Let’s see a few fun stuff you can do with a bit of bash and ANSI escape codes
Example #1: ASCII Progress bar
You know a script is cool when it shows a progress bar. And you write only cool scripts, right?
For this, we don’t need fancy stuff, just the
\rchar will do the magic for us. Let’s also assume you have a
percentagevariable lying around with display the progress of whatever unoptimized thing you’re doing as an integer from 0 to 100.