Comments (9)
updating the python3 libs will resolve the bookmark bolt errors
I rewrote the DBCreator.py file to fix the version update issues. You can use this one that works on my updated recon vm
from bloodhound-tools.
So I was trying to use generate and this is how it worked for me:
going to http://localhost:7474/
and logging in by using default username password => neo4j
:neo4j
(which tells you to reset password)
then running the updated DBCreator_update.zip
typing dbconfig
and entering the username, password which you reset while setting up the db
and then typing generate
worked for me
from bloodhound-tools.
python3.10
i have the latest ubuntu (22.04) with all updates
from bloodhound-tools.
So I was trying to use generate and this is how it worked for me:
going to
http://localhost:7474/
and logging in by using default username password =>neo4j
:neo4j
(which tells you to reset password) then running the updated DBCreator_update.zip typingdbconfig
and entering the username, password which you reset while setting up the db and then typinggenerate
worked for me
thx. this works for me
from bloodhound-tools.
I have a similar issue. Maybe those additional datapoints help.
Ubuntu 20.04.1
(Cmd) cleardb
Clearing Database
Traceback (most recent call last):
File "DBCreator.py", line 806, in <module>
MainMenu().cmdloop()
File "DBCreator.py", line 69, in cmdloop
cmd.Cmd.cmdloop(self)
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "DBCreator.py", line 166, in do_cleardb
result = session.run(
File "/home/laura/.local/lib/python3.8/site-packages/neo4j/__init__.py", line 503, in run
self._connection.fetch()
File "/home/laura/.local/lib/python3.8/site-packages/neobolt/direct.py", line 419, in fetch
return self._fetch()
File "/home/laura/.local/lib/python3.8/site-packages/neobolt/direct.py", line 461, in _fetch
response.on_failure(summary_metadata or {})
File "/home/laura/.local/lib/python3.8/site-packages/neobolt/direct.py", line 755, in on_failure
raise CypherError.hydrate(**metadata)
neobolt.exceptions.ClientError: Supplied bookmark [FB:kcwQw47xDD+DSAe/59LRT1v0L1eQ] does not conform to pattern neo4j:bookmark:v1:tx
The same errors occurs on "generate" and and "clear_and_generate".
from bloodhound-tools.
I am getting the same issue on windows 10, don't hate I have no choice 👎
Traceback (most recent call last):
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 806, in <module>
MainMenu().cmdloop()
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 69, in cmdloop
cmd.Cmd.cmdloop(self)
File "C:\Users\lflinders\AppData\Local\Programs\Python\Python38\lib\cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "C:\Users\lflinders\AppData\Local\Programs\Python\Python38\lib\cmd.py", line 217, in onecmd
return func(arg)
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 200, in do_generate
self.generate_data()
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 261, in generate_data
session.run(f"{base_statement},n.highvalue=true", gname=cn(
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neo4j\__init__.py", line 503, in run
self._connection.fetch()
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neobolt\direct.py", line 419, in fetch
return self._fetch()
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neobolt\direct.py", line 461, in _fetch
response.on_failure(summary_metadata or {})
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neobolt\direct.py", line 755, in on_failure
raise CypherError.hydrate(**metadata)
neobolt.exceptions.ClientError: Supplied bookmark [FB:kcwQiFWgM2XfQS67VlUPuKDx/8kFOpA=] does not conform to pattern neo4j:bookmark:v1:tx
Looks like either the creator needs updating or Neo4j needs upgrading
BloodHoundAD/BloodHound#343
If i upgrade Neo4j to the latest version 4.2.1 I get a new error,
Traceback (most recent call last):
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neo4j\data.py", line 139, in index
return self.__keys.index(key)
ValueError: tuple.index(x): x not in tuple
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 806, in <module>
MainMenu().cmdloop()
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 69, in cmdloop
cmd.Cmd.cmdloop(self)
File "C:\Users\lflinders\AppData\Local\Programs\Python\Python38\lib\cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "C:\Users\lflinders\AppData\Local\Programs\Python\Python38\lib\cmd.py", line 217, in onecmd
return func(arg)
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 204, in do_clear_and_generate
self.do_cleardb("a")
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\BloodHound-Tools\DBCreator\DBCreator.py", line 176, in do_cleardb
session.run("DROP {}".format(index['description']))
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neo4j\data.py", line 97, in __getitem__
index = self.index(key)
File "C:\Users\lflinders\Desktop\code\SWARM\Hunter\PlumHound\venv\lib\site-packages\neo4j\data.py", line 141, in index
raise KeyError(key)
KeyError: 'description'
This issue is isolated to resetting the DB schema, so if you manual clear the DB then you can dodge this issue.
from bloodhound-tools.
This fix works for me.
pip uninstall neotime neo4j neobolt
pip install neo4j
from bloodhound-tools.
This was fixed in #28.
from bloodhound-tools.
i'm getting the following error:
any clue?
EDIT: the domain name was too long (18 chars) and for some reason it didnt liked that ><
from bloodhound-tools.
Related Issues (13)
- Encoding Issues HOT 1
- Database Connection Failed HOT 2
- Version 2 data not compatible with bloodhound 3
- Database name to export neo4j data HOT 1
- DBCreator.py clear_and_generate command fails HOT 2
- DBCreator.py crash using Python3.7 on OSX HOT 1
- Error while generating data for BloodHound (Resolved) HOT 5
- DBcreator.py failed at generate command HOT 1
- Is this project dead? HOT 2
- DBCreator fails during generate - using DBCreator_update.zip
- AttributeError: 'Record' object has no attribute '_values' HOT 1
- Column is an INT instead of a STRING (column letter)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloodhound-tools.