Skip to content

Update Binary Exploitation - Stack overflow attack section #48

Description

@syreal17

Consider issues with current Stack overflow attack section:

  • Gives source code for vulnerable program and solution exploit, but the return address needed is liable to change, and padding might change between systems as well.
  • Solution exploit uses python3 and print which is unable to output non-printable characters
  • The current working solution: python3 -c "import sys; sys.stdout.buffer.write(b'abcdefghijkl\x76\x11\x40\x00\x00\x00\x00\x00')" | ./vuln1
  • This might be a good first candidate to move to a Gym problem instead of local thing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions