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

Error in launch wapiti (Windows 10) #613

Closed
ghost opened this issue Aug 14, 2024 · 2 comments
Closed

Error in launch wapiti (Windows 10) #613

ghost opened this issue Aug 14, 2024 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 14, 2024

OS Windows 10
C:\Users\TannicArcher\wapiti\bin>python wapiti --update
(trapped) error reading bcrypt version
Traceback (most recent call last):
File "C:\Users\TannicArcher\AppData\Roaming\Python\Python312\site-packages\passlib\handlers\bcrypt.py", line 620, in _load_backend_mixin
version = _bcrypt.about.version
^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute 'about'

██╗ ██╗ █████╗ ██████╗ ██╗████████╗██╗██████╗
██║ ██║██╔══██╗██╔══██╗██║╚══██╔══╝██║╚════██╗
██║ █╗ ██║███████║██████╔╝██║ ██║ ██║ █████╔╝
██║███╗██║██╔══██║██╔═══╝ ██║ ██║ ██║ ╚═══██╗
╚███╔███╔╝██║ ██║██║ ██║ ██║ ██║██████╔╝
╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝
Wapiti 3.2.0 (wapiti-scanner.github.io)
[*] Updating modules
Updating module wapp
Downloading CVE data for angularjs
Downloading CVE data for apache
Downloading CVE data for drupal
Downloading CVE data for jetty
Downloading CVE data for joomla
Downloading CVE data for jquery
Downloading CVE data for nextjs
Downloading CVE data for nginx
Downloading CVE data for nodejs
Downloading CVE data for openssl
Downloading CVE data for php
Downloading CVE data for prestashop
Downloading CVE data for spip
Downloading CVE data for tomcat
Downloading CVE data for underscorejs
Downloading CVE data for wordpress
Update done.
Error: None is not a valid domain name
Updating module htp
Update done.
Updating module nikto
Update done.

@devl00p
Copy link
Contributor

devl00p commented Aug 15, 2024

The error is tied to the mitmproxy dependency of Wapiti.

mitmproxy relies on passlib which itself relies on bcrypt.

You can read more about the issue here: kernelci/kernelci-api#520

We are currently using mitmproxy 10.2.3. You can try to upgrade mitmproxy to the latest version (10.4.2) and maybe it will upgrade dependencies in chain.

Note that Wapiti on Windows is not officially supported, we recommend to use WSL (Windows Subsystem Linux)

Even if you manage to fix that bcrypt issue there may be other issues related to the cryptography depencency on Windows.

@ghost
Copy link
Author

ghost commented Aug 16, 2024

The error is tied to the mitmproxy dependency of Wapiti.

mitmproxy relies on passlib which itself relies on bcrypt.

You can read more about the issue here: kernelci/kernelci-api#520

We are currently using mitmproxy 10.2.3. You can try to upgrade mitmproxy to the latest version (10.4.2) and maybe it will upgrade dependencies in chain.

Note that Wapiti on Windows is not officially supported, we recommend to use WSL (Windows Subsystem Linux)

Even if you manage to fix that bcrypt issue there may be other issues related to the cryptography depencency on Windows.

Thanks for answer

@ghost ghost closed this as completed Aug 16, 2024
This issue was closed.
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

1 participant