So I have this sample problem that I need to buffer overflow. Its an elf file that require to be run on a separate terminal then using "nc localhost 'port' " on a separate terminal we can see the input.

On IDA I have

enter image description here

which from some reason I dont understand what Im looking for so I tried using a buffer overflow technique and I got

enter image description here

and in the other terminal I got

enter image description here

I tried for days looking around for techniques and understanding how to solve this problem but im always reaching dead ends.

Here is a link to the elf file: https://we.tl/t-vlqS6LwqlB

  • 1
    Welcome to RE.SE! Did you consider that it is a 64bit system? You could also have a look at the stack with gdb when breaking at the return statement, looking for the 0x41's – Nordwald Feb 22 '19 at 21:36
  • @Nordwald Could please clarify the steps? – Omar Elgafri Feb 23 '19 at 2:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.