Hello everyone. So in
this video we are going to see how can you save
the output into a XML
format of nmap.
So the syntax of doing this is nmap the
target IP address hyphen o
capital x which stands for
output in XML format and
the file name that you want to give. So when you perform this
particular scan the output of
nmap will be saved into a XML file
format into your computer.
You can always add hyphen V to see the output in
verbose mode.
So, let's see this how can you perform this practically?
So as you can see on the terminal I'm going to type the
command which is nmap the target IP address
hyphen o x
which stands for output in XML format and the
file name that you want to give so let me
choose the file name as and map XML output dot
XML.
Let me also add hyphen P hyphen
to scan all the ports.
Let's add hyphen V also to see the output what is happening
on the screen as you can see, this is
the output. Let's verify that if XML
file has been created or not as we
can. See over here XL file has been successfully created.
Now, let's try to read this file using the cat
command.
So when I read this file, you can see over here
that we are able to see the output
in XML format as you can
see over here XML version. So this
is the output in XML format.
As you can see this is the pink scan which is
initiated and for this particular IP address.
This is the status of the ports as you can
see open open 22 80
1 1 9 8 7 6 9 9
9.
So this was the output in XML format?
In the next videos, we are going to see how you
can save XML file formats to other
file formats. That will be easy to understand
and to read
Thank you.