icon

Reverse Shell with Pwncat

Last modified: 2023-12-23

Pwncat is a reverse and bind shell handler.

It can be downloaded from here.
For listening from remote connection, run the following command.

pwncat-cs -lp 4444

# For Windows target
pwncat-cs -m windows -lp 4444

Commands

After reverse connecting, we can execute commands either local or remote.

# Switch between Local and Remote shell
Ctrl+D

# Upload a file to target machine (e.g. upload example.txt from local to remote)
(local) upload ./example.txt /tmp/example.txt