Skip to content

Commit 3fd3925

Browse files
committed
Added beautifying of JSON output
1 parent 8115532 commit 3fd3925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searchsploit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def searchsploitout():
419419
jsonDict["RESULTS_" + name_array[i].upper()] = searchs.copy()
420420
searchs.clear()
421421
import json.encoder
422-
jsonResult = json.dumps(jsonDict)
422+
jsonResult = json.dumps(jsonDict, indent=4, separators=(", ", ": "))
423423
print(jsonResult)
424424
except KeyboardInterrupt:
425425
pass

0 commit comments

Comments
 (0)