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:
Tarun Koyalwar
2024-03-09 21:20:54 +05:30
committed by GitHub
parent bbac102cf8
commit b1b4f0fe76
4 changed files with 5 additions and 4 deletions

View File

@@ -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