GithubHelp home page GithubHelp logo

ROP gadget search about ronin-code-asm HOT 5 OPEN

ronin-rb avatar ronin-rb commented on September 27, 2024
ROP gadget search

from ronin-code-asm.

Comments (5)

postmodern avatar postmodern commented on September 27, 2024

I was working on some code that used ffi-udis86 to find Gadgets. I'm not sure if it belongs in ronin-asm or should be moved into a ronin-rop library?

from ronin-code-asm.

danghvu avatar danghvu commented on September 27, 2024

If I can use it independently from ronin-asm then I would want it to be separately. But I can imagine that It must somehow be involved. For example if I want to search for pop eax; ret, I first use ronin-asm to convert to binary, then grep it from the binary source, convert it to the correct address somehow.

from ronin-code-asm.

postmodern avatar postmodern commented on September 27, 2024

Ah yes, we could inspect Ronin::ASM::Program#instructions and map those to gadgets.

from ronin-code-asm.

postmodern avatar postmodern commented on September 27, 2024

One downside to this would be adding ffi-udis86 and libudis86 as dependencies. Luckily, libudis86 is available in almost every package manager.

from ronin-code-asm.

postmodern avatar postmodern commented on September 27, 2024

If you're interested, there's an old rop branch. I was trying to extract it and update it for a Capture The Flag competition. One of my goals is to add min/max number of instructions to search for.

from ronin-code-asm.

Related Issues (20)

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.