
Небольшая утилита для разбиения большого файла BloodHound JSON на более мелкие файлы для импорта.
Разделите большой JSON-файл BloodHound на множество меньших файлов для более быстрого импорта.
Подписывайтесь на меня в 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/
Вы можете установить и запустить с помощью следующей команды:
$ git clone https://github.com/ustayready/shredhound
$ cd shredhound
~/shredhound $ virtualenv -p python3 .
~/shredhound $ source bin/activate
(shredhound) ~/shredhound $ python shred.py