bash $> gdb-pwndbg ./my.binpwndbg> cyclic 100 # generate a cyclic patternpwndbg> run # run the programpwndbg> cylic -l taa # lookup for the offset of the sub pattern in the patternpwndbg> piebase # get the PIE base of the binarypwndbg> pwndbg # get a list of all available commandspwndbg> help # get a help menupwndbg> r2 # call radare2 from pwndebug !pwndbg> unhex <value> # un hex a hexadecimal value# infos about functionspwndbg> i f# infos about the filepwndbg> info file# place breakpoint at addresspwndbg> b * 0x00001234# place breakpoint at function + offsetb *(&error+184)b *(error+184)# list brekpointspwndbg> i b# remove a breakpointpwndbg> del <breakpoint number (ex: 2)># start program with argumentspwndbg> r <program arguments># display registerpwndbg> i r# display the context (main informations)pwndbg> context# set a valuepwndbg> set <address (ex: * 0x00001234) or register (ex: $rdi)>=<value># tips : set value of $rip to move to the instruction of your choice in the program# display info:# 100 address as hexdumppwndbg> x/100x <address (ex: * 0x00001234) or register (ex: $rdi)># 100 address as stringpwndbg> x/100s <address (ex: * 0x00001234) or register (ex: $rdi)># 100 address as insctructionspwndbg> x/100i <address (ex: * 0x00001234) or register (ex: $rdi)># display the call stackpwndbg> where# stop executionpwndbg> kill