WEBVTT - This file was automatically generated by VIMEO

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

1
00:00:07.400 --> 00:00:10.700
 this video we are going to see the nmap port

2
00:00:10.700 --> 00:00:12.000
 ratio scan.

3
00:00:13.100 --> 00:00:16.600
So the syntax of doing this scan is nmap the target

4
00:00:16.600 --> 00:00:17.300
 IP address.

5
00:00:18.100 --> 00:00:21.900
Followed by hyphen hyphen ports hyphen ratio and

6
00:00:21.900 --> 00:00:24.300
 hyphen V to see the output in

7
00:00:24.300 --> 00:00:27.900
 verbose mode so you can scan a target's

8
00:00:27.900 --> 00:00:30.300
 port number using Port ratio scan.

9
00:00:31.100 --> 00:00:34.500
So when you run this scan, it scans all the ports

10
00:00:34.500 --> 00:00:37.400
 in the nmap services file with the ratio

11
00:00:37.400 --> 00:00:41.000
 greater than the one which is given remember

12
00:00:40.500 --> 00:00:43.700
 you can give the ratio between 0 and

13
00:00:43.700 --> 00:00:44.100
 1.

14
00:00:44.900 --> 00:00:45.100
Okay.

15
00:00:46.500 --> 00:00:49.100
You can always add a hyphen V flag to see

16
00:00:49.100 --> 00:00:52.300
 the output in verbose mode the example

17
00:00:52.300 --> 00:00:55.900
 of doing this type of scan is nmap. The target IP

18
00:00:55.900 --> 00:00:59.100
 address followed by - ports hyphen

19
00:00:58.100 --> 00:00:59.600
 ratio.

20
00:01:00.500 --> 00:01:03.400
So let's see this type of scan in action as you

21
00:01:03.400 --> 00:01:06.700
 can see on my screen. I have typed the command which is nmap

22
00:01:06.700 --> 00:01:09.200
 the target IP address -

23
00:01:09.200 --> 00:01:12.200
 Port hyphen ratio and hyphen V to

24
00:01:12.200 --> 00:01:15.200
 see the output in verbose mode, so

25
00:01:16.800 --> 00:01:19.100
Here when I will hit enter I will be able to

26
00:01:19.100 --> 00:01:22.000
 see the status of the ports.

27
00:01:23.100 --> 00:01:25.600
Which is over here like this.

28
00:01:29.800 --> 00:01:32.500
If I just type - F and open then I'm only

29
00:01:32.500 --> 00:01:36.300
 able to see the open ports out of those ports

30
00:01:35.300 --> 00:01:37.200
 as you can see.

31
00:01:39.300 --> 00:01:42.600
The port ratio scan. There are eight three

32
00:01:42.600 --> 00:01:45.500
 one five close ports Okay,

33
00:01:45.500 --> 00:01:46.000
 so

34
00:01:47.500 --> 00:01:51.000
We got to see one two, three four and

35
00:01:50.400 --> 00:01:53.800
 five total open ports. So

36
00:01:53.800 --> 00:01:57.300
 which means this in this can total

37
00:01:56.300 --> 00:01:59.800
 eight three two, zero

38
00:01:59.800 --> 00:02:02.300
 ports were scanned out of which

39
00:02:02.300 --> 00:02:05.300
 we identified only five were open.
