You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/nuclei/main.go
+56-3Lines changed: 56 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,10 @@ import (
42
42
)
43
43
44
44
var (
45
-
cfgFilestring
46
-
memProfilestring// optional profile file path
47
-
options=&types.Options{}
45
+
cfgFilestring
46
+
templateProfilestring
47
+
memProfilestring// optional profile file path
48
+
options=&types.Options{}
48
49
)
49
50
50
51
funcmain() {
@@ -225,6 +226,7 @@ on extensive configurability, massive extensibility and ease of use.`)
225
226
flagSet.BoolVarP(&options.NoStrictSyntax, "no-strict-syntax", "nss", false, "disable strict syntax check on templates"),
226
227
flagSet.BoolVarP(&options.TemplateDisplay, "template-display", "td", false, "displays the templates content"),
227
228
flagSet.BoolVar(&options.TemplateList, "tl", false, "list all available templates"),
229
+
flagSet.BoolVar(&options.TagList, "tgl", false, "list all available tags"),
228
230
flagSet.StringSliceVarConfigOnly(&options.RemoteTemplateDomainList, "remote-template-domain", []string{"cloud.projectdiscovery.io"}, "allowed domain list to load remote templates from"),
229
231
flagSet.BoolVar(&options.SignTemplates, "sign", false, "signs the templates with the private key defined in NUCLEI_SIGNATURE_PRIVATE_KEY env variable"),
0 commit comments