Current location - Quotes Website - Collection of slogans - Introduction to NetCat usage
Introduction to NetCat usage
NetCat is known as the Swiss army knife in network tools, which can be used to do many useful things, such as monitoring ports, scanning ports, transferring files, measuring network speed and so on.

Machine IP:118.178.255+058.

Machine IP: 47.96.151.115.

You can use this to chat with your sister, which is safer than burning it after reading it!

Listening on UDP port

-w2 sets a timeout of 2 seconds.

After testing, there is no difference between nc file transmission and scp file transmission, and the number of packets viewed by tcpdump is similar. Nc file transfer is better than scp file transfer, and no password is required.

The principle of testing the network speed is to send the /dev/zero of one machine to the /dev/null of another machine through file transfer, which will make the testing of the network speed more accurate, because there is no need to write to disk.

receiving terminal

transmitting terminal

Test the network speed of the receiver.

The peak speed of Alibaba Cloud tester is 5Mbps, that is, 5* 1024/8 =640KB/s, which is not much different from the recv of the test results, indicating that Alibaba Cloud did not cheat.

Controlled end

Control end

Does this mean that I can do a lot of things without the root account of the remote machine?