Crash upon loading libc
See original GitHub issuehi there, this is my first time using ropper, I am following the steps in exploit development training.
I installed ropper using: sudo pip install ropper -no-cache-dir
I am getting the below error when I load libc in ropper:
(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 "/usr/local/lib/python2.7/dist-packages/ropper/console.py", line 62, in cmd
func(self, text)
File "/usr/local/lib/python2.7/dist-packages/ropper/console.py", line 649, in do_file
self.__loadFile(text)
File "/usr/local/lib/python2.7/dist-packages/ropper/console.py", line 211, in __loadFile
self.__loadGadgets()
File "/usr/local/lib/python2.7/dist-packages/ropper/console.py", line 302, in __loadGadgets
self.__searchGadgetsFor(self.currentFileName)
File "/usr/local/lib/python2.7/dist-packages/ropper/console.py", line 306, in __searchGadgetsFor
self.__rs.loadGadgetsFor(binary)
File "/usr/local/lib/python2.7/dist-packages/ropper/service.py", line 652, in loadGadgetsFor
load_gadgets(fc)
File "/usr/local/lib/python2.7/dist-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 "/usr/local/lib/python2.7/dist-packages/ropper/rop.py", line 289, in searchGadgets
if mp.get_start_method() != 'fork':
AttributeError: 'module' object has no attribute 'get_start_method'
Am I missing something? Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
1887974 – crash running libc while loading libdl
When libc.so.6 is run as the binary it is forced into a delayed position in the initialization order during ELF startup. The preloaded...
Read more >CRASH when libc tries to load libnss in a client #3754 - GitHub
The following client produces a segmentation fault when run, due to some loading issue: #include #include #include #include #include ...
Read more >Crash in the application in the libc - Stack Overflow
My application is receiving the data from the socket (from server)which is EVRC encoded and decoding that data. And unfortunately i dont have...
Read more >application crashes when trying loadLibrary(), issue with ...
I am trying to debug a crash with trying to load a library that I cross-compiled using ... It seems to crash when...
Read more >Firefox on FreeBSD crashes due to loading libc.so.6
File implementation for UNIX, it loads libc.so.6 if that is available, and then uses libffi to call into it. However, the system C...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ropper --file <binary> --single Then the gadgets are loaded within a single process, which is much slower.
make python3 default on your system and use pip3 to install ropper
No, it breaks when I use --console
but the syntax I used earlier works