WHAT'S NEW?
Loading...

4. Nmap port scanning specifications - Complete Nmap beginners course



From the past three tutorials we have learned about some basic nmap techniques, host discovery and some port scanning techniques and have covered most of the part. Past few tutorials were quite lengthy but it's not the case now. The following tutorials will be quite short and easy now. So, in the tutorials we'll cover the topic "Port Scanning Specifications."

In addition to all of the scan methods discussed previously, Nmap offers options for specifying which ports are scanned and whether  the scan order is randomized or sequential. By default, Nmap scans the most common 1,000 ports for each protocol.

  • -p <port ranges> - This option can be specified to scan particular port ranges. For eg



The following will just scan ports from 1 to 100

  • --exclude-ports <port ranges> - We also have an option to exclude a range of ports which scanning multiple ports. for eg.



The following command will scan all the ports from 1 to 100 excluding ports from 100 to 200.


So, this was a short tutorial on "Port Scanning Specifications". In next tutorial we'll learn about Detecting Services and Version running on specific ports.

0 comments:

Post a Comment