Skip to main content
Getting an interactive session back from a target: start a listener, trigger a payload, then stabilize. Placeholders: $LHOST is your IP, $LPORT your listener port (examples use 4444).
Default ports like 4444 and 1234 are watched by EDR and SOC tooling. Prefer 443, 8443, or 53, and rename dropped binaries before transfer.

Listeners

Linux

Windows

Stabilizing a Shell

See SUID Failures in Reverse Shells for why sudo/SUID silently fail without a real TTY.

Dropping Files on the Target

Pull tools across once you have a shell (nc.exe, winPEAS, chisel, …). Full method matrix: File Transfers.