argument community v1.0.0

socat

Argument injection via socat

📋 Live Preview
socat
socat

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
security.execution.command

Examples

The command leverages socats ability to relay data, reading arbitary file by opening it in read-only mode.

socat -u OPEN:/etc/passwd,rdonly STDOUT 

The exec argument runs an arbitrary command and spawn a shell.

socat stdin exec:bash 

The exec argument runs an arbitrary command.

socat stdin exec:whoami 

Documentation

socat

GTFOArgs entry for socat. This binary can be used to inject arguments for execution, file operations, or other capabilities.

References