Skip to content
Branch: master
Find file History
Latest commit 5dd38f2 Mar 27, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
DBCreator.py Merge pull request #3 from thomai/master Mar 27, 2019
README.md Update README.md Aug 21, 2018
first.pkl Initial commit of DBCreator Aug 7, 2018
last.pkl Initial commit of DBCreator Aug 7, 2018

README.md

BloodHound Database Creator

This python script will generate a randomized data set for testing BloodHound features and analysis.

Requirements

This script requires Python 2.7, as well as the neo4j-driver. The script will only work with BloodHound 2.0.3 and above.

The Neo4j Driver can be installed using pip:

pip install neo4j-driver

Running

Ensure that all files in this repo are in the same directory.

python DBCreator.py

Commands

  • dbconfig - Set the credentials and URL for the database you're connecting too
  • connect - Connects to the database using supplied credentials
  • setnodes - Set the number of nodes to generate (defaults to 500, this is a safe number!)
  • setdomain - Set the domain name
  • cleardb - Clears the database and sets the schema properly
  • generate - Generates random data in the database
  • clear_and_generate - Connects to the database, clears the DB, sets the schema, and generates random data
  • exit - Exits the script
You can’t perform that action at this time.