Install and use netcat under windows

1. Download and install
3. Environment configuration
4. Test
1. Download and install
1. Official website download address: https://eternallybored.org/misc/netcat/

2. Unzip


3. Environment configuration
Add environment variables

 

 

 
4. Test
win+R and enter cmd to open the command box, which is called command box 1.
Enter the following content in command box 1

nc -L -p 9000 -v

 

Win+R input cmd to open the command box, here is called command box 2, and add the following content

nc localhost 9000

 

Enter test in the command line box 2, and it can appear in the command line box 1, because the command line box 1 is listening to the port number 9000 in the command line box 2

 

Guess you like

Origin blog.csdn.net/wokoone/article/details/127661145