Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pwn import *
- # forges a sword
- def makeSword(p):
- p.recvuntil('Quit.')
- p.sendline('1')
- return
- p = remote('2018shell1.picoctf.com', 10491)
- # make two swords
- makeSword(p)
- makeSword(p)
- p.interactive()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement