3 ms·
awesome. I didn't know about that printf hack....time for some fun experiments
by kderbyma 6y ago
awesome. I didn't know about that printf hack....time for some fun experiments
- saagarjha 6y agoBe careful, though, you don't want anyone to hack you through printf ;)
- segfaultbuserr 6y agoIn the late 90s, looking for "printf(string)" [0] in the code was a great way to discover remote code execution 0days ;-) [0] should be "printf("%s", string)".
- stevekemp 6y agoVery much so, it took a long time for this to become obvious as a security problem. My memory wuftpd was the first big program to suffer from this class of attacks.
- segfaultbuserr 6y agoIt reminds me of a talk by infosec researcher "The Grugq" about opsec techniques used by blackhat hackers. Its subtitle was because jail is only for wuftpd, I couldn't stop laughing at it.