Overwrite the GOT address of a called functions, which then will be returned instead
Check the disassembly of the binary for SO function call
x/s <functionaddress>
x/3i <functionaddress>
Check the GOT address of the PLT. There should be PTR
via jmp
to the GOT address of the function
Rewrite this address with for example system
. Take a look where it is placed
p system
jmp
to GOT to system
addressset *<foundGOTjmpAddress>=<foundSystemAddress>
system
Social_engineering