WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.300
Hello everyone. So in

1
00:00:07.300 --> 00:00:10.800
 this video we are going to see how can you save

2
00:00:10.800 --> 00:00:13.800
 the output into a XML

3
00:00:13.800 --> 00:00:15.300
 format of nmap.

4
00:00:15.800 --> 00:00:19.200
So the syntax of doing this is nmap the

5
00:00:18.200 --> 00:00:21.900
 target IP address hyphen o

6
00:00:21.900 --> 00:00:24.300
 capital x which stands for

7
00:00:24.300 --> 00:00:27.500
 output in XML format and

8
00:00:27.500 --> 00:00:30.600
 the file name that you want to give. So when you perform this

9
00:00:30.600 --> 00:00:33.300
 particular scan the output of

10
00:00:33.300 --> 00:00:36.400
 nmap will be saved into a XML file

11
00:00:36.400 --> 00:00:38.100
 format into your computer.

12
00:00:39.500 --> 00:00:42.600
You can always add hyphen V to see the output in

13
00:00:42.600 --> 00:00:43.800
 verbose mode.

14
00:00:45.200 --> 00:00:48.200
So, let's see this how can you perform this practically?

15
00:00:57.600 --> 00:01:00.400
So as you can see on the terminal I'm going to type the

16
00:01:00.400 --> 00:01:03.400
 command which is nmap the target IP address

17
00:01:03.400 --> 00:01:05.300
 hyphen o x

18
00:01:06.100 --> 00:01:09.500
which stands for output in XML format and the

19
00:01:09.500 --> 00:01:12.500
 file name that you want to give so let me

20
00:01:12.500 --> 00:01:15.500
 choose the file name as and map XML output dot

21
00:01:15.500 --> 00:01:16.400
 XML.

22
00:01:18.700 --> 00:01:21.400
Let me also add hyphen P hyphen

23
00:01:21.400 --> 00:01:22.800
 to scan all the ports.

24
00:01:26.100 --> 00:01:29.400
Let's add hyphen V also to see the output what is happening

25
00:01:29.400 --> 00:01:32.200
 on the screen as you can see, this is

26
00:01:32.200 --> 00:01:36.000
 the output. Let's verify that if XML

27
00:01:35.200 --> 00:01:38.300
 file has been created or not as we

28
00:01:38.300 --> 00:01:41.700
 can. See over here XL file has been successfully created.

29
00:01:43.200 --> 00:01:46.500
Now, let's try to read this file using the cat

30
00:01:46.500 --> 00:01:46.800
 command.

31
00:01:47.700 --> 00:01:50.600
So when I read this file, you can see over here

32
00:01:50.600 --> 00:01:53.400
 that we are able to see the output

33
00:01:53.400 --> 00:01:56.100
 in XML format as you can

34
00:01:56.100 --> 00:01:59.400
 see over here XML version. So this

35
00:01:59.400 --> 00:02:01.600
 is the output in XML format.

36
00:02:02.500 --> 00:02:05.000
As you can see this is the pink scan which is

37
00:02:05.800 --> 00:02:08.200
 initiated and for this particular IP address.

38
00:02:09.200 --> 00:02:12.000
This is the status of the ports as you can

39
00:02:12.600 --> 00:02:16.100
 see open open 22 80

40
00:02:15.100 --> 00:02:18.600
 1 1 9 8 7 6 9 9

41
00:02:18.600 --> 00:02:18.900
 9.

42
00:02:20.200 --> 00:02:22.700
So this was the output in XML format?

43
00:02:23.800 --> 00:02:26.500
In the next videos, we are going to see how you

44
00:02:26.500 --> 00:02:29.600
 can save XML file formats to other

45
00:02:29.600 --> 00:02:33.000
 file formats. That will be easy to understand

46
00:02:32.500 --> 00:02:34.100
 and to read

47
00:02:34.600 --> 00:02:35.000
Thank you.
