WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.200
Hello everyone. So in this video

1
00:00:07.200 --> 00:00:11.000
 we are going to see how to perform a fast

2
00:00:10.400 --> 00:00:11.900
 port scan.

3
00:00:12.700 --> 00:00:15.700
So the syntax of doing this scan is nmap the

4
00:00:15.700 --> 00:00:18.500
 target IP address hyphen capital

5
00:00:18.500 --> 00:00:21.500
 F to do the fast port scan and

6
00:00:21.500 --> 00:00:24.600
 hyphen V to see the output in verbose mode.

7
00:00:25.600 --> 00:00:28.600
So you can scan a Target Port number using

8
00:00:28.600 --> 00:00:31.500
 the fast port scan and nmap will

9
00:00:31.500 --> 00:00:34.400
 automatically start scanning for the TCP and

10
00:00:34.600 --> 00:00:35.200
 UDP ports.

11
00:00:36.300 --> 00:00:39.500
Remember here if you use a fast port scan,

12
00:00:39.500 --> 00:00:42.700
 then unmap will automatically scan for

13
00:00:42.700 --> 00:00:44.300
 hundred ports.

14
00:00:44.800 --> 00:00:47.300
But the default scan scans for

15
00:00:47.300 --> 00:00:49.500
 top 1000 ports.

16
00:00:50.700 --> 00:00:53.900
Also, you can add a hyphen V to see the verbose output.

17
00:00:54.800 --> 00:00:57.600
The example is shown over here and map

18
00:00:57.600 --> 00:01:00.500
 the IP address that you want to scan and hyphen f

19
00:01:00.500 --> 00:01:03.300
 to perform a fast port scan.

20
00:01:04.500 --> 00:01:07.300
So, let's see this port as you can see on my

21
00:01:07.300 --> 00:01:10.300
 terminal. I'm going to type the command and map.

22
00:01:11.100 --> 00:01:12.400
the target IP address

23
00:01:14.400 --> 00:01:16.500
followed by hyphen capital f

24
00:01:17.500 --> 00:01:20.900
as you can see the scan has been successfully completed

25
00:01:20.900 --> 00:01:23.900
 and I have identified that three

26
00:01:23.900 --> 00:01:25.100
 ports are open.

27
00:01:26.100 --> 00:01:29.700
If you look closely not shown 97 close

28
00:01:29.700 --> 00:01:33.100
 ports, which means only top 100

29
00:01:32.100 --> 00:01:34.700
 ports were scanned.

30
00:01:36.200 --> 00:01:37.100
So let us try to scan.

31
00:01:38.700 --> 00:01:39.400
this time

32
00:01:44.200 --> 00:01:46.000
this host which is google.com.

33
00:01:47.100 --> 00:01:50.700
And you can see we have found that two ports are

34
00:01:50.700 --> 00:01:53.800
 open which is Port 80 and Port

35
00:01:53.800 --> 00:01:56.700
 443 which is https and

36
00:01:56.700 --> 00:01:57.900
 http.

37
00:02:03.300 --> 00:02:06.600
So now let us try to scan the scan me

38
00:02:06.600 --> 00:02:08.600
 dot nmap.org domain.

39
00:02:09.700 --> 00:02:13.500
And here we find out that these are

40
00:02:13.500 --> 00:02:15.900
 the status for the port numbers.

41
00:02:16.800 --> 00:02:17.500
so from the top

42
00:02:18.600 --> 00:02:21.500
100 ports 59 are closed and

43
00:02:21.500 --> 00:02:23.000
 rest of them are open.

44
00:02:25.600 --> 00:02:27.400
So I hope you guys understood this.

45
00:02:29.500 --> 00:02:32.100
If he had a hyphen hyphen open when then we will

46
00:02:32.100 --> 00:02:35.500
 only be able to see the open ports into that

47
00:02:35.500 --> 00:02:39.100
 host. So as you can see, there are only

48
00:02:38.100 --> 00:02:41.400
 two open ports in

49
00:02:41.400 --> 00:02:42.600
 the top 100 ports.

50
00:02:45.300 --> 00:02:49.000
Perfect. So I hope you guys understood how to perform a

51
00:02:48.300 --> 00:02:50.900
 fast port scan. Thank you.
