使用 python -m json.tool
python -m json.tool out
# or
cat out | python -m json.tool
{"commandline":"ffuf -c -t 30 -fc 403 -w wordlists:DIR -w EX:END -u http://127.0.0.1/DIR.END -o
out","time":"2020-10-06T10:44:21+08:00","results":[{"input":
{"DIR":"index","END":"php"},"position":1,"status":200,"length":0,"words":1,"lines":1,"redirectlocation":"
","resultfile":"","url":"http://127.0.0.1/index.php"},{"input":
{"DIR":"admin","END":"php"},"position":3,"status":200,"length":0,"words":1,"lines":1,"redirectlocation":
"","resultfile":"","url":"http://127.0.0.1/admin.php"}],"config":{"headers":{},"extensions":
[],"dirsearch_compatibility":false,"method":"GET","url":"http://127.0.0.1/DIR.END","postdata":"","quiet
":false,"colors":true,"inputproviders":[{"name":"wordlist","keyword":"DIR","value":"wordlists"},
{"name":"wordlist","keyword":"END","value":"EX"}],"cmd_inputnum":100,"inputmode":"clusterbomb","
outputdirectory":"","outputfile":"out","outputformat":"json","ignore_wordlist_comments":false,"stop_40
3":false,"stop_errors":false,"stop_all":false,"follow_redirects":false,"autocalibration":false,"autocalibra
tion_strings":[],"timeout":10,"delay":{"value":"0.00"},"filters":{"status":{"value":"403"}},"matchers":
{"status":
{"value":"200,204,301,302,307,401,403"}},"threads":30,"proxyurl":"","replayproxyurl":"","cmdline":"ffuf
-c -t 30 -fc 403 -w wordlists:DIR -w EX:END -u http://127.0.0.1/DIR.END -o
out","verbose":false,"maxtime":0,"recursion":false,"recursion_depth":0}}
"results": [
{
"input": {
"DIR": "index",
"END": "php"
},
"length": 0,
"lines": 1,
"position": 1,
"redirectlocation": "",
"resultfile": "",
"status": 200,
"url": "http://127.0.0.1/index.php",
"words": 1
},
{
"input": {
"DIR": "admin",
"END": "php"
},
"length": 0,
"lines": 1,
"position": 3,
"redirectlocation": "",
"resultfile": "",
"status": 200,
"url": "http://127.0.0.1/admin.php",
"words": 1
}
],
"time": "2020-10-06T10:44:21+08:00"
}