Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Running the script in Kali #10

Closed
tbalz2319 opened this issue Jul 27, 2018 · 3 comments
Closed

Issue Running the script in Kali #10

tbalz2319 opened this issue Jul 27, 2018 · 3 comments

Comments

@tbalz2319
Copy link

Hello,

When I try to run the script i get the following issue below:

bloodhound-python

Traceback (most recent call last):
File "/usr/local/bin/bloodhound-python", line 11, in
load_entry_point('bloodhound==0.4.0', 'console_scripts', 'bloodhound-python')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2700, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2318, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2324, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.6/dist-packages/bloodhound/init.py", line 26, in
from impacket.ldap import ldapasn1
File "/usr/local/lib/python3.6/dist-packages/impacket/ldap/ldapasn1.py", line 578
def init(self, criticality=None, flags=0x00000007L, **kwargs):
^
SyntaxError: invalid syntax

@dirkjanm
Copy link
Owner

dirkjanm commented Jul 28, 2018

That is odd. BloodHound.py is Python 2 only but somehow you managed to get it installed with Python 3. I suggest trying pip3 uninstall bloodhound and then pip2 install bloodhound. Or download the repo locally and make sure to run setup.py with pyhon2 instead of 3.

@dirkjanm
Copy link
Owner

dirkjanm commented Aug 3, 2018

Closing this one, feel free to reopen if above instructions don't fix the problem.

@dirkjanm dirkjanm closed this as completed Aug 3, 2018
@Chainsaw-Sam
Copy link

Heey i have a probleme, i can't found bloodhound-python command
even i isntall with pip install bloodhound
i need help please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants