Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/cmd/functional-test/testcases.txt
2070 views
1
# Simple binary invocation
2
{{binary}}
3
4
# Template tags filter
5
{{binary}} -tags cve -ntv 8.8.8,8.8.9
6
{{binary}} -tags cve
7
{{binary}} -tags cve,exposure
8
{{binary}} -tags cve,exposure -tags token
9
{{binary}} -tags cve,exposure -tags token,logs
10
{{binary}} -tags "cve","exposure" -tags "token","logs"
11
{{binary}} -tags 'cve','exposure' -tags 'token','logs'
12
{{binary}} -tags cve -severity high
13
{{binary}} -tags cve,exposure -severity high,critical
14
{{binary}} -tags cve,exposure -severity high,critical,medium
15
{{binary}} -tags cve -author geeknik
16
{{binary}} -tags cve -author geeknik,pdteam
17
{{binary}} -tags cve -author geeknik -severity high
18
{{binary}} -tags cve
19
{{binary}} -tags cve,exposure
20
{{binary}} -tags cve,exposure -tags token
21
{{binary}} -tags cve,exposure -tags token,logs
22
{{binary}} -tags "cve","exposure" -tags "token","logs"
23
{{binary}} -tags 'cve','exposure' -tags 'token','logs'
24
{{binary}} -tags cve -severity high
25
{{binary}} -tags cve,exposure -severity high,critical
26
{{binary}} -tags cve,exposure -severity high,critical,medium
27
{{binary}} -tags cve -author geeknik
28
{{binary}} -tags cve -author geeknik,pdteam
29
{{binary}} -tags cve -author geeknik -severity high
30
{{binary}} -tags cve,exposure -author geeknik,pdteam -severity high,critical
31
{{binary}} -tags "cve,exposure" -author "geeknik,pdteam" -severity high,critical
32
{{binary}} -tags cve -etags ssrf
33
{{binary}} -tags cve,exposure -etags ssrf,config
34
{{binary}} -tags cve,exposure -etags ssrf,config -severity high
35
{{binary}} -tags cve,exposure -etags ssrf,config -severity high -author geeknik
36
{{binary}} -tags cve,dos,fuzz
37
{{binary}} -tags cve -include-tags dos,fuzz
38
{{binary}} -tags cve -exclude-tags cve2020
39
{{binary}} -tags cve -exclude-templates cves/2020/
40
{{binary}} -tags cve -exclude-templates cves/2020/CVE-2020-9757.yaml
41
{{binary}} -tags cve -exclude-templates cves/2020/CVE-2020-9757.yaml -exclude-templates cves/2021/
42
{{binary}} -t cves/
43
{{binary}} -t cves/ -t exposures/
44
{{binary}} -t cves/ -t exposures/ -tags config
45
{{binary}} -t cves/ -t exposures/ -tags config,ssrf
46
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical
47
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam
48
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli
49
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates cves/2021/
50
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates cves/2017/CVE-2017-7269.yaml
51
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -include-templates cves/2017/CVE-2017-7269.yaml
52
53
# Advanced Filtering
54
{{binary}} -tags cve -author geeknik,pdteam -tc severity=='high'
55
{{binary}} -tc contains(authors,'pdteam')
56
{{binary}} -t cves/ -t exposures/ -tc contains(tags,'cve') -exclude-templates cves/2020/CVE-2020-9757.yaml
57
{{binary}} -tc protocol=='dns'
58
{{binary}} -tc contains(http_method,'GET')
59
{{binary}} -tc len(body)>0
60
{{binary}} -tc contains(matcher_type,'word')
61
{{binary}} -tc contains(extractor_type,'regex')
62
{{binary}} -tc contains(description,'wordpress')
63
64
# Workflow Filters
65
{{binary}} -w workflows
66
{{binary}} -w workflows -author geeknik,pdteam
67
{{binary}} -w workflows -severity high,critical
68
{{binary}} -w workflows -author geeknik,pdteam -severity high,critical
69
70
# Input Types
71
# http protocol
72
# host
73
{{binary}} -id tech-detect -u scanme.sh
74
# host:port
75
{{binary}} -id tech-detect -u scanme.sh:80
76
# scheme://host:port
77
{{binary}} -id tech-detect -u http://scanme.sh:80
78
# scheme://host
79
{{binary}} -id tech-detect -u https://scanme.sh
80
81
# Network Protocol
82
# host
83
{{binary}} -id ftp-weak-credentials -u scanme.sh
84
# host:port
85
{{binary}} -id ftp-weak-credentials -u scanme.sh:21
86
87
# SSL Protocol
88
# host
89
{{binary}} -id tls-version -u scanme.sh
90
# host:port
91
{{binary}} -id tls-version -u scanme.sh:22
92
93
# Options
94
# Tls Impersonate
95
{{binary}} -id tech-detect -tlsi -u https://scanme.sh
96