wapiti-scanner/wapiti

Import module error on NTLM authentication

OwainCharlon opened this issue · 0 comments

I have noticed the httpx_ntlm module is not found during its import for NTLM authentication.
See stacktrace below :

      __      __               .__  __  .__________
     /  \    /  \_____  ______ |__|/  |_|__\_____  \
     \   \/\/   /\__  \ \____ \|  \   __\  | _(__  <
      \        /  / __ \|  |_> >  ||  | |  |/       \
       \__/\  /  (____  /   __/|__||__| |__/______  /
            \/        \/|__|                      \/
 Wapiti 3.1.6 (wapiti-scanner.github.io)
 Traceback (most recent call last):
   File "/usr/local/bin/wapiti", line 33, in <module>
     sys.exit(load_entry_point('wapiti3==3.1.6', 'console_scripts', 'wapiti')())
   File "/usr/local/lib/python3.9/dist-packages/wapiti3-3.1.6-py3.9.egg/wapitiCore/main/wapiti.py", line 369, in wapiti_asyncio_wrapper
     asyncio.run(wapiti_main())
   File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
     return loop.run_until_complete(main)
   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
     return future.result()
   File "/usr/local/lib/python3.9/dist-packages/wapiti3-3.1.6-py3.9.egg/wapitiCore/main/wapiti.py", line 285, in wapiti_main
     if not await check_http_auth(wap.crawler_configuration):
   File "/usr/local/lib/python3.9/dist-packages/wapiti3-3.1.6-py3.9.egg/wapitiCore/net/auth.py", line 38, in check_http_auth
     async with AsyncCrawler.with_configuration(crawler_configuration) as crawler:
   File "/usr/local/lib/python3.9/dist-packages/wapiti3-3.1.6-py3.9.egg/wapitiCore/net/crawler.py", line 148, in with_configuration
     from httpx_ntlm import HttpNtlmAuth
 ModuleNotFoundError: No module named 'httpx_ntlm'