mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
fixing bash name
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user