WEBVTT - This file was automatically generated by VIMEO

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

1
00:00:07.800 --> 00:00:10.500
 this video we are going to see how we

2
00:00:10.500 --> 00:00:13.800
 can scan a range of IP addresses using

3
00:00:13.800 --> 00:00:14.600
 and map.

4
00:00:15.300 --> 00:00:19.300
This type of scan is usually helpful in identifying

5
00:00:18.300 --> 00:00:21.200
 the number of hosts which are

6
00:00:21.200 --> 00:00:22.600
 present into your network.

7
00:00:23.800 --> 00:00:26.800
So the syntax of doing this scan is nmap.

8
00:00:26.800 --> 00:00:29.300
 And then the IP address range that you

9
00:00:29.300 --> 00:00:29.900
 want to give.

10
00:00:30.600 --> 00:00:33.400
You can scan Target by simply typing the IP

11
00:00:33.400 --> 00:00:36.200
 address and range specification like this

12
00:00:36.200 --> 00:00:41.500
 that is 192.168.43.213 hyphen

13
00:00:40.500 --> 00:00:43.300
 250, which means that you

14
00:00:43.300 --> 00:00:46.500
 want to scan the IP address from 213 till

15
00:00:46.500 --> 00:00:49.100
 250 and then map will start

16
00:00:49.100 --> 00:00:51.600
 scanning for the default 1000 ports.

17
00:00:52.300 --> 00:00:55.200
You can always use a hyphen V flag to see the

18
00:00:55.200 --> 00:00:56.800
 output in verbose mode.

19
00:01:04.300 --> 00:01:07.500
You can also scan a subnet using nmap by

20
00:01:07.500 --> 00:01:11.500
 the syntax nmap IP address slash 24

21
00:01:10.500 --> 00:01:13.400
 and and map

22
00:01:13.400 --> 00:01:16.600
 will start scanning the subnet Network and

23
00:01:16.600 --> 00:01:19.500
 it will give you which all host are up

24
00:01:19.500 --> 00:01:21.100
 into that specific Network.

25
00:01:30.500 --> 00:01:33.800
So, let's see the Practical in this I'm going

26
00:01:33.800 --> 00:01:37.000
 to type the command which is nmap 192 168

27
00:01:36.200 --> 00:01:39.500
 43.1 which is the first IP address,

28
00:01:39.500 --> 00:01:42.200
 which is my router's IP and I want to

29
00:01:42.200 --> 00:01:45.500
 scan till the IP there is 215 and I'm

30
00:01:45.500 --> 00:01:47.600
 going to see the output in verbose mode.

31
00:01:48.600 --> 00:01:51.400
So as you can see scanning has started of

32
00:01:51.400 --> 00:01:54.600
 215 host because I have

33
00:01:54.600 --> 00:01:57.200
 given the range of 215 hosts from

34
00:01:57.200 --> 00:01:59.700
 first to 215 the last one.

35
00:02:11.600 --> 00:02:14.400
If you want to see the progress, just press any key

36
00:02:14.400 --> 00:02:17.900
 and you will be able to see that's when you 2.09

37
00:02:17.900 --> 00:02:20.400
 percent done estimated time completion this

38
00:02:20.400 --> 00:02:22.600
 much and one minute seven seconds remaining.

39
00:02:23.400 --> 00:02:26.400
Perfect. So as you can see I'm able to see here that

40
00:02:27.500 --> 00:02:30.100
Nmap, has given the output and it has

41
00:02:30.100 --> 00:02:33.600
 identified that three hosts are up into

42
00:02:33.600 --> 00:02:35.900
 the range that I have given to scan.

43
00:02:38.200 --> 00:02:42.000
So, let's see which are there. This is the IP address. We use

44
00:02:41.100 --> 00:02:44.500
 this machine as our Target IP address and this

45
00:02:44.500 --> 00:02:45.400
 machine is up.

46
00:02:48.300 --> 00:02:52.000
This is our machine through which we are running and map. This is

47
00:02:51.400 --> 00:02:53.000
 my machine.

48
00:02:56.200 --> 00:02:59.500
And let's see which is the third host that we got which

49
00:02:59.500 --> 00:03:02.400
 was up and the third host is the router

50
00:03:02.400 --> 00:03:04.000
 itself as you can see.

51
00:03:05.700 --> 00:03:07.700
the first IP of the router

52
00:03:08.500 --> 00:03:12.200
so we have identified that there are three total hosts

53
00:03:11.200 --> 00:03:15.700
 in the range that we have given now, let's

54
00:03:14.700 --> 00:03:17.800
 try to scan the subnet.

55
00:03:18.800 --> 00:03:21.600
So I'm giving / 24

56
00:03:21.600 --> 00:03:25.000
 to scan the whole subnet and

57
00:03:24.400 --> 00:03:27.600
 going to see the output in verbose mode.

58
00:03:28.200 --> 00:03:31.600
As you can see in my Subnet there are total three host

59
00:03:31.600 --> 00:03:35.000
 of okay. I have not connected many devices

60
00:03:34.500 --> 00:03:37.800
 if there were more devices connected into my

61
00:03:37.800 --> 00:03:40.400
 network. Then you would be able to see all those devices

62
00:03:40.400 --> 00:03:43.400
 listed over here. If you're in this scan into

63
00:03:43.400 --> 00:03:46.200
 your network of organization, you will be able

64
00:03:46.200 --> 00:03:47.500
 to see a lot of devices.

65
00:03:48.400 --> 00:03:51.400
Or else when you will run the scan to your home

66
00:03:51.400 --> 00:03:54.200
 network, you will be able to see all the devices which are

67
00:03:54.200 --> 00:03:57.300
 connected to your router or the home network like your

68
00:03:57.300 --> 00:03:59.600
 mobile phone your printer Etc.

69
00:04:02.900 --> 00:04:05.700
These are again the same host which

70
00:04:05.700 --> 00:04:08.400
 are connected the router this machine

71
00:04:08.400 --> 00:04:10.200
 and the target machine.

72
00:04:14.400 --> 00:04:17.400
So I hope you guys understood that how you can

73
00:04:17.400 --> 00:04:20.700
 do the scanning of IP

74
00:04:20.700 --> 00:04:23.100
 addresses of a range as well as

75
00:04:23.100 --> 00:04:24.900
 a subnet. Thank you.
