WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:06.200
Hello, everyone.

1
00:00:07.300 --> 00:00:10.400
So in this video we are going to see how can we update

2
00:00:10.400 --> 00:00:13.600
 our scripting engine database of nmap?

3
00:00:14.800 --> 00:00:17.500
Remember we have seen the

4
00:00:17.500 --> 00:00:20.700
 NEC scripting database engine, which

5
00:00:20.700 --> 00:00:24.000
 is one of the very powerful feature of nmap.

6
00:00:24.900 --> 00:00:28.400
So if there are any new changes in

7
00:00:27.400 --> 00:00:30.500
 script that have been updated by

8
00:00:30.500 --> 00:00:34.100
 the nmap community then we can automatically download

9
00:00:33.100 --> 00:00:36.300
 and fetch those scripts from the

10
00:00:36.300 --> 00:00:39.900
 end map server by typing the command the syntax

11
00:00:39.900 --> 00:00:42.900
 of doing that command is the end map Target IP

12
00:00:42.500 --> 00:00:46.000
 -script equals to update DV.

13
00:00:47.100 --> 00:00:50.900
You can run this onto your terminal and automatically your

14
00:00:50.900 --> 00:00:53.700
 database of NAC will get updated.

15
00:00:54.500 --> 00:00:57.800
So, let's see this how can we perform this practically?

16
00:00:58.800 --> 00:01:01.300
See on the screen. I'm going to type the command

17
00:01:01.300 --> 00:01:04.000
 to update my database of NSE.

18
00:01:05.100 --> 00:01:08.600
and map hyphen hyphen script hyphen update

19
00:01:09.300 --> 00:01:09.800
DB

20
00:01:11.300 --> 00:01:14.500
Hyphen V and I will hit enter as you

21
00:01:14.500 --> 00:01:17.900
 can see updating rule database script

22
00:01:17.900 --> 00:01:19.900
 database updated successfully.

23
00:01:20.800 --> 00:01:23.200
As you can see my script database has been

24
00:01:23.200 --> 00:01:26.200
 successfully updated and there are no new

25
00:01:26.200 --> 00:01:28.100
 script that have been loaded.

26
00:01:29.900 --> 00:01:32.200
Now, let's go to the script directory.

27
00:01:33.500 --> 00:01:35.300
Where all the NEC script?

28
00:01:35.900 --> 00:01:38.200
Are placed so you have to go to this

29
00:01:38.200 --> 00:01:41.700
 directory, which is CD USR share

30
00:01:41.700 --> 00:01:44.400
 and map scripts after going to

31
00:01:44.400 --> 00:01:47.400
 this directory. I'm going to do LS to show

32
00:01:47.400 --> 00:01:50.600
 you how many scripts are there

33
00:01:50.600 --> 00:01:53.500
 as you can see there are a lot of number of

34
00:01:53.500 --> 00:01:54.800
 scripts over here.

35
00:01:56.400 --> 00:01:58.300
into this particular folder

36
00:02:00.200 --> 00:02:03.400
in case you forget this particular path, you can

37
00:02:03.400 --> 00:02:05.500
 just type the command locate.

38
00:02:06.100 --> 00:02:09.700
space dot NEC and it will tell you that all

39
00:02:09.700 --> 00:02:10.000
 the

40
00:02:10.800 --> 00:02:13.400
n-maps NSE files are located

41
00:02:13.400 --> 00:02:16.500
 into this directory, which is USR share

42
00:02:16.500 --> 00:02:17.600
 and map Scripts.

43
00:02:19.300 --> 00:02:22.000
See so we again came to this directory.

44
00:02:22.900 --> 00:02:25.800
I hope you guys understood. How can we update

45
00:02:25.800 --> 00:02:28.200
 our scripting engine database? Thank you.
