picoctf_2018_got_shell
Ubuntu 18 来源:https://github.com/hebtuerror404
0x01
checksec
1 | [*] '/home/zelas/Desktop/pwn/picoctf_2018_got_shell/PicoCTF_2018_got-shell' |
IDA
main()
1 | int __cdecl __noreturn main(int argc, const char **argv, const char **envp) |
win()
1 | int win() |
0x02
思路
修改exit的got为win
0x03
exp
1 | from pwn import * |
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果