mirror of https://github.com/daffainfo/nuclei.git
Do not titleize the template folder name
Because is not the real name and can not be used with -tdev
parent
4b368f30a0
commit
fccc4520b1
|
@ -237,7 +237,7 @@ func (r *Runner) listAvailableTemplates() {
|
|||
r.templatesConfig.TemplatesDirectory,
|
||||
func(path string, d *godirwalk.Dirent) error {
|
||||
if d.IsDir() && path != r.templatesConfig.TemplatesDirectory {
|
||||
gologger.Silentf("\n%s:\n\n", r.colorizer.Bold(r.colorizer.BgBrightBlue(strings.Title(d.Name()))).String())
|
||||
gologger.Silentf("\n%s:\n\n", r.colorizer.Bold(r.colorizer.BgBrightBlue(d.Name())).String())
|
||||
} else if strings.HasSuffix(path, ".yaml") {
|
||||
r.logAvailableTemplate(path)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue