Hello everyone. So
in this video we are going to see the nmap
top port scan.
The syntax of doing this scan is nmap the
target IP address.
and hyphen hyphen top hyphen
ports and n
where n stands for the number
of top ports you want to identify using
nmap?
So you can scan a Target top port numbers
using hyphen hyphen top hyphen port.
Command. Okay, you have to add an
where n stands for
the number of ports that you want to see.
For example, if you want to scan 10 ports, you
will type 10 instead of N and nmap
will automatically start scanning for top
10 TCP and UDP
ports. You can always add hyphen V to see the output
inverse mode as you can see the example
which is given which is nmap the IP address hyphen
top hyphen ports and the number of ports
that you want to scam. So let's see
the practiced. So as you can see
On the terminal I'm going to type the command which is
nmap the target IP address.
Followed by hyphen hyphen top hyphen ports and
let's say I want to see top 10 ports
followed by hyphen V which is
to see the output in verbose mode.
As you can see I have got the output over here. And
if we count then we have exactly
seen the status of top 10 ports.
So first is 21 second is 22
23.
Then 25 fourth. This is fifth
sixth seventh eight ninth and
10th. So this way you can see the top
ports that you want to scan. So let's say instead
of 10 this time. We make it to 5.
So you can see we saw the output for the
top five ports.
in the similar manner if you make it to top
20 and I just type hyphen
hyphen open then I will be able to see
the top 20 ports, but I have tuned this
can so only to see
the open ports by typing hyphen hyphen
open. So I'm only able to see the open ports out
of 20 and they are only four as you
can see onto the screen.
So I hope you guys understood how you can perform this
type of scan. Thank you.