WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.400
Hello everyone. So we saw.

1
00:00:08.100 --> 00:00:11.500
How can we save nmap output into different file

2
00:00:11.500 --> 00:00:14.200
 formats. We also saw how can we

3
00:00:14.200 --> 00:00:18.000
 convert those file formats into HTML format for

4
00:00:17.400 --> 00:00:20.200
 better readability. We also

5
00:00:20.200 --> 00:00:23.300
 saw how can we convert that particular format to

6
00:00:23.300 --> 00:00:25.400
 CSV for our Recon purposes?

7
00:00:26.400 --> 00:00:29.800
But in this video we are going to see that how

8
00:00:29.800 --> 00:00:33.000
 can you save all the types of output through

9
00:00:32.300 --> 00:00:34.000
 one command?

10
00:00:35.300 --> 00:00:38.600
For that we are going to run this particular syntax, which

11
00:00:38.600 --> 00:00:42.400
 is nmap the target IP address hyphen. OA

12
00:00:41.600 --> 00:00:44.100
 - OA stands for

13
00:00:44.100 --> 00:00:47.400
 output in all formats with a file name that

14
00:00:47.400 --> 00:00:47.800
 you want to give.

15
00:00:49.500 --> 00:00:52.300
So you can scan a Target by simply giving an

16
00:00:52.300 --> 00:00:55.500
 IP address and specify The Hyphen OA flight which

17
00:00:55.500 --> 00:00:58.400
 is used for saving all types of output to a

18
00:00:58.400 --> 00:00:59.200
 file for later use.

19
00:00:59.900 --> 00:01:03.000
You can always add hyphen V to see the output inverse

20
00:01:02.300 --> 00:01:05.400
 mode the example of doing this scan is

21
00:01:05.400 --> 00:01:08.900
 nmap the target IP hyphen, OA followed

22
00:01:08.900 --> 00:01:10.400
 by the file name that you want to give.

23
00:01:11.600 --> 00:01:14.400
So it will create all file formats with the

24
00:01:14.400 --> 00:01:17.100
 base name as all outputs file. You can

25
00:01:17.100 --> 00:01:20.600
 choose any name that you want. I have chosen the name which is all

26
00:01:20.600 --> 00:01:21.700
 output file.

27
00:01:22.900 --> 00:01:25.600
So, let's see this how can you perform this type

28
00:01:25.600 --> 00:01:28.600
 of scam as you can see on my terminal first. I'm

29
00:01:28.600 --> 00:01:31.900
 going to type the command that is mkdir all

30
00:01:31.900 --> 00:01:34.300
 first time making a folder and I'm going

31
00:01:34.300 --> 00:01:38.000
 to make all the files into the specific folder. I

32
00:01:37.100 --> 00:01:40.600
 will quickly navigate inside that folder and now

33
00:01:42.900 --> 00:01:44.700
I'm going to run this particular scan.

34
00:01:45.900 --> 00:01:48.000
So nmap my target IP address.

35
00:01:49.300 --> 00:01:50.300
Let's say I want to scan.

36
00:01:51.400 --> 00:01:54.100
First 200 ports hyphen V to see

37
00:01:54.100 --> 00:01:57.300
 the output in verbose hyphen, OA to save

38
00:01:57.300 --> 00:01:58.300
 all the outputs.

39
00:01:59.100 --> 00:02:02.300
Of all the major formats and the file name I

40
00:02:02.300 --> 00:02:05.100
 have given is all files base as you can

41
00:02:05.100 --> 00:02:08.800
 see the scan is completed successfully and I have identified there

42
00:02:08.800 --> 00:02:09.900
 are three open ports.

43
00:02:10.800 --> 00:02:13.700
If I do a LS, you can see the output has

44
00:02:13.700 --> 00:02:16.700
 been saved into these file formats.

45
00:02:17.800 --> 00:02:20.600
The first is all file based dot

46
00:02:20.600 --> 00:02:24.000
 gnmap, which is the grepable format all filebase

47
00:02:23.400 --> 00:02:26.500
 Dot and map which is the normal format. And

48
00:02:26.500 --> 00:02:29.500
 the last one is all files based or XML, which

49
00:02:29.500 --> 00:02:31.000
 is the XML format.

50
00:02:32.900 --> 00:02:35.500
Let's try to read the first one which is

51
00:02:35.500 --> 00:02:38.700
 the grepable format. As you can see we can easily grip

52
00:02:38.700 --> 00:02:42.300
 whatever we want from this specific file. The

53
00:02:41.300 --> 00:02:43.900
 next is the normal output.

54
00:02:46.300 --> 00:02:47.800
Which looks something like this?

55
00:02:49.100 --> 00:02:52.200
And the last one is the XML output so you

56
00:02:52.200 --> 00:02:53.100
 can just read it.

57
00:02:54.100 --> 00:02:57.600
And you will be able to see this file saves the output in

58
00:02:57.600 --> 00:02:58.800
 XML format.

59
00:03:00.300 --> 00:03:04.100
I hope you guys understood this how you can convert the

60
00:03:03.100 --> 00:03:07.300
 output in all the major formats. Thank

61
00:03:06.300 --> 00:03:07.500
 you.
