all posts
16 June 2019

Disabling Sketch license verification

Disclaimer: this article is for educational purposes only. Consider buying the license to support developers. Sketch is a vector graphics editor for interface designers. It has a demo version that works for 3 days or so. When the demo period is over, a blocking modal window appears at startup:...

#macos #reverse-engineering
Read more →
17 April 2019

Port knocking protected SSH without pain

I will briefly show how to setup knockd on Linux server to protect ssh daemon, and how to automate port knocking on the client side when using ssh, scp and rsync. First of all we need to generate random port sequence. A simple python script can handle it. #!/usr/bin/env python import random...

#linux #bash #automation
Read more →
14 April 2019

Reading stdout and stderr of AwesomeWM process

Sometimes you may need to read stdout and stderr of AwesomeWM process, e.g. when you're debugging your plugins. One way to do this is to create a new Xorg instance using Xephyr and launch awesome there, but it may not be very convenient. The other possible way is to trace awesome's write syscalls...

#linux #awesome #bash
Read more →