mxrch / GHunt

🕵️‍♂️ Offensive Google framework.
Other
15.65k stars 1.3k forks source link

Error when initializing ghunt #398

Closed ghost closed 1 year ago

ghost commented 1 year ago

Just installed new release of project on my Ubuntu 20.04.5 LTS and got this traceback:

Traceback (most recent call last):
  File "/home/evilapuera/.local/bin/ghunt", line 5, in <module>
    from ghunt.ghunt import main
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/__init__.py", line 1, in <module>
    from ghunt import globals as gb; gb.init_globals()
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/globals.py", line 5, in init_globals
    from ghunt.objects.utils import TMPrinter
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/objects/utils.py", line 1, in <module>
    from ghunt.helpers.utils import *
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/helpers/utils.py", line 77, in <module>
    def ppnb(nb: float|int) -> float:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
ghost commented 1 year ago

Python version:

python3.8 --version
Python 3.8.10
mxrch commented 1 year ago

You guys are really opening the same issue 2x per day because you can't read the README

image
ghost commented 1 year ago

Also python 3.10 installed.

python3.10 --version
Python 3.10.9
mxrch commented 1 year ago

@evilapuera pipx uninstall ghunt; pipx install ghunt --python $(which python3.10)

ghost commented 1 year ago

Everything right at here, thanks!

Screenshot