You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to install / run this on current versions of neo4j / neo4j-driver presents a host of issues. Unfortunately its not a super quick fix.
neo4j-driver (python package) has removed the neo4j.v1 package. This is relatively easy to fix. simply change from neo4j.v1 import GraphDatabase to from neo4j import GraphDatabase
The next issue is that the {arg} format of passing variables in database queries has been depreciated. We need to use $arg.
This needs to be fixed in multiple places, but as an example (init.py line ~106):
q = "MATCH (n:%s {name: {name}}) RETURN n"
with database.driver.session() as session:
fromres = session.run(q % args.from_type.capitalize(), name=from_object)
Must change to;
q = "MATCH (n:%s {name: $name}) RETURN n"
with database.driver.session() as session:
fromres = session.run(q % args.from_type.capitalize(), name=from_object)
Finally, the REST API has been removed. This is the tough one, as I'm not sure how to fix. See pathfinding.py:dijkstra_find()
This is just an FYI for anyone attempting to install using recent packages / versions of things.
The text was updated successfully, but these errors were encountered:
Update, the following lines will install the correct versions of things to get aclpwn to run. Note that this isn't always going to work as other pip packages (crackmapexec for example) require neo4j-driver > 4.0.0. I recommend running these commands in a fresh virtualenv.
ALSO, you need to have your actual databse of neo4j < version 4 or this won't work.
Attempting to install / run this on current versions of neo4j / neo4j-driver presents a host of issues. Unfortunately its not a super quick fix.
neo4j-driver (python package) has removed the neo4j.v1 package. This is relatively easy to fix. simply change
from neo4j.v1 import GraphDatabase
tofrom neo4j import GraphDatabase
The next issue is that the {arg} format of passing variables in database queries has been depreciated. We need to use $arg.
This needs to be fixed in multiple places, but as an example (init.py line ~106):
Must change to;
Finally, the REST API has been removed. This is the tough one, as I'm not sure how to fix. See pathfinding.py:dijkstra_find()
This is just an FYI for anyone attempting to install using recent packages / versions of things.
The text was updated successfully, but these errors were encountered: