Skip to content
Permalink
Browse files

Bugfix: crash when building mprotect ropchainx86

Crash was caused by a minor typo, encountered when a jmp esp gadget isn't found
  • Loading branch information...
aagallag committed Apr 12, 2016
1 parent 46cac0e commit ae7f3f4c25b52f69b363a6d3c48edd125e3d6720
Showing with 1 addition and 1 deletion.
  1. +1 −1 ropper/ropchain/arch/ropchainx86.py
@@ -734,7 +734,7 @@ def create(self, param=None):
self._printer.printInfo('jmp esp found')
chain_tmp += jmp_esp
else:
self-_printer.printInfo('no jmp esp found')
self._printer.printInfo('no jmp esp found')
chain_tmp += '\n# ADD HERE JMP ESP\n\n'

chain += self._printRebase()

0 comments on commit ae7f3f4

Please sign in to comment.
You can’t perform that action at this time.