5 ms·
Implementing a web server in a single printf call (2014)
- dang 8y agoDiscussed at the time: https://news.ycombinator.com/item?id=7389623 https://news.ycombinator.com/item?id=7389623
- bauc 8y agoThanks, I forgot to check the URL with Https to find previous discussion.
- saagarjha 8y agoTL;DR: the program subjects itself to a format string "attack", allowing it to execute the shellcode for the web server.