win... win... window...!
Last updated
Was this helpful?
Last updated
Was this helpful?
this is a 64 bit binary not stripped and we have onlu NX Protection enabled which makes the stack not executable the thing that makes shellcode won't be executable
opening the binary in ghidra we find 2 interesting functions
the main function which is vulnerable to BOF
and the shell function which executes the bash so our goal to return to this function
first we need to know the offset to the EIP
so the offset to RIP is 18