Display information about files in different file formats and find gadgets to build rop chains for different architectures (x86/x86_64, ARM/ARM64, MIPS, PowerPC, SPARC64). For disassembly ropper uses the awesome Capstone Framework.
(ropper)> file libc-2.27.so
[INFO] Load gadgets for section: LOAD
[ERROR] Please report this error on https://github.com/sashs/ropper
[ERROR] Traceback (most recent call last):
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 62, in cmd
func(self, text)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 649, in do_file
self.loadFile(text)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 211, in loadFile
self.loadGadgets()
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 302, in loadGadgets
self.searchGadgetsFor(self.currentFileName)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 306, in searchGadgetsFor
self.rs.loadGadgetsFor(binary)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/service.py", line 652, in loadGadgetsFor
load_gadgets(fc)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/service.py", line 637, in load_gadgets
f.allGadgets = self.ropper.searchGadgets(f.loader, instructionCount=self.options.inst_count, gtype=gtype,multiprocessing=self.options.multiprocessing)
File "/home/haitham/.local/lib/python2.7/site-packages/ropper/rop.py", line 289, in searchGadgets
if mp.get_start_method() != 'fork':
AttributeError: 'module' object has no attribute 'get_start_method'
(ropper)> file libc-2.27.so [INFO] Load gadgets for section: LOAD [ERROR] Please report this error on https://github.com/sashs/ropper [ERROR] Traceback (most recent call last): File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 62, in cmd func(self, text) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 649, in do_file self.loadFile(text) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 211, in loadFile self.loadGadgets() File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 302, in loadGadgets self.searchGadgetsFor(self.currentFileName) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/console.py", line 306, in searchGadgetsFor self.rs.loadGadgetsFor(binary) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/service.py", line 652, in loadGadgetsFor load_gadgets(fc) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/service.py", line 637, in load_gadgets f.allGadgets = self.ropper.searchGadgets(f.loader, instructionCount=self.options.inst_count, gtype=gtype,multiprocessing=self.options.multiprocessing) File "/home/haitham/.local/lib/python2.7/site-packages/ropper/rop.py", line 289, in searchGadgets if mp.get_start_method() != 'fork': AttributeError: 'module' object has no attribute 'get_start_method'