NMAP

Course
Time
6 hours 31 minutes
Difficulty
Beginner
CEU/CPE
7

Video Transcription

00:00
welcome to the lesson on getting help in and map,
00:03
even though, and map is fairly easy to use. An intuitive everyone needs a way to look for help once in a while. This is true for beginners and experienced users.
00:12
This lesson will teach you where to look for help both on the Web and straight from the command line.
00:18
Let's get started.
00:20
Here are the learning objectives for this lesson.
00:23
First, we're gonna talk about command line options for help.
00:26
I'll also go over these later in the lab so you can see what they actually look like from a computer.
00:32
Second, I'll go over some key pages of the end map website and provide you with the links. You might want a bookmark.
00:39
Next. We'll talk about ways you can get in touch and stay in touch with the end map team and its community.
00:45
Finally, we'll go through a quick lab. It'll focus mostly on executing command line options for help in whatever operating system you'll be using to run and map.
00:55
There are several key command line options for helping and map
00:58
the first group of these help options.
01:00
We'll work on all operating systems
01:03
The second group will only work on Lenox UNIX based systems, including the Mac OS. With the exception of the Man Zen Map Command,
01:11
let's briefly run through what each of these commands does.
01:15
We'll go over each of them in the lab, but I thought that talking about what they do in general terms may be helpful, too.
01:22
First, you should keep in mind that end map command line options are case sensitive For some of you, this might take a little time to get used to
01:30
and map Dash Capital V provides and Matt Version information. This is helpful for comparison purposes.
01:37
When you run it, you'll also see the platform you're running on and how it was compiled.
01:42
Running an end map scan with a lower case be does something completely different, but we'll get to that later.
01:49
Typing the command and map than hitting enter will provide you with exact same results. Is executing and map dash lower Case H and hitting enter.
01:59
Both of these commands are extremely valuable and reminding you of all the simple scan options you have available to you,
02:05
and they provide you with some good examples and sample scans.
02:09
The third Command and map,
02:12
dash, dash script Dash help,
02:14
Space Script name.
02:15
We'll give you details about what any of the iMac scripting engine scripts does.
02:22
The amount of detail provided is completely up to the author of the script, which in many cases is not one of them. App developers.
02:29
If you're using Linux or UNIX based systems,
02:32
I'm sure you're familiar with a man command, which has been around for a really long time.
02:37
Typing man space and map will provide you with a manual of N map.
02:42
The interface for man is somewhat similar to V I, but actually is pretty easy to navigate once you memorize a few fundamentals keystrokes.
02:51
Similarly, man spaces and Map gives you a manual of Zen map.
02:55
That command will work in most Lennox and UNIX distributions but doesn't currently work in the Mac OS.
03:01
The amount of detail and level of granularity in the manual is much better using man than the standard and map Dash H Command.
03:12
But again, I'll show you this in the lab
03:15
on this slide. I've listed some important destinations on the end map website itself,
03:20
and Map Docks is a launching page for everything having to do with and map documentation.
03:24
The reference guide is one part of the End map online book, but is focused on scan types and how to execute them.
03:31
This is probably the most important page you should bookmark for a quick but detailed description of scan options.
03:38
His end map. Gooey help. Paige gives you a good reference on Zen map.
03:42
We'll go over Zen map in this course, but there are some really cool details and configuration options found here.
03:47
Next is the Earl directly to the online book.
03:52
This book is the most authoritative and comprehensive insight and how and map works when and why you use it and what its limitations are.
04:00
These limitations are usually by design and as a matter of scope.
04:04
So where limitations exist, other products are recommended.
04:09
The last bullet point here is the location of where to subscribe to the end Map Packers email thread.
04:15
There are other discussion boards, too, but I really like the end my Packers group because of how few emails you receive and how valuable the information is.
04:25
Here are some social media locations and conferences that will provide you with other great information about N map.
04:30
With the Facebook and Twitter feeds, you can feel a part of the end map team, learn about the organization and see what they're up to.
04:38
You know all the things you'd expect from Facebook and Twitter.
04:42
At use Nick's def Con
04:44
and black hat conferences. You can possibly meet one of the unmapped team members, maybe Theodore himself, and see the multitude of ways that end Map is used by hackers, especially the advanced stuff.
04:55
Also, with use Nick's, you can even see, read and hear academics lecturing on ways in which and map is advancing the cybersecurity world and really intelligent ways.
05:05
So let's do the lab.
05:08
I don't wanna go overboard with this lab, but it's really important to know simple ways that you can look for help quickly when you're in the middle of various scans.
05:15
So I will focus on the command line. Options from various operating systems is shown in Slide three.
05:21
Then we'll move on to locating and subscribing to the end Map Packers group.
05:26
Subscribing is easy, but where you subscribe is currently in a somewhat unusual place, at least in my opinion,
05:32
so I'll click to it and show you.
05:34
Let's do it.
05:36
Okay. Welcome to the lab on getting help in and map.
05:42
I'm in Cali, Lennox right now. And the reason why is because all of the commands that I showed you in the earlier slide will work in Cali.
05:49
So first I want to open up a terminal.
05:54
I want to show you how to get version information for and map. Just type in map Dash Capital V.
06:01
Here, you can see what and Matt version were running what platformer on and how it's compiled.
06:12
The next command I want to show you is and map
06:15
dash, lower case h. Remember that. And map is case sensitive.
06:21
So and map dash, lower case H is basically the help for an map. It shows you all the details about scan types and target specifications,
06:33
host discovery scan techniques and so forth. It's just like help on any other command line command.
06:42
I also want to show you that simply typing
06:45
the in map command without the lower case H command lines, which will give you the same exact output.
06:59
All right,
07:00
the next command I want to show you is getting help for NSC and map scripting engine scripts.
07:08
So you type in map,
07:10
dash, dash, script,
07:12
help
07:13
space, and then
07:15
your script name?
07:16
I'm putting these in. Ah, you know, between brackets. Because that's not exactly what you're gonna type. You're actually gonna type the name of the script,
07:25
but
07:26
we gotta find out a script that we want to get help for. So I'm gonna do a locate
07:30
star dot and s e.
07:34
And this is a list of all the end map scripting engine scripts.
07:39
So what we're gonna do is get help on one of these scripts. I'll do the Who is domain script.
07:46
It's our
07:47
select it right click copy.
07:51
I'll clear the screen again.
07:55
So the command again is and map,
07:58
dash, dash, script,
08:00
dash, help
08:03
space. And then I'll just paste
08:05
that script name
08:09
and then hit. Enter
08:13
here. You can see that
08:16
what this script who is dash domain does is attempts to retrieve information about the domain of the target.
08:24
So any script that you want help on, just type that command, and it'll give you the author's details about
08:31
what it does and what it's for and any additional details that you need
08:39
Okay, So clear this again.
08:41
The following two commands will really only work in Lenox and UNIX based systems, including Mac.
08:50
With the exception of the 2nd 1 which doesn't work in the Mac
08:54
anyway, just type
08:56
man space
08:58
and map.
09:01
This brings up the manual for N map.
09:03
The main thing I wanted to show you here, if you're not familiar with it, is if you hit a tch,
09:11
it gives you a list of all the things that you can d'oh inside of the man. Paige,
09:16
Um, the main things that I want to focus on our,
09:20
uh,
09:22
h displays help
09:24
que exits out of whatever screen you're in.
09:28
F goes forward one window
09:31
and B goes backward one window.
09:35
So I'm gonna hit
09:37
cute exit out of here.
09:39
Now if I get that
09:41
f g,
09:45
it forwards through the entire man. Paige,
09:48
you can see there's a lot of detail here,
09:52
very valuable,
09:52
but it be
09:54
goes back one page
09:56
at a time.
09:58
And then if I hit the up and down arrows, that also works for going one line at a time. So I'll hit down Nero
10:05
in up Arrow.
10:09
And then, like I said before, once you're ready to get out of there. Just hit. Q.
10:13
So now I'll run out,
10:16
man. Zen map.
10:18
This brings up the manual for Zen map in the same things. Apply to this
10:24
someone hit
10:26
F To go forward one page and be to go back one page Zen map man pages pretty small and pretty limited, but it's still valuable,
10:37
all right, so we'll hit a cue to get out of there, and that is the end of this lab.
10:43
In this lesson, we discussed various options for getting help with and map.
10:48
This course is a great first step, and I hope to arm you with the skills you need to easily construct useful and map scans according to your purpose is, but everyone needs a reference once in a while, especially if you're either new to end map or just don't use it every day.
11:03
Thanks so much for walking through this lesson with me, and I'll talk to you in the next lesson.

Up Next

NMAP

The network mapper (NMAP) is one of the highest quality and powerful free network utilities in the cybersecurity professional's arsenal.

Instructed By

Instructor Profile Image
Rob Thurston
CIO at Integrated Machinery Solutions
Instructor