Traceback (most recent call last):
File "test.py", line 391, in <module>
main()
File "test.py", line 385, in main
find_rop_gadgets('libc.so')
File "test.py", line 78, in find_rop_gadgets
e = elf.ELF(path)
File "/usr/local/lib/python2.7/dist-packages/pwnlib/elf/__init__.py", line 51, in __init__
self.file = open(path,'rb')
IOError: [Errno 2] No such file or directory: 'libc.so'
我是python的新手,所以如果有人能在这里帮助我的话。 感谢。
答案 0 :(得分:0)
如果您使用的是ubuntu 14.04。您应该尝试以下命令:
sudo ln -s `locate libc.so.6` /lib/libc.so
或者:
sudo ln -s `locate libc.so.6` /lib/libc.so.6