Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. from pwn import *
  2.  
  3. # forges a sword
  4. def makeSword(p):
  5. p.recvuntil('Quit.')
  6. p.sendline('1')
  7. return
  8.  
  9.  
  10. p = remote('2018shell1.picoctf.com', 10491)
  11. # make two swords
  12. makeSword(p)
  13. makeSword(p)
  14. p.interactive()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement