无法将-json标志与Nuclei一起用于JSONL输出

eivnm1vs  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(59)

我目前正在使用Nuclei,并试图使用-json标志来获取JSONL格式的输出。但是,我收到一个错误提示flag provided but not defined: -json
我使用的命令是:

nuclei -u <target_url> -t <templates_path> -json

字符串
我也使用了我在ProjectDiscovery nuclei video上找到的

nuclei -tags tech -u <target_url> -json


甚至还有一些变通办法,但当然效果并不好

nuclei -tags tech -u <target_url> -json -o output.json


Nuclei的文档说明它支持各种输出选项,包括用于JSONL格式输出的-json,但似乎在我使用的v9.6.4模板版本v2.9.15中无法识别该标志。
以下是文档中所述输出选项的简要概述:

-json                         write output in JSONL(ines) format


有没有人遇到过这个问题,如果有,有没有解决方案?-json标志是否有不同的版本,或者有没有其他方法可以以JSON等结构化格式获得输出?
感谢任何帮助或见解!

c8ib6hqw

c8ib6hqw1#

Nuclei现在使用-j作为标准json输出。下面是当前的usage

-j, -jsonl                    write output in JSONL(ines) format
-je, -json-export string      file to export results in JSON format
-jle, -jsonl-export string    file to export results in JSONL(ine) format

字符串

相关问题