GithubHelp home page GithubHelp logo

Comments (1)

hwchen18546 avatar hwchen18546 commented on August 26, 2024

Before Error
$ x/8x $ebp-16
0xbffff288: 0xb7fc3440 0xb7fd9ff4 0x00000000 0x00000000
0xbffff298: 0xbffff2c8 0xb7fd78d8 0xb78c6008 0x0032522c

After
$ x/8x $ebp-16
0xbffff288: 0x00746572 0xb7fd9ff4 0x00000000 0x00000000
0xbffff298: 0xbffff2c8 0xb7fd78d8 0xb78c6008 0x0032522c

0xbffff288 stack guard cover 0x00746572 ('ret')

GDB
$ watch *0xbffff288
Old value = 0xb7fc3440
New value = 0xb7fc3400
rop_print_gadgets (binary=0xb78c6008 "\177ELF\001\001\001", binary_len=0x32522c) at rop.c:42
41 total_gadget++;
42 for (k = 0; k < j; k++)

Old value = 0xb7fc3400
New value = 0x746572
rop_print_gadgets (binary=0xb78c6008 "\177ELF\001\001\001", binary_len=0x32522c) at rop.c:50
49 strcat(gadget_string, "ret");
50 printf("0x0%x:\t%s\n", text_address + i, gadget_string);

gadget_string over define MaxGadgetLen 200
commit 1e714ae
Fix bug: gadget_string cover canary stack smashing

from ropchain.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.