When running -t foobar ..... -o json, nuclearpond will throw an error, but the output is plain text e.g. "Nuclei could not find any templates".
This can't be parsed by the JSON parser of nuclearpond, and will throw an error at:
|
var prettyJSON bytes.Buffer |
|
error := json.Indent(&prettyJSON, []byte(lambdaResponse.(string)), "", " ") |
|
if error != nil { |
|
log.Println("JSON parse error: ", error) |
|
return |
|
} |
When running
-t foobar ..... -o json, nuclearpond will throw an error, but the output is plain text e.g. "Nuclei could not find any templates".This can't be parsed by the JSON parser of nuclearpond, and will throw an error at:
nuclearpond/pkg/outputs/outputs.go
Lines 45 to 50 in 832cd11