我目前正在使用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等结构化格式获得输出?
感谢任何帮助或见解!
1条答案
按热度按时间c8ib6hqw1#
Nuclei现在使用-j作为标准json输出。下面是当前的usage:
字符串