WEBVTT - This file was automatically generated by VIMEO

0
00:00:05.900 --> 00:00:06.500
Hello, everyone.

1
00:00:07.600 --> 00:00:10.500
so in this video we are going to see the nmap

2
00:00:10.500 --> 00:00:13.700
 OS detection with hyphen hyphen OS

3
00:00:13.700 --> 00:00:15.000
 scan limit

4
00:00:16.000 --> 00:00:16.100
so

5
00:00:17.100 --> 00:00:20.400
this specific flag if we

6
00:00:20.400 --> 00:00:23.600
 give with the nmap scan will only perform

7
00:00:23.600 --> 00:00:26.900
 the OS detection when nmap finds

8
00:00:26.900 --> 00:00:29.300
 at least one TCP open

9
00:00:29.300 --> 00:00:29.600
 port.

10
00:00:30.900 --> 00:00:33.600
So if this condition matches then

11
00:00:33.600 --> 00:00:36.900
 only nmap will move further to

12
00:00:36.900 --> 00:00:39.600
 perform the OS detection or else it

13
00:00:39.600 --> 00:00:41.700
 will not perform the OS detection.

14
00:00:43.300 --> 00:00:46.600
the syntax of doing this is and map the target IP address

15
00:00:46.600 --> 00:00:49.000
 hyphen OS scan -

16
00:00:49.000 --> 00:00:49.400
 limit

17
00:00:50.500 --> 00:00:53.900
you can always add a hyphen V to see the output in

18
00:00:53.900 --> 00:00:55.000
 verbose mode.

19
00:00:56.500 --> 00:00:59.200
So, let's see this scan in action so over here

20
00:00:59.200 --> 00:01:02.900
 on my screen as you can see, I have written

21
00:01:02.900 --> 00:01:05.000
 the command which is nmapped.

22
00:01:05.600 --> 00:01:09.000
Scan dot nmap.org hyphen

23
00:01:08.200 --> 00:01:11.300
 o hyphen hyphen, oscan hyphen limit

24
00:01:11.300 --> 00:01:14.600
 hyphen we - p n so I'm telling

25
00:01:14.600 --> 00:01:18.100
 nmap to perform our OS detection only if

26
00:01:17.100 --> 00:01:20.900
 nmap finds one TCP

27
00:01:20.900 --> 00:01:21.500
 open port.

28
00:01:23.900 --> 00:01:26.800
So as you can see and map has found some

29
00:01:26.800 --> 00:01:29.900
 ports, which are open and successfully have

30
00:01:29.900 --> 00:01:32.600
 given the OS cases and it is saying that

31
00:01:32.600 --> 00:01:36.500
 the target system is running Linux. 2.6.32.

32
00:01:37.300 --> 00:01:37.500
but

33
00:01:38.500 --> 00:01:40.100
if I show you one more example.

34
00:01:41.300 --> 00:01:41.900
over here

35
00:01:42.700 --> 00:01:44.100
This is my Windows machine.

36
00:01:45.200 --> 00:01:48.800
And I'm specifically scanning the port

37
00:01:48.800 --> 00:01:51.400
 80 which is not open which is

38
00:01:51.400 --> 00:01:53.900
 closed or filtered.

39
00:01:55.100 --> 00:01:58.100
Just see what happens if nmap is able to

40
00:01:58.100 --> 00:02:01.400
 identify that what operating system is running.

41
00:02:02.200 --> 00:02:05.400
As you can see my host is up, but the port

42
00:02:05.400 --> 00:02:08.900
 80 is closed or filtered thus and

43
00:02:08.900 --> 00:02:10.600
 map is not able to identify.

44
00:02:11.700 --> 00:02:14.700
What operating system is running on that

45
00:02:14.700 --> 00:02:15.900
 specific Target?

46
00:02:17.700 --> 00:02:21.700
So I hope you guys understood this video that this

47
00:02:20.700 --> 00:02:23.300
 condition should be

48
00:02:23.300 --> 00:02:26.600
 matched of finding at least one open port to

49
00:02:26.600 --> 00:02:28.000
 perform the OS detection.

50
00:02:28.700 --> 00:02:29.100
Thank you.
