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

Crypto module problem #23

Closed
Sajjad-Taghinezhad opened this issue Dec 13, 2021 · 4 comments · Fixed by #60
Closed

Crypto module problem #23

Sajjad-Taghinezhad opened this issue Dec 13, 2021 · 4 comments · Fixed by #60

Comments

@Sajjad-Taghinezhad
Copy link

i first run pip3 install -r requirements.txt
when running the script I got this error

File "/Users/***/Tools/log4j-scan/log4j-scan.py", line 22, in
from Crypto.Cipher import AES, PKCS1_OAEP
ModuleNotFoundError: No module named 'Crypto'

any solution?

@alfrede
Copy link

alfrede commented Dec 13, 2021

After pip3 install -r requirements.txt it works

@Sajjad-Taghinezhad
Copy link
Author

didn't work for me

@alfrede
Copy link

alfrede commented Dec 13, 2021

have you got installed the python-cryptography package? https://pkg.kali.org/pkg/python-cryptography

or the solution here: #11 (comment)

@mazen160
Copy link
Contributor

Please check: #10 (comment)

xtaran added a commit to xtaran/log4j-scan that referenced this issue Dec 15, 2021
Fixes fullhunt#23

PyCrypto is EoL, should no more be used and replaced with
PyCryptodome. And at least with recent PyCryptodome version, there
seem to be no more backwards compatibility to PyCrypto at least in
Kali and Debian, but probably also in Ubuntu.
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

Successfully merging a pull request may close this issue.

3 participants