diff --git a/Dockerfile b/Dockerfile index 1a97cc9..2910440 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN wget https://github.com/findomain/findomain/releases/latest/download/findoma RUN chmod o+x /usr/local/bin/findomain ENV GO111MODULE=on -RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest +RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@v2.4.3 RUN nuclei -version RUN nuclei -update-templates diff --git a/scanners/nuclei.go b/scanners/nuclei.go index 8d38a88..d06313d 100644 --- a/scanners/nuclei.go +++ b/scanners/nuclei.go @@ -47,7 +47,7 @@ func ScanNucleiHandler(ctx context.Context, event events.SQSEvent) error { // utils.Check(err) // fmt.Printf("initiaiting request from ip: %s\n", ipOut) - nucleiCmd := exec.Command("nuclei", "-u", request.Url, "-silent", "-json", "-tags", nucleiTags, "-ud", "/nuclei-templates", "-timeout", "30") + nucleiCmd := exec.Command("nuclei", "-u", request.Url, "-silent", "-json", "-tags", nucleiTags, "-ud", "/nuclei-templates", "-timeout", "30", "-nut") fmt.Printf("-> %v\n", nucleiCmd) var nucleiOut, nucleiErr bytes.Buffer