HNHacker News
TopNewBestAskShowJobs

yohanes

11 karma · joined February 12, 2013

https://tinyhack.com

https://github.com/yohanes

[ my public key: https://keybase.io/yohanes; my proof: https://keybase.io/yohanes/sigs/FcAWrcP7n-nTQvKJO3_rqZeLSAHWNceOigRW1bsWXxM ]

submissionscomments
yohanes··on Reverse Engineering Pokémon Go Plus
Yes, but there hasn't been anything open source since the release of the device in 2016. There were a lot of people starting DIY Pokemon GO plus device, but all of them were stumped by the certification protocol.

Now we can build a clone using anything that supports emulating a BLE peripheral (Pi Zero W, ESP32, etc)

yohanes··on Implementing a web server in a single printf() call
Ah, you have found a bug in my code (I made an error in computing the string length, and didn't notice it because it displayed fine on Chrome). I have fixed my code in git and the blog post.

As for the stray output displayed on the stdout: it is to be expected. The %n format outputs the numbers of character that is written by printf, so it must have written something to the stdout.

yohanes··on Implementing a web server in a single printf() call
Ubuntu adds a security feature that provides a read-only relocation table area in the final ELF. To be able to run the examples in ubuntu, add this in the command line when compiling

-Wl,-z,norelro

e.g:

gcc -Wl,-z,norelro test.c