Trying to give a command line program an address to overwrite a return address saved in the stack. I could successfully overflow the input argument into the exact return address position but the address I want to give contains zeros (starts with with zeros eg 0x0000555555554bce
).
I give the address in from of string, the 00 must be a NUL character (\0
) but I can't give that using the command line. Any idea on how can I achieve that?