Thank you, thank you all so very much, thank you to all of you in this room, none of there would be possible without you. Thank you!
题目简介
这是一道arm菜单题
环境搭建
启动环境
安装依赖
1 | sudo apt install -y gcc-arm-linux-gnueabi |
启动
1 | qemu-arm -L /usr/arm-linux-gnueabi ./awd7 |
gdb调试
安装gdb-multiarch
1 | sudo apt install gdb-multiarch |
socat启动
1 | socat tcp-l:10005,fork exec:"qemu-arm -L /usr/arm-linux-gnueabi ./awd7",reuseaddr |
python脚本启动
1 | from pwn import * |
gdb调试
1 | gdb-multiarch -q awd7 |
漏洞利用
ida打开,发现很明显的缓冲区溢出以及get shell的后门。