Hacking, Binary Exploitation, C, Programming, Vulnerability.
have both of these values, we can calculate the offset between the two by simple hex arithmetic (Use Hex Calculator if you must) and add the size of BP (in my case 8 bytes since I’m running it on a 64-bit machine). This is then our value X on the top of the script. ❓Why are we taking the sum of