Home Forums Buffer Overflow in C

This topic contains 1 reply, has 2 voices, and was last updated by  aedinius 1 month, 2 weeks ago.

  • Author
  • #457345


    I was reading my textbook and it says that in order to buffer overflow a “Correct Serial” in a basic C program using GDB, I need to disass main, then locate the part of the code that contains the correct serial. Once I have the address of the correct serial, I am supposed to overwrite the main address by $(perl -e ‘print’ “INSERT ADDRESS” x10) (ten times to make sure it is overwritten).

    When I look at this big paragraph that is full of addresses and calls, jumps, leaves and tests, how do I locate the correct serial? Do I need to do something beforehand?

  • #457346


    I’ve never heard the term “correct serial” when referring to buffer overflows.

You must be logged in to reply to this topic.