
Kleines Dienstprogramm, um eine große BloodHound-JSON-Datei in kleinere Dateien für den Import aufzuteilen.
Zerlege eine große BloodHound-JSON-Datei in eine Reihe kleinerer Dateien für einen schnelleren Import.
Folge mir auf 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/
Du kannst es mit dem folgenden Befehl installieren und ausführen:
$ git clone https://github.com/ustayready/shredhound
$ cd shredhound
~/shredhound $ virtualenv -p python3 .
~/shredhound $ source bin/activate
(shredhound) ~/shredhound $ python shred.py