fixing bash name

This commit is contained in:
mzack
2021-08-23 14:10:31 +02:00
parent 020b719e4d
commit 8f7aebef36
+1 -2
View File
@@ -8,8 +8,7 @@ import (
// RunNucleiAndGetResults returns a list of results for a template
func RunHttpxAndGetResults(url string, debug bool, extra ...string) ([]string, error) {
sh := os.Getenv("SHELL")
cmd := exec.Command(sh, "-c")
cmd := exec.Command("bash", "-c")
cmdLine := `echo ` + url + ` | ./httpx `
cmdLine += strings.Join(extra, " ")
if debug {