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

AttributeError: module 'bcrypt' has no attribute '__about__' with Python 3.11.9 #621

Open
LpCodes opened this issue Oct 17, 2024 · 3 comments

Comments

@LpCodes
Copy link

LpCodes commented Oct 17, 2024

C:\Users\zebra>wapiti -u http://target/
(trapped) error reading bcrypt version
Traceback (most recent call last):
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\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)
[*] You are lucky! Full moon tonight.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Scripts\wapiti.exe_main
.py", line 7, in
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\site-packages\wapitiCore\main\wapiti.py", line 502, in wapiti_asyncio_wrapper
asyncio.run(wapiti_main())
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\site-packages\wapitiCore\main\wapiti.py", line 476, in wapiti_main
loop.add_signal_handler(signal.SIGINT, inner_ctrl_c_signal_handler)
File "C:\Users\zebra\AppData\Local\Programs\Python\Python311\Lib\asyncio\events.py", line 578, in add_signal_handler
raise NotImplementedError
NotImplementedError

@LpCodes LpCodes changed the title AttributeError: module 'bcrypt' has no attribute '__about__' AttributeError: module 'bcrypt' has no attribute '__about__' with Python 3.11.9 Oct 17, 2024
@devl00p
Copy link
Contributor

devl00p commented Oct 17, 2024

Hello,

this is an issue within passlib, see https://foss.heptapod.net/python-libs/passlib/-/issues/190#notes

However there is not fix available right now. You can try to downgrade passlib.

@LpCodes
Copy link
Author

LpCodes commented Oct 18, 2024

any particular version of passlib to which i can downgrade ?

@devl00p
Copy link
Contributor

devl00p commented Oct 19, 2024

based on the passlib issue you can try to force bcrypt==4.0.1

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

2 participants