Skip to content

Commit

Permalink
Merge pull request #305 from Pennyw0rth/neff-patch-bloodhound
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack authored May 15, 2024
2 parents a194fda + faf7f18 commit 94a0b7a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nxc/helpers/bloodhound.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ def add_user_bh(user, domain, logger, config):
_add_with_domain(user_info, domain, tx, logger)
except AuthError:
logger.fail(f"Provided Neo4J credentials ({config.get('BloodHound', 'bh_user')}:{config.get('BloodHound', 'bh_pass')}) are not valid.")
exit()
except ServiceUnavailable:
logger.fail(f"Neo4J does not seem to be available on {uri}.")
exit()
except Exception as e:
logger.fail(f"Unexpected error with Neo4J: {e}")
finally:
Expand Down

0 comments on commit 94a0b7a

Please sign in to comment.