看板娘加载中
56 字
1 分钟
ctfshow stack overflow pwn52

附件:pwn52-ret2text.py

shot 1

shot 2

shot 3

题目让我尝试修改a1的值为876,a2的值为877,从而getflag。而a1与a2是flag()函数的两个参数。

shot 4

直接输入即可,注意参数顺序。

exp:

shot 5

shot 6

ctfshow{09b516d6-3d5b-4f0a-821b-771cca64f95d}

ctfshow stack overflow pwn52
https://alf-ovo.cn/posts/ctfshow-stack-overflow-pwn52/
作者
AlF
发布于
2026-05-13
许可协议
CC BY-NC-SA 4.0