How To Exclude Hosts From Nmap Scan? – POFTUT

How To Exclude Hosts From Nmap Scan?

Nmap is a very useful tool for network administration and security. It is the most used tool in these areas. But a lot of people use it with very basic means. Here we will look more sophisticated usage of Nmap step by step in this ant further posts.

Target Hosts

Create a text file and add hosts/networks to it and then use this file with Nmap. You can use network blocks like or ranges

Start Scan

We will start the scan with the -iL option by providing the target host file.

Specify Exclude Hosts

Exclude some hosts with the same syntax used above. You can read them from file or specify by option. -v option is used for verbose output. We will use --exclude command by providing the IP address`

LEARN MORE  What Is Radio Frequency Identification or RFID?

We can also use hostname but name resolving must be available.

Leave a Reply

Your email address will not be published. Required fields are marked *