-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
I am getting this error while running the tools
ModuleNotFoundError: No module named '_cffi_backend'
thread '' panicked at /usr/share/cargo/registry/pyo3-0.20.2/src/err/mod.rs:788:5:
Python API call failed
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Traceback (most recent call last):
File "/dirsearch/dirsearch.py", line 81, in
main()
~~~~^^
File "/dirsearch/dirsearch.py", line 76, in main
Controller()
~~~~~~~~~~^^
File "/dirsearch/lib/controller/controller.py", line 81, in init
self.run()
~~~~~~~~^^
File "/dirsearch/lib/controller/controller.py", line 178, in run
from lib.connection.requester import Requester
File "/dirsearch/lib/connection/requester.py", line 36, in
from requests_ntlm import HttpNtlmAuth
File "/usr/local/lib/python3.13/dist-packages/requests_ntlm/init.py", line 1, in
from .requests_ntlm import HttpNtlmAuth
File "/usr/local/lib/python3.13/dist-packages/requests_ntlm/requests_ntlm.py", line 9, in
import spnego
File "/usr/local/lib/python3.13/dist-packages/spnego/init.py", line 9, in
from spnego._context import (
...<7 lines>...
)
File "/usr/local/lib/python3.13/dist-packages/spnego/_context.py", line 10, in
from spnego._credential import Credential
File "/usr/local/lib/python3.13/dist-packages/spnego/_credential.py", line 14, in
from spnego._ntlm_raw.crypto import is_ntlm_hash
File "/usr/local/lib/python3.13/dist-packages/spnego/_ntlm_raw/crypto.py", line 23, in
from cryptography.hazmat.primitives.ciphers import Cipher
File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/init.py", line 11, in
from cryptography.hazmat.primitives.ciphers.base import (
...<5 lines>...
)
File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in
from cryptography.exceptions import (
...<3 lines>...
)
File "/usr/lib/python3/dist-packages/cryptography/exceptions.py", line 9, in
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
pyo3_runtime.PanicException: Python API call failed