7 hours 1 minute
Okay, so now that we looked at different target types, let's look at different output types.
So the first time I think I'm gonna do is I'm gonna create a directory called Results in the root of C.
Clear the screen.
All right. So we'll do a M D space
now do a D i r.
Results start out just to make sure it's their case. So the results folder is there
now. We'll do a CD
Now we're in the results folder. Clear the screen again.
So I just want to show you quickly where in the end map help, you can find the different output types and Mt. Dash h
and I'm gonna scroll up,
and there you can see output.
And here are the main types right here at the top.
We'll go over some of these other options to in a later lab,
so you can see you can scan. You can output a scan to normal XML script, kiddie and
or you can
output to all
formats at the same time. Actually, doesn't do all of them. It doesn't do the script kiddie version.
It doesn't do the script kiddie output type,
so we will clear the screen again.
We'll start by doing and
scan toe 1 92 that 1 68 that one dot to 54
Just a default and maps scan,
and we will output it
to normal and map file type.
We'll call it
results one dot n map
Okay, so now I'll do a d i r
in the results folder.
there you see the results one dot n map file.
You want to view the output quickly.
You can type
note pad space
results one dot and map will bring up a note pad document with the results of that scan. And
since it's the default output type,
what is here will be exactly what showed up on the screen when you did The end Maps can
so just close out of this,
clear the screen.
Now I'll do and
Dash Oh, Capital o
scan me dot and matt dot Borg.
We'll do it. Oh, capital A
oh, Capital A will output to the three main file types,
which is the
default and map file type
the graspable format noticed that I didn't put a file extension in the reason why is Because and Matt will do that for you.
So hit Enter
the Dash O is an operating system detection scan.
Okay, so we got our results. I'll clear the screen
now. I'll do another D i r.
And you can see that and map out. Put it to
regrettable and mount format,
the Regular and Matt Format and XML, and you can see that the XML file is the largest.
Okay, so the next thing I want to cover waas
just the fact that you can put options
or scan types
a target and the output in different locations in the command line in all of them will work the exact same.
So we'll do it and map.
I'll clear the screen
so we'll do an end map.
results three dot unmapped space
1 92.1 68.1 dot 254 And then we'll put this time will put our skin option for the operating system detection
at the very end,
instead of at the beginning.
clear the screen, do a D I R. And there you can see your results three dot in mt.
Now we'll do an end map Dash Capital O.
And this time I'll put the
scan option at the beginning
and then I'll put the target and then I'll put the results
and hit Enter.
I really like doing it this way because
just like any
Windows command line tool, you can
hit up arrow and you can easily get to the
output type and the output file. And you can easily get to the target
because they're at the very end of the command line.
Because a lot of the time you'll have a lot of options besides just dash capital. Oh, we have a lot of your different options
at the beginning.
And if he had the, uh, pero, it's very easy to just simply change your target and change your results.
And there's the scan.
Do it, D I R. And there you can see the scan results for result five for that last scan.
So again, the point waas that
in this last scan we ran,
and the target are at the end
rather than at the beginning,
and I hope you agree with me that it's easier. And if you don't yet, you will later. Once we start doing
more complex scans,
Okay, so now I just want to cover too
other things. And that is
how much detail is in the results of your scan. And you can control that somewhat by using Dash V or Dash V V
and the V stands for verbosity.
So your screen
and we'll do it and map
then hit Enter
and you can already see that. That's a lot more detail than the last time that we ran that scan.
I'll do a D i. R.
we can basically compare
well right now. Well, look, way have results. Six that end map.
what I could do is
also run that again.
We'll do. We'll call it Results five,
and then we'll take away the verbosity on that. Scan
I'll do another D I. R.
And really what I want to show you here is if you look at
that last scan I did, it was only 100 38 bites.
Whereas when I use the Dash V command line switch,
it's 1000 45 bites.
So let's do. One more scan will do and map
capital O Dash V V
and again you'll see a lot more stuff going on
A lot more details there.
So I will do a D i R.
And so now we we can compare the three files one with no verbosity,
one with a dash V and then one with
dash V V, and you can see that there's a lot more detail. If you want to open him up in no pad or whatever text editor you like,
um, you'll be able to compare the difference between the three.
Okay, so we'll end it there. Thanks so much for going through this lab on constructing basic and maps cans with me.
Offensive Penetration Testing
As a pentester, you need to understand the methods of real-life attackers and use the ...
22 CEU/CPE Hours Available
Certificate of Completion Offered
Scanning and Mapping Networks
Students will use Zenmap to scan a network segment in order to create an updated ...