June 2019
Intermediate to advanced
328 pages
7h 27m
English
The netcat program, or nc, is the “Swiss Army Knife” of networking tools. With this one tool, you can connect to remote systems, transfer files, and even scan ports to see what connections are available.
You can use nc to determine if certain services are running by scanning the ports associated with those services. This is great for troubleshooting your own servers, but you don’t want to just go around scanning anyone’s machines. It sends them traffic, and some systems might think you’re trying to find security vulnerabilities to exploit. For those reasons, you should only scan ports on servers you control.
Still, if you’re attempting to see if you can connect to a server from another machine, or looking ...