WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.300 --> 00:00:06.800
Hello, everyone.

1
00:00:08.100 --> 00:00:11.100
So in this video we are going to see how can you

2
00:00:11.100 --> 00:00:14.600
 scan Target from a text file. So basically

3
00:00:14.600 --> 00:00:17.000
 if you have a large number of

4
00:00:17.800 --> 00:00:20.700
 targets or a large number of host to scan

5
00:00:20.700 --> 00:00:23.800
 you basically cannot type each host

6
00:00:23.800 --> 00:00:26.700
 onto your terminal. So for that you can

7
00:00:26.700 --> 00:00:29.500
 take all the host into a text file

8
00:00:29.500 --> 00:00:32.800
 and you can give that text file to

9
00:00:32.800 --> 00:00:34.100
 nmap for scanning.

10
00:00:35.100 --> 00:00:38.900
The Syntax for doing so is nmap hyphen

11
00:00:38.900 --> 00:00:41.400
 i l which stands for input list

12
00:00:41.400 --> 00:00:44.500
 and the list that you want to submit for scanning.

13
00:00:46.800 --> 00:00:49.600
You can always add The Hyphen V

14
00:00:49.600 --> 00:00:52.300
 flag, which can be used for scanning.

15
00:00:57.100 --> 00:00:58.000
So, let's see the practical.

16
00:01:02.900 --> 00:01:05.500
So here first, I'm going to make a list

17
00:01:05.500 --> 00:01:08.700
 using Nano command. So I'm going to type Nano.

18
00:01:09.300 --> 00:01:13.200
Scan me list dot txt. Remember

19
00:01:12.200 --> 00:01:15.300
 and Nano is the command to create

20
00:01:15.300 --> 00:01:18.600
 files in Linux systems. We can all so create

21
00:01:18.600 --> 00:01:21.800
 a file in Windows by just

22
00:01:21.800 --> 00:01:23.100
 opening a new Notepad.

23
00:01:26.600 --> 00:01:29.200
So after I came inside this file, I'm going to

24
00:01:29.200 --> 00:01:32.400
 give some of the targets that I would scan from this list.

25
00:01:33.300 --> 00:01:36.100
So I'll give the first IP as my router's IP address.

26
00:01:36.100 --> 00:01:39.400
 I will give the second IP address as this target

27
00:01:39.400 --> 00:01:39.600
 machine.

28
00:01:40.800 --> 00:01:43.300
Next let's give a host name. That is

29
00:01:43.300 --> 00:01:43.800
 google.com.

30
00:01:46.200 --> 00:01:49.200
Let's give one more host name scanme Dot and map Dot.

31
00:01:50.000 --> 00:01:50.600
org

32
00:01:56.400 --> 00:01:59.200
Let's save this file after saving this file.

33
00:02:00.200 --> 00:02:02.600
Let's see. The file is saved or not. Yes. It is saved.

34
00:02:04.800 --> 00:02:07.700
Let's start our scan by typing and map

35
00:02:07.700 --> 00:02:11.000
 hyphen IL the list and then

36
00:02:10.500 --> 00:02:12.800
 let's say I will scan.

37
00:02:13.600 --> 00:02:16.400
Specific Port so I will give hyphen p

38
00:02:16.400 --> 00:02:20.100
 22 comma 25 comma 28

39
00:02:19.100 --> 00:02:22.200
 comma 443 so I just

40
00:02:22.200 --> 00:02:25.800
 want to scan this 4 ports and I'm going to see the output in verbose

41
00:02:25.800 --> 00:02:25.900
 mode.

42
00:02:28.900 --> 00:02:30.500
As you can see, this is the output.

43
00:02:32.000 --> 00:02:32.200
for

44
00:02:34.700 --> 00:02:38.000
Google.com this is the output for the Target machine. This

45
00:02:37.100 --> 00:02:40.600
 is the output for the router.

46
00:02:49.500 --> 00:02:52.400
As you can see for scanmeet or nmap.org it

47
00:02:52.400 --> 00:02:55.300
 is saying we host down maybe the website is

48
00:02:55.300 --> 00:02:57.500
 down or it is blocked.

49
00:02:58.600 --> 00:03:03.200
That's why I was not able to get the output for scanmy.nem.org.

50
00:03:01.200 --> 00:03:04.700
 No issues. I

51
00:03:04.700 --> 00:03:07.000
 can read in the command after some time and I will be able to

52
00:03:07.300 --> 00:03:09.900
 see the output from this host also.

53
00:03:10.800 --> 00:03:13.500
So I hope you guys understood how you can scan

54
00:03:13.500 --> 00:03:16.200
 a list of large number of

55
00:03:16.200 --> 00:03:19.500
 host by nmap using the IL flag.

56
00:03:20.500 --> 00:03:20.800
Thank you.
