WEBVTT - This file was automatically generated by VIMEO

0
00:00:13.300 --> 00:00:16.700
Hello everyone and welcome to this course

1
00:00:16.700 --> 00:00:19.200
 now we are going to start with.

2
00:00:20.300 --> 00:00:23.200
how to scan a IP address

3
00:00:24.200 --> 00:00:27.700
so as you can see over here the syntax to scan an

4
00:00:27.700 --> 00:00:30.600
 IP address using nmap is nmap and

5
00:00:30.600 --> 00:00:31.500
 the target IP address.

6
00:00:32.300 --> 00:00:35.400
You can scan a Target by simply typing the target IP

7
00:00:35.400 --> 00:00:38.500
 and end map will start scanning for the default top

8
00:00:38.500 --> 00:00:39.600
 1000 ports.

9
00:00:40.400 --> 00:00:43.400
If you want to see what is happening in the background just add The

10
00:00:43.400 --> 00:00:44.500
 Hyphen V flag.

11
00:00:45.300 --> 00:00:47.200
And it will show you the verbose output.

12
00:00:51.700 --> 00:00:54.300
how to scan a host or a domain name

13
00:00:54.300 --> 00:00:57.600
 or a URL address so the syntax

14
00:00:57.600 --> 00:01:00.800
 is nmap and the website name for instance

15
00:01:00.800 --> 00:01:03.600
 www.example.com

16
00:01:04.800 --> 00:01:07.200
So you can scan a Target by simply typing the

17
00:01:07.200 --> 00:01:10.500
 host name and nmap will start scanning for

18
00:01:10.500 --> 00:01:13.200
 the default 1000 ports. You can also

19
00:01:13.200 --> 00:01:16.400
 add The Hyphen V option to see the output in verbose mode.

20
00:01:16.400 --> 00:01:20.100
 So let's see the Practical as you can see. This machine

21
00:01:19.100 --> 00:01:22.300
 is the target machine which we

22
00:01:22.300 --> 00:01:26.400
 are going to scan and has the IP address 192 168

23
00:01:25.400 --> 00:01:28.400
 43 dot to win three.

24
00:01:30.700 --> 00:01:33.900
And this is my machine through

25
00:01:33.900 --> 00:01:36.500
 which I'm going to scan which contains

26
00:01:36.500 --> 00:01:40.000
 my nmap and the IP address of this machine of

27
00:01:39.800 --> 00:01:43.900
 nmap is 182 168 43.97.

28
00:01:45.300 --> 00:01:48.400
So I'm going to scan by typing the command and map

29
00:01:48.400 --> 00:01:52.500
 and my target machines IP, which was 213.

30
00:01:53.700 --> 00:01:56.800
And I will also add The Hyphen

31
00:01:56.800 --> 00:01:57.100
 V.

32
00:01:58.400 --> 00:02:01.700
Flag to see the output in verbose mode.

33
00:02:02.200 --> 00:02:03.900
That what is happening in the background?

34
00:02:04.700 --> 00:02:08.100
So as you can see, the scan has started and unmap

35
00:02:07.100 --> 00:02:10.500
 has already discovered two ports, which

36
00:02:10.500 --> 00:02:13.400
 are open which is port number 22, which is

37
00:02:13.400 --> 00:02:16.800
 SSH and port number one one RPC bind.

38
00:02:19.800 --> 00:02:22.500
As you can see the scan has been completed and we

39
00:02:22.500 --> 00:02:25.100
 have identified two ports and the

40
00:02:25.100 --> 00:02:25.900
 host is up.

41
00:02:26.400 --> 00:02:28.100
So now let's scan.

42
00:02:29.600 --> 00:02:32.800
The domain name or the host name so and

43
00:02:32.800 --> 00:02:35.300
 map google.com and output inverse mode.

44
00:02:35.300 --> 00:02:39.000
 So we have identified two ports are open which is

45
00:02:38.200 --> 00:02:41.700
 Port 80 and Port 443 as you

46
00:02:41.700 --> 00:02:42.500
 can see over here.

47
00:02:45.100 --> 00:02:48.300
Now let's scan one more host which is

48
00:02:48.300 --> 00:02:51.700
 scanmy Dot and maps.org using nmap.

49
00:02:53.700 --> 00:02:56.300
So the scan has started but this time

50
00:02:56.300 --> 00:03:00.200
 you can notice I have not given the hyphen V attribute

51
00:02:59.200 --> 00:03:02.700
 or hyphen V flag. So I'm

52
00:03:02.700 --> 00:03:05.600
 not able to see the output of what is

53
00:03:05.600 --> 00:03:07.500
 happening in the background onto my screen.

54
00:03:08.900 --> 00:03:11.700
So it is important that you use hyphen

55
00:03:11.700 --> 00:03:14.600
 V flag, so you can see the output in

56
00:03:14.600 --> 00:03:16.200
 verbose mode onto your screen.

57
00:03:17.500 --> 00:03:20.400
Now we have to wait till the scan is completed and

58
00:03:20.400 --> 00:03:23.500
 it will show us what are the open and close post

59
00:03:23.500 --> 00:03:24.500
 ports of the

60
00:03:25.600 --> 00:03:26.000
host

61
00:03:35.100 --> 00:03:38.300
if you want to see the progress, just press any key on

62
00:03:38.300 --> 00:03:41.300
 your keyboard that you want and you will be able to see the progress.

63
00:03:43.400 --> 00:03:47.300
Perfect, as you can see the scan has been completed and I have identified Port

64
00:03:46.300 --> 00:03:49.900
 22 or 25 80

65
00:03:49.900 --> 00:03:52.600
 9929 and 3 1 3

66
00:03:52.600 --> 00:03:55.300
 3 7. These are the ports out of which

67
00:03:55.300 --> 00:03:58.500
 for 25 which is SMTP is filtered and other

68
00:03:58.500 --> 00:04:01.900
 ports are open. So there is

69
00:04:01.900 --> 00:04:04.500
 three state of a port

70
00:04:04.500 --> 00:04:07.600
 first state is open which means the port

71
00:04:07.600 --> 00:04:10.900
 is open so that we can connect to it second state

72
00:04:10.900 --> 00:04:13.300
 is closed which means the port is

73
00:04:13.300 --> 00:04:16.500
 closed and we cannot go through that port or we

74
00:04:16.500 --> 00:04:19.200
 cannot utilize that port to connect

75
00:04:19.200 --> 00:04:20.400
 to the specific server.

76
00:04:21.300 --> 00:04:24.600
The third state is for filtered which means that there

77
00:04:24.600 --> 00:04:27.400
 can be a firewall placed which is not allowing us

78
00:04:27.400 --> 00:04:28.500
 to connect to that port.

79
00:04:31.800 --> 00:04:33.800
So I hope you guys understood.

80
00:04:34.600 --> 00:04:37.400
How we can do scanning of an IP

81
00:04:37.400 --> 00:04:40.800
 address as well as a host using and map. Thank

82
00:04:40.800 --> 00:04:40.900
 you.
