mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-03 17:23:09 +08:00
fix nuclei loading ignored templates (#4849)
* fix tag include logic * fix unit test * remove quoting in extractor output * remove quote in debug code command
This commit is contained in:
@@ -317,7 +317,7 @@ func interpretEnvVars(source string, vars map[string]interface{}) string {
|
||||
// bash mode
|
||||
if strings.Contains(source, "$") {
|
||||
for k, v := range vars {
|
||||
source = strings.ReplaceAll(source, "$"+k, fmt.Sprintf("'%s'", v))
|
||||
source = strings.ReplaceAll(source, "$"+k, fmt.Sprintf("%s", v))
|
||||
}
|
||||
}
|
||||
// python mode
|
||||
|
||||
Reference in New Issue
Block a user