Replies: 1 comment
-
@w-dan, thanks for opening the discussion; this sounds more like an issue with the library you are using. It should be simple enough to handle arrays in json; for example, try using https://jsongrid.com/json-grid Defiantly it would be easier to deal with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been using Nuclei to automate some pentesting processes and I'm loving it.
To be precise, I've been using the JSON output feature and doing some queries on the generated documents, but I've come across a major issue (could be a functionality/feature request but I wasn't 100% sure so I started a discussion instead).
My problem is I'm trying to filter out certain type of detected vulnerabilities from the JSON file and extract some information about them and print them into an HTML file to make it readable, but there are some fields which contain arrays. As it happens, these arrays aren't generated in a "key":"value" format, but just "value" format instead, which makes JSON queries almost impossible in many cases with most JSON to HTML libraries.
Current output example:
For automation and JSON query purposes, it would be great if the output had a "key":"value" format instead, such as:
For every array, affected fields are: tags, reference, classification.cve-id, and classification.cwe-id
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions