6 hours 31 minutes
Welcome to the beginning of module four of our end map course.
In this lesson, I'll be going through Target specifications in and Map
Essentially will be talking about many different ways to tell n map. What hosts and or networks to scan
in the next lesson will walk through the lab.
Thanks for walking through this with me.
In this lesson, we're gonna focus on and maps target specifications.
First, we'll do a review of targets that I've already shown you. Next, I'll provide you with some additional options, and finally, we'll go through a lab.
Let's get started.
So what is a target? And then map? While the target is basically the host or hosts that you are running, the end map scan against
this could be in the form of an I. P V four address I. P v six address,
fully qualified domain name or entire networks using ranges, lists or cider notation.
Where should you put the target? In the end, My command
Well, this is entirely up to you. But as I said before, I think you should pick a spot and stick to it.
This will help with learning and will allow you to get fast and efficient with your own map scans.
I found that putting the target closer to the end is helpful because if you make a mistake in your scan statement or simply want to run the same command again with a different target,
you can hit Thea Perro and easily get back to the target and change it.
Okay, let's go through a quick review of the common target specifications.
These are all the ones we cover briefly. In a previous lesson, I put examples out to the right.
The first is in Mount Space Single I P address.
The second is unmapped space and I p address range.
The third is unmapped space I P. Address slash the number of bits that define the network otherwise known as cider notation.
The fourth is unmapped space domain name, insider rotation.
We'll go through these again in the lab.
Now let's talk about some other targets specifications available to you while using n map.
Some of these can come in really, really handy.
The 1st 1 is unmapped space. I p address one space I p address, too, and so forth
noticed that there is a space between H I p address, but no comma.
You also should note that the target does not have to be an I P address. It could also be a host name or fully qualified domain name.
The point is that you can scan separate targets using this command simply by putting a space between the targets.
The 2nd 1 is unmapped space dash I capital L followed by the name of the file that has a list of the targets you wish to scan.
This is really helpful when you have a big list of I P addresses, host names or fully qualified domain names that you want to scan without having to type each of men.
This could come in handy when you're scanning all critical devices inside and outside your company's network perimeter, for example.
The 3rd 1 is actually really interesting.
That is unmapped space. Dash I capital are followed by the number of targets
this scan allows and map to randomly determine I P addresses of hosts to scan outside the perimeter of your network.
I'm not gonna run this one in the lab because it would go against what we talked about in our ethics and legalities. lesson, but I'm sure it would do little harm if you create a polite in very specific scan from your home.
In other words, don't do it at work or at school.
The 4th 1 is in map space. Target or targets space dash, dash, exclude space I. P's or host names to exclude.
Basically, this tells and map to scan all of the hosts your specified you specified, except for the ones in your exclusion statement.
Similarly, the 5th 1 is an map. Space targets space
dash, dash exclude file
space, the name of the file that contains excluded I P addresses or her host names.
If you want more information about target specifications, you can use help.
Take a look at the map man page from the command line, or take a look at the reference Earl on this slide.
The network mapper (NMAP) is one of the highest quality and powerful free network utilities in the cybersecurity professional's arsenal.