EnableSecurity / wafw00f

WAFW00F allows one to identify and fingerprint Web Application Firewall (WAF) products protecting a website.
https://www.enablesecurity.com/
BSD 3-Clause "New" or "Revised" License
5.17k stars 924 forks source link

Error in line 22 of the main.py file #189

Closed KarryDavid closed 10 months ago

KarryDavid commented 10 months ago

Error in line 22 of the main file:

iShot_2023-10-24_14 23 04

I can't run the main.py macbookpro M1 11.6. python3.11. the latest wafw00f

Zaeem20 commented 10 months ago

can you specify which pip version you are using?

foozzi commented 10 months ago

Error in line 22 of the main file: iShot_2023-10-24_14 23 04

I can't run the main.py macbookpro M1 11.6. python3.11. the latest wafw00f

You can't run it without installation because of the architecture of the app. You can rename main.py to __main__.py and then try running it using python -m wafw00f

KarryDavid commented 10 months ago

主文件第22行错误: iShot_2023-10-24_14 23 04 我无法运行 main.py macbookpro M1 11.6。python3.11。最新的wafw00f

由于应用程序的架构,您无法在不安装的情况下运行它。 您可以将 main.py 重命名为__main__.py,然后尝试使用python -m wafw00f

Because it takes too much time to download the application, I tried to run it directly, and I can run it successfully through your method.