And the map allows us to scan boats in multiple ways.
You don't always have to scan 100 or 1000 boats.
We can only scan the boats that we want to scan.
So let me show you how to type and map hyphen.
P p means port.
And now you have to tell and map the port numbers that you want to scan.
So let me start with the 21, which is an FTP port.
Now let me enter the IP address.
Now hit enter.
As you can see, it's scan was completed very quickly because this time and map only scanned the specified
port 21 in the same way you can, you know, scan multiple ports as well.
So type and map hyphen P and this time I'm going to scan port number 21, 22, eight zero comma four,
four three.
You can specify or scan as many ports as you like.
Just separate the port numbers with a comma.
And obviously this time and map is going to scan all the specified ports.
Let me hit enter.
As you can see, scan is complete and map scanned all the ports that we specified here.
Right.
Now, we can also specify range or multiple ranges as well with hyphen p flag.
So and a map hyphen p.
Now specify a range.
I'm going to scan from one to hyphen 21, press enter.
So this scan is going to scan ports from 1 to 21, as you can see.
And the map has scanned all the ports from 1 to 21.
And now let's specify multiple ranges, hyphen P, let's say from 11 to 21.
Now comma, specify the second range.
Second range is going to be from 70280 this time and map is going to scan from 12 to 21, then it will
scan from 70 to 80.
So let me hit enter.
I think it did not scan the second range, close the space between comma and second range.
Now press enter.
As you can see, I used this time it has scanned both the ranges from 11 to 21 and from 70 280.
In this way, you can provide as many ranges as you like.
Now let's scan the target network with service name or names.
So and map P.
Now, instead of writing both numbers like eight zero or 21, we can directly write the service that
the port runs.
So 21 port is for FTP.
So instead of writing 21, I can directly write FTP, then provide the IP address.
Now it has scanned the FTP and in the same way we can scan multiple services ftp, comma, search,
comma.
Let's say my cycle then htp s and now this time and map is going to scan all the provided port numbers
or services.
So let me hit enter as you can see, and a map scanned the provided ports or services, right.