
Pequeno utilitário para dividir um arquivo JSON grande do BloodHound em arquivos menores para importação.
Divida um arquivo JSON grande do BloodHound em vários arquivos menores para importação mais rápida.
Siga-me no 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/
Você pode instalar e executar com o seguinte comando:
$ git clone https://github.com/ustayready/shredhound
$ cd shredhound
~/shredhound $ virtualenv -p python3 .
~/shredhound $ source bin/activate
(shredhound) ~/shredhound $ python shred.py