-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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.Hash module import error #771
Comments
Same. |
$ git clone https://github.com/gdabah/distorm.git sudo apt-get install yara -y |
Thanks for your solution. Now with your solution "(ImportError: No module named Crypto.Hash)" had solved. kali@kali:~/volatility$ sudo python vol.py install What should I do to run volatility without any problems? |
This worked perfectly for me. Had to install the compiler for python. |
This happend when I try install distorm kali@kali: I have already downloaded setuptools |
Thanks, buddy! |
Hi I'm trying to install volatility for testing memory image but the setup was giving errors. When I tried your method I got this. |
@hack-phoenix use python3 not python2 |
You may need to install an older version of distorm3 for python 2 |
Hi, I just found the solution yesterday. So try to run this in the terminal
I you're already done with the crypto.hash, then on the line 3, try to run the
After that try to re-run the first 3 command to install pycrypto and distorm3 |
i have same issue Volatility Foundation Volatility Framework 2.6.1 |
Have you tried any of the solutions here? |
I have the same issue but with a windows machine. How do i fix this please? |
This works for me to fix all the errors Install system dependencies
Install pip for Python 2
Install Volatility 2 and its Python dependencies
|
thank you <3 |
Thank you :) its worked for me too |
thanks |
Worked for me! |
thank you got it working thanks to you both: ArjunaAcchaDipa & secure-77 !!!!!! |
listen to me! you! are! my! god!!! |
Hey. After consolidating all those solutions above, I built an error-free docker image to resolve all issues. You can find the image on docker hub : oste/volatility2 Simply run: docker run --rm oste/volatility2 volatility -h If you care to build the image yourself, you can use the attached Dockerfile.
Enjoy 😉 |
let me look it around |
pycryptodome might be a better choice |
TY!!! |
root@kali:~/Desktop/tryhackme/vol_for# python /root/volatility/vol.py -f victim.raw --profile=Win7SP1x64 shellbags
Volatility Foundation Volatility Framework 2.6.1
*** Failed to import volatility.plugins.registry.shutdown (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.getservicesids (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.timeliner (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.malware.apihooks (NameError: name 'distorm3' is not defined)
*** Failed to import volatility.plugins.malware.servicediff (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.userassist (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.getsids (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.shellbags (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.evtlogs (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.tcaudit (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.dumpregistry (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.lsadump (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.malware.threads (NameError: name 'distorm3' is not defined)
*** Failed to import volatility.plugins.mac.apihooks_kernel (ImportError: No module named distorm3)
*** Failed to import volatility.plugins.registry.amcache (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.mac.check_syscall_shadow (ImportError: No module named distorm3)
*** Failed to import volatility.plugins.malware.svcscan (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.auditpol (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.ssdt (NameError: name 'distorm3' is not defined)
*** Failed to import volatility.plugins.registry.registryapi (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.mac.apihooks (ImportError: No module named distorm3)
*** Failed to import volatility.plugins.envars (ImportError: No module named Crypto.Hash)
*** Failed to import volatility.plugins.registry.shimcache (ImportError: No module named Crypto.Hash)
ERROR : volatility.debug : You must specify something to do (try -h)
root@kali:~/Desktop/tryhackme/vol_for# pip install pycrypto
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
I also reinstalled modules but still same error goes.
The text was updated successfully, but these errors were encountered: