WEBVTT - This file was automatically generated by VIMEO

0
00:00:03.600 --> 00:00:04.400
Hello, everyone.

1
00:00:05.200 --> 00:00:08.300
So in this lesson, we are going to see how you can use

2
00:00:08.300 --> 00:00:10.300
 nuclei filters.

3
00:00:11.100 --> 00:00:14.300
So the first filter is tags now tags is a super

4
00:00:14.300 --> 00:00:17.600
 useful filter. If you want to run specific set

5
00:00:17.600 --> 00:00:20.200
 of templates automatically onto a

6
00:00:20.200 --> 00:00:20.700
 given Target.

7
00:00:22.100 --> 00:00:25.300
The second filter is severity if you are only

8
00:00:25.300 --> 00:00:27.000
 interested in running High.

9
00:00:27.900 --> 00:00:31.400
Medium low or critical severity-based

10
00:00:30.400 --> 00:00:33.400
 templates, you can also specify that

11
00:00:33.400 --> 00:00:35.800
 with the help of severity filter.

12
00:00:37.100 --> 00:00:40.300
The third one is the author filter if you are only interested

13
00:00:40.300 --> 00:00:43.400
 in running those templates, which have been written by

14
00:00:43.400 --> 00:00:46.100
 you or by a specific author. You can

15
00:00:46.100 --> 00:00:47.500
 also specify that too.

16
00:00:48.800 --> 00:00:51.300
So it is the Practical time and let's quickly jump into

17
00:00:51.300 --> 00:00:54.300
 and see how you can use these three filters that

18
00:00:54.300 --> 00:00:55.700
 we have learned just now.

19
00:00:59.300 --> 00:01:02.900
So I want the official repository of nuclei templates

20
00:01:02.900 --> 00:01:04.400
 right now. I'm going to scroll down.

21
00:01:05.500 --> 00:01:08.500
You can see the tag over here so you can see in the

22
00:01:08.500 --> 00:01:12.700
 tag xss. There are around 537 templates

23
00:01:12.700 --> 00:01:13.700
 that have been created.

24
00:01:15.600 --> 00:01:18.700
I'm going to go to my terminal quickly and I'm going

25
00:01:18.700 --> 00:01:19.000
 to run.

26
00:01:20.200 --> 00:01:21.400
These templates now.

27
00:01:25.100 --> 00:01:29.000
I'm going to specify the path of the template and I'm going to say hyphen

28
00:01:28.800 --> 00:01:31.200
 tags and the tax is

29
00:01:31.200 --> 00:01:32.200
 xss.

30
00:01:37.200 --> 00:01:40.700
Now nuclei will automatically pick up all the excess

31
00:01:40.700 --> 00:01:44.100
 based templates and start running it automatically on

32
00:01:43.100 --> 00:01:46.100
 the provided Target, which is this.

33
00:01:47.300 --> 00:01:50.400
you can see over here the templates which have been loaded for

34
00:01:50.400 --> 00:01:52.300
 scan is 488

35
00:01:53.900 --> 00:01:57.200
this way you can specify specific templates

36
00:01:56.200 --> 00:01:59.500
 that you want to run on specific targets.

37
00:02:00.900 --> 00:02:03.200
We have seen how we wrote a quick

38
00:02:03.200 --> 00:02:07.600
 phpbase templates in which you saw the tags block.

39
00:02:09.200 --> 00:02:12.400
Now this block is very very useful and you can specify the

40
00:02:12.400 --> 00:02:15.700
 tags that you want. For example, this currently

41
00:02:15.700 --> 00:02:18.700
 has Tech and nginx. That

42
00:02:18.700 --> 00:02:21.200
 means I can specify Tech which means

43
00:02:21.200 --> 00:02:24.600
 Tech detection templates that I want to run onto a

44
00:02:24.600 --> 00:02:25.200
 specific Target.

45
00:02:26.300 --> 00:02:29.500
Or if I know a Target is running nginx, I would specify

46
00:02:29.500 --> 00:02:31.800
 the tag as tags nginx.

47
00:02:33.600 --> 00:02:36.400
This way you can run specific set of templates on

48
00:02:36.400 --> 00:02:37.000
 that Target.

49
00:02:38.600 --> 00:02:41.400
Let's go back to our terminal and you can see this has

50
00:02:41.400 --> 00:02:44.100
 completed and no excesses results were found.

51
00:02:44.100 --> 00:02:47.500
 Although we ran all the excesses-based templates

52
00:02:47.500 --> 00:02:48.300
 on this target.

53
00:02:50.100 --> 00:02:53.600
Let us see the next filter that you can use which is author.

54
00:02:55.800 --> 00:02:58.300
Let's go back over here. And let's try to search

55
00:02:58.300 --> 00:03:01.600
 for some templates that I have written and contributed.

56
00:03:04.300 --> 00:03:07.700
When I search this you can see in total 12 code results. You

57
00:03:07.700 --> 00:03:10.700
 can see a template The Witches Django debug

58
00:03:10.700 --> 00:03:11.000
 detect.

59
00:03:11.700 --> 00:03:14.600
AEM detect WordPress what friends

60
00:03:14.600 --> 00:03:17.700
 Waf bypass Moodle excesses concrete excesses

61
00:03:17.100 --> 00:03:18.200
 Etc.

62
00:03:19.100 --> 00:03:21.000
So I'm going to go back and I'm going to specify.

63
00:03:22.400 --> 00:03:24.500
Hacker got them and hit enter.

64
00:03:26.300 --> 00:03:29.400
Now this would only run those templates that I have written

65
00:03:29.400 --> 00:03:32.200
 as you can see over here, which have been running

66
00:03:32.200 --> 00:03:34.000
 currently on the specific Target.

67
00:03:35.200 --> 00:03:38.200
This can be super useful when you only want to run the

68
00:03:38.200 --> 00:03:41.400
 templates that have been written by you or a specific author on

69
00:03:41.400 --> 00:03:41.900
 a Target.

70
00:03:44.400 --> 00:03:47.300
You can also specify the filter which

71
00:03:47.300 --> 00:03:48.000
 is severity.

72
00:03:48.800 --> 00:03:52.000
Let's say I want to run all the low severity-based templates

73
00:03:51.600 --> 00:03:54.300
 automatically that can be done as well.

74
00:03:55.600 --> 00:03:58.400
You can see in total 259 templates have been loaded

75
00:03:58.400 --> 00:04:02.000
 successfully from the entire nuclear template with severity

76
00:04:01.300 --> 00:04:04.200
 as low and are being currently running.

77
00:04:05.900 --> 00:04:09.300
Here you can see we can specify the severity the

78
00:04:08.300 --> 00:04:11.600
 PHP detection template that we created

79
00:04:11.600 --> 00:04:14.500
 has the severity info, but currently I'm

80
00:04:14.500 --> 00:04:17.400
 running the low severity templates automatically on

81
00:04:17.400 --> 00:04:18.000
 the target.

82
00:04:19.400 --> 00:04:22.400
For any low issues it would be detected and shown over

83
00:04:22.400 --> 00:04:22.500
 here.

84
00:04:23.500 --> 00:04:26.800
This way you can bifurcate severity based

85
00:04:26.800 --> 00:04:29.400
 on your templates and run that onto

86
00:04:29.400 --> 00:04:30.000
 our Target.

87
00:04:30.900 --> 00:04:33.500
Also, you can specify multi-levels of

88
00:04:33.500 --> 00:04:36.500
 severity as well. For example low and

89
00:04:36.500 --> 00:04:39.500
 medium only with the help of comma and

90
00:04:39.500 --> 00:04:40.200
 hit enter.

91
00:04:41.800 --> 00:04:44.300
You can see the templates have been increased this time.

92
00:04:44.300 --> 00:04:48.100
 We had 259 templates when we specify the severity

93
00:04:47.100 --> 00:04:50.700
 as low but when we Supply severity

94
00:04:50.700 --> 00:04:53.300
 as low end medium the templates increase to

95
00:04:53.300 --> 00:04:54.300
 1 0 2 8.

96
00:04:55.700 --> 00:04:58.600
So I hope you guys understood how you can use these

97
00:04:58.600 --> 00:05:01.100
 filters very effectively while you're running

98
00:05:01.100 --> 00:05:03.300
 nuclei onto your target. Thank you.
