Skip to content

When receiving a nuclei error, and -o json specified, nuclearpond does not correctly identify that nuclei has failed, and throws a JSON Parse error. #5

@S4lt5

Description

@S4lt5

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions