-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues.
Current Behavior
JSONL format is to be newline delimited: https://jsonlines.org/.
PR #5705 introduced a comma into the -jsonl-output parameter:
line 90
This makes the output file not jsonline compliant and throws errors when parsing:
$ cat output.testing | jq 1>/dev/null
parse error: Expected value before ',' at line 1, column 33773
Expected Behavior
-jsonl-export flag should produce a jsonl file that is newline delimited without a trailing comma.
Steps To Reproduce
Run a nuclei scan with the -jsonl-export flag
observe the trailing comma in the results.jsonl file.
Relevant log output
Environment
- OS: Ubuntu
- Nuclei: v3.3.6
- Go: go1.22.0Anything else?
No response
PatrikFehrenbach
Metadata
Metadata
Assignees
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.