CravateRouge / bloodyAD

BloodyAD is an Active Directory Privilege Escalation Framework
MIT License
1.12k stars 112 forks source link

Error with pathgen #1

Closed TH3xACE closed 2 years ago

TH3xACE commented 2 years ago

First of all, thanks for this amazing project... which seems like a good alternative to aclpwn which has lib issues nowadays.... The error that I am having is when using pathgen.py.

neo4j.exceptions.ClientError: {code: Neo.ClientError.Procedure.ProcedureNotFound} {message: There is no procedure with the name gds.shortestPath.dijkstra.stream registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.}

CravateRouge commented 2 years ago

pathgen.py is using the Dijkstra's algorithm of the GDS library of Neo4j. You have to install the GDS plugin into Neo4j before using pathgen.py.

TH3xACE commented 2 years ago

Thanks... for your response. That was the issue.... Just one question ? if you run pathgen alone... there should be any output ?

CravateRouge commented 2 years ago

You're welcome :)

Do you mean pathgen.py without GDS or pathgen.py without autobloody.py?

TH3xACE commented 2 years ago

pathgen with GDS without autobloody ? just like aclpwn with the argument > -dry to have something like > (USER@TESTSEGMENT.LOCAL)-[MemberOf]->(GROUP@TESTSEGMENT.LOCAL)-[MemberOf]->(ANOTHER GROUP@TESTSEGMENT.LOCAL)-[WriteDacl]->(TESTSEGMENT.LOCAL)

CravateRouge commented 2 years ago

It generates a JSON file with the path but it's not meant to be readable by the user. I have a TODO on autobloody.py to add a simulate option but it's not done yet.