
Petit utilitaire pour découper un grand fichier JSON BloodHound en fichiers plus petits afin de faciliter leur importation.
Divisez un grand fichier JSON BloodHound en une multitude de fichiers plus petits pour un import plus rapide.
Suivez-moi sur Twitter (Mike Felch - @ustayready)
usage: shred.py [-h] --output OUTPUT --filename FILENAME [--chunks CHUNKS]
optional arguments:
-h, --help show this help message and exit
--output OUTPUT Output folder for chunked JSON files
--filename FILENAME Name of the BloodHound JSON file
--chunks CHUNKS Number of chunks to split the BloodHound JSON file
into
ShredHound the BloodHound JSON splitter
python shred.py --filename /tmp/output.json --chunks 100 --output /tmp/
Vous pouvez installer et exécuter avec la commande suivante :
$ git clone https://github.com/ustayready/shredhound
$ cd shredhound
~/shredhound $ virtualenv -p python3 .
~/shredhound $ source bin/activate
(shredhound) ~/shredhound $ python shred.py