mxrch / GHunt

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

SyntaxError: invalid syntax #305

Closed RosyHorus closed 2 years ago

RosyHorus commented 2 years ago
Traceback (most recent call last):
  File "ghunt.py", line 3, in <module>
    from lib import modwall; modwall.check() # We check the requirements
  File "/home/gaymeryosr/ghunt/lib/modwall.py", line 29
    if req["specs"] and (specs := req["specs"][0]):
                               ^
SyntaxError: invalid syntax

Screenshots image

mxrch commented 2 years ago

It uses the walrus operator, so it requires Python 3.8+ :)

RosyHorus commented 2 years ago

It uses the walrus operator, so it requires Python 3.8+ :)

Yeah I just saw that on Readme.. I thought at first it only requires python 3.7 :D thx!