WEBVTT - This file was automatically generated by VIMEO

0
00:00:12.900 --> 00:00:13.500
Hello, everyone.

1
00:00:14.700 --> 00:00:17.900
So in this video we are going to see in maps

2
00:00:17.900 --> 00:00:20.900
 one of the most powerful feature which

3
00:00:20.900 --> 00:00:23.500
 is called as the scripting engine.

4
00:00:24.400 --> 00:00:26.200
So what is nmap scripting engine?

5
00:00:27.400 --> 00:00:30.800
By using nmaps scripting engine. We

6
00:00:30.800 --> 00:00:33.900
 are going to find vulnerable versions which

7
00:00:33.900 --> 00:00:36.700
 are running onto the target IP address

8
00:00:36.700 --> 00:00:37.800
 and domain names.

9
00:00:39.500 --> 00:00:42.200
With the help of the nmap scripting engine we can

10
00:00:42.200 --> 00:00:46.100
 identify vulnerabilities which are running on web applications

11
00:00:45.100 --> 00:00:48.100
 like WordPress. We can

12
00:00:48.100 --> 00:00:51.700
 also identify vulnerabilities on SQL servers.

13
00:00:51.700 --> 00:00:54.700
 We can also identify vulnerabilities which

14
00:00:54.700 --> 00:00:57.700
 are running on WordPress and also we can identify

15
00:00:57.700 --> 00:01:00.200
 the web application firewall, which

16
00:01:00.200 --> 00:01:02.700
 is running onto any web application.

17
00:01:05.000 --> 00:01:05.200
so

18
00:01:06.400 --> 00:01:10.000
Here in this video. We are going to see default safe

19
00:01:09.700 --> 00:01:11.500
 scripts for nmap.

20
00:01:12.400 --> 00:01:15.500
To do this type of scan you have to use the

21
00:01:15.500 --> 00:01:18.500
 syntax and map the target IP address

22
00:01:18.500 --> 00:01:21.200
 and hyphen SC when you

23
00:01:21.200 --> 00:01:24.100
 will give hyphen SC and map will start

24
00:01:24.100 --> 00:01:27.900
 scanning the target for some default save Scripts.

25
00:01:28.500 --> 00:01:31.800
So you can always scan the Target by giving this

26
00:01:31.800 --> 00:01:34.500
 particular flag, which is hyphen SC.

27
00:01:35.800 --> 00:01:38.300
You can also add hyphen V to see the

28
00:01:38.300 --> 00:01:41.800
 output in verbose mode the example of running

29
00:01:41.800 --> 00:01:44.300
 this can be and map the target IP

30
00:01:44.300 --> 00:01:47.400
 address like this followed by hyphen SC and

31
00:01:47.400 --> 00:01:50.300
 if you want to see the output inverse mode, you can give

32
00:01:50.300 --> 00:01:51.400
 hyphen V.

33
00:01:52.700 --> 00:01:55.700
So it is practical time and let's see this type

34
00:01:55.700 --> 00:01:57.000
 of scan in action.

35
00:01:57.900 --> 00:02:00.700
Over here as you can see on my terminal. I'm

36
00:02:00.700 --> 00:02:02.800
 going to type the command, which is nmap.

37
00:02:03.500 --> 00:02:05.000
my target IP address

38
00:02:06.100 --> 00:02:06.600
followed by

39
00:02:08.600 --> 00:02:11.500
Hyphen, SC to run the default

40
00:02:11.500 --> 00:02:14.400
 set of scripts which are safe

41
00:02:14.400 --> 00:02:15.000
 Scripts.

42
00:02:16.200 --> 00:02:19.300
Then I'm going to scan the ports from 1 to

43
00:02:19.300 --> 00:02:22.200
 200 followed by hyphen V to see

44
00:02:22.200 --> 00:02:23.800
 the output in verbose mode.

45
00:02:24.900 --> 00:02:27.100
As you can see and map scan has started

46
00:02:27.100 --> 00:02:30.400
 already and nmap has identified couple of

47
00:02:30.400 --> 00:02:31.700
 things into the scan.

48
00:02:32.500 --> 00:02:35.000
so, let's see what nmap has identified based on the

49
00:02:35.900 --> 00:02:36.900
 hyphen SC script

50
00:02:37.500 --> 00:02:40.800
As you can see HTTP methods, what are

51
00:02:40.800 --> 00:02:43.500
 the supported methods on the target? As you

52
00:02:43.500 --> 00:02:46.900
 can see the supported methods are options head get

53
00:02:46.900 --> 00:02:47.700
 and post.

54
00:02:49.100 --> 00:02:52.600
Nmap, has also identified. What is there

55
00:02:52.600 --> 00:02:56.000
 on the RPC info? As you can see the RPC

56
00:02:55.600 --> 00:02:58.900
 info has also been identified if you

57
00:02:58.900 --> 00:03:01.700
 move up you can see on Port 80 which

58
00:03:01.700 --> 00:03:04.600
 is the HTTP web server is running and map

59
00:03:04.600 --> 00:03:07.400
 is able to do the directory listing and is

60
00:03:07.400 --> 00:03:10.700
 able to identify whatever is there into the

61
00:03:10.700 --> 00:03:11.900
 servers?

62
00:03:13.100 --> 00:03:16.500
The directory as you can see the files, which is

63
00:03:16.500 --> 00:03:19.800
 this file, which is a APK next is

64
00:03:19.800 --> 00:03:22.800
 a back door. Then it is a image and different

65
00:03:22.800 --> 00:03:25.900
 types of files like JavaScript HTF files

66
00:03:25.900 --> 00:03:28.800
 are also present. So by this

67
00:03:28.800 --> 00:03:31.600
 way, we can also identify whatever is hosted

68
00:03:31.600 --> 00:03:33.000
 onto the particular server.

69
00:03:34.300 --> 00:03:37.300
Also, if you see the port 22, which is running on

70
00:03:37.300 --> 00:03:40.800
 SSH we are able to identify the SSH

71
00:03:40.800 --> 00:03:41.700
 host key.

72
00:03:43.900 --> 00:03:46.700
Perfect. So this was one of the way to see

73
00:03:46.700 --> 00:03:49.500
 whatever was running on that particular.

74
00:03:51.300 --> 00:03:54.500
server by running the SC flag

75
00:04:07.400 --> 00:04:10.100
if I run -script equals to

76
00:04:10.100 --> 00:04:13.500
 default the output is exactly the same that you

77
00:04:13.500 --> 00:04:16.700
 saw which means you can either use hyphen SC or

78
00:04:16.700 --> 00:04:20.200
 either you can use hyphen hyphen default.

79
00:04:19.200 --> 00:04:21.800
 It is exactly the same.

80
00:04:22.800 --> 00:04:24.700
So I hope you guys understood this. Thank you.
