Using radare2 to pwn things

While more and more people are using radare2 during ctf, in the same time we’ve got more and more complains that there is not enough documentation about radare2. This article’s goal is to make a small cheat-sheet when it comes to pwn things with our beloved piece of software. Keep in mind that: Every character has a meaning (w stands for write, p stands for print, …) Every command can be a succession of character (pdf stands for p: print, d: disassemble, f: function Every command is documented with ?