Boyan-MILANOV / ropium

ROPium is a tool that helps you building ROP exploits by finding and chaining gadgets together
350 stars 40 forks source link

Some constants need rebase #14

Closed 0xKira closed 5 years ago

0xKira commented 5 years ago

I'm using the latest ubuntu 18.04 and ROPGenerator. When I try the cmd syscall in exploit mode, some of the constants need rebase because the generated payload uses it as the address to be written. See the screenshot. image P.S. When I exit the ROPGenerator, my personal preference is to press Ctrl+D. But in that way, Python will throw an annoying EOFError. If you can fix that I'll be very grateful. Anyway, thanks for the great tool.

Boyan-MILANOV commented 5 years ago

Hey !

That's right, I fixed the problem. Now constants corresponding to relative memory addresses are rebased in the ROP-chain.

PS: Try Ctrl+D now ;)