DevSecOpsDocs / nuclearpond

Nuclear Pond is a utility leveraging Nuclei to perform internet wide scans for the cost of a cup of coffee.
MIT License
170 stars 26 forks source link

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

Open S4lt5 opened 1 year ago

S4lt5 commented 1 year ago

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:

https://github.com/DevSecOpsDocs/nuclearpond/blob/832cd11d52717d47951b7dfd8962c29f36a0753e/pkg/outputs/outputs.go#L45-L50