Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
BloodHound_CustomQueries_Toolset — Tool to import your custom queries from BloodHound "Legacy" to BloodHound "Community" | Kitploit
Tools/GitHubGitHub/som3canadian/bloodhound_customqueries_toolset
Penetration TestingUtilities & Frameworks
GitHubsom3canadian/bloodhound_customqueries_toolset

BloodHound_CustomQueries_Toolset

Tool to import your custom queries from BloodHound "Legacy" to BloodHound "Community"

View Repository
8432 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

BloodHound_CustomQueries_Toolset

Tool to import your customqueries for BloodHound "Legacy" to BloodHound "Community".

note: on linux/kali, your customqueries.json file for BloodHound Legacy is located at ~/.config/bloodhound/customqueries.json

Installation

  1. Clone this repository.
  2. Copy the example.env file to .env and fill in the required environment variables.
  3. Install the required packages:
root@kitploit:~
pip3 install -r requirements.txt

Environment Variables

The script uses the following environment variables, which should be set in a .env file (see example.env):

  • BHE_DOMAIN: The domain of the BHE API.
  • BHE_PORT: The port of the BHE API.
  • BHE_SCHEME: The scheme of the BHE API (http or https).
  • BHE_TOKEN_KEY: The token key for the BHE API.
  • BHE_TOKEN_SECRET: The token secret for the BHE API.

More details here: BloodHound API

Usage

root@kitploit:~
python bh-toolset.py [-h] [-i [FILE]] [--new [NEW_FILE]] [--delete]
  • -h: Show the help message and exit.
  • -i: Import customqueries.json file from legacy format. (default: customqueries.json).
  • --new: import customqueries already format for the new version. (default: new_customqueries.json).
  • --delete: Delete all saved queries.

Example

root@kitploit:~
# show help
python3 bh-toolset.py -h
# convert and import customqueries from bloodhound legacy
python3 bh-toolset.py -i
# also import already converted customqueries
python3 bh-toolset.py -i --new
# specify custom file names
python3 bh-toolset.py -i my_customqueries.json --new my_new_customqueries.json
# delete all saved queries
python3 bh-toolset.py --delete

Notes

Some attributes like owned and highvalue have changed in BloodHound Community. You will have to modify those manually (for now). Ex:

  • MATCH (m:User) WHERE m.owned=TRUE RETURN m is now MATCH (m:User) WHERE m.system_tags =~ '.*owned*.' RETURN m
  • see more examples in new_customqueries.json

Credits

  • Yack
Download Tool