Skip to content
reverseshell

Glossary

Payload

The command or code run on the target that opens the reverse shell — e.g. a bash, python, php, or PowerShell one-liner.

In the reverse shell context, the payload is the command or code executed on the target that opens the connection back to your listener. It exists in many forms — a bash /dev/tcp one-liner, a python socket/pty snippet, a php fsockopen call, a PowerShell TCPClient loop — but all do the same thing: wire a shell's input and output to a TCP socket.

Payloads are fragile in transit: the wrong interpreter, mangled quoting, or a missing binary all break them silently. See payload quoting and generate a correct one with the reverse shell generator.