Ubuntu安装LibcSearcher|泄露已知libc版本的libc地址工具


LibcSearcher是python的一个库,在做pwn题的时候通常会用到,作用是泄露已知libc库版本的libc地址。

0x00.安装方法


 1. git clone https://github.com/lieanu/LibcSearcher.git
 2. cd LibcSearcher
 3. sudo python setup.py install
 4. 把LibcSearcher.py放在exp相同目录下运行exp.py即可

0x01.使用方法

先安装libc库
exp片段:
from LibcSearcher import *
elf=ELF('libc.xx.xx')
libc = LibcSearcher('write',write_addr)
offset = write_addr - libc.dump('write')
sys_addr = offset + libc.dump('system')
发布了107 篇原创文章 · 获赞 68 · 访问量 7774

猜你喜欢

转载自blog.csdn.net/weixin_43092232/article/details/104996280