pwndbg

PWN常用工具:1、安装pwntools(python3)2、安装gdb-9.2版本(sudo apt install texinfo)Index of /gnu/gdbcd gdb-9.2mkdir gdb-build-9.2cd gdb-build-9.2../configure --with-python=’/usr/bin/python3’makesudo make install3、安装pwndbg(gitinit)修改setup.shPYTHON.
摘要由CSDN通过智能技术生成

PWN常用工具:

1、安装pwntools(python3)

2、安装gdb-9.2版本(sudo apt install texinfo)

Index of /gnu/gdb

cd gdb-9.2

mkdir gdb-build-9.2

cd gdb-build-9.2

../configure --with-python=’/usr/bin/python3’

make

sudo make install

3、安装pwndbg(git init)

修改setup.sh

PYTHON+=/usr/bin/python3

SITE_PACKAGES=/usr/lib/python3/dist-packages

git clone https://github.com/pwndbg/pwndbg

git clone https://github.com.cnpmjs.org/pwndbg/pwndbg

gdb -v

gdb pwn7

b printf     //在printf断点

r      //运行

PWN做题思路

1、运行程序,熟悉程序

2、kali上使用checksec来检查可执行文件属性,例如PIE, RELRO, PaX, Canaries, ASLR, Fortify Source等等属性(python3.6以上,需要安装packaging)

kali@kali:~/hf$ checksec pwnme
    Arch:     amd64-64-little
    RELRO:    Full RELRO
    Stack:    No canary found
    NX:       NX enabled
    PIE:      No PIE (0x400000)
3、

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值