Closed GoogleCodeExporter closed 9 years ago
Hi there, I can't see any reason that lsadump should produce that kind of
error. Could you please delete all .pyc and .pyo files under the
volatility/plugins directory, and try again?
Original comment by mike.auty@gmail.com
on 12 Feb 2012 at 3:33
C:\Users\dmk\volatility>cd volatility\plugins
C:\Users\dmk\volatility\volatility\plugins>del *.pyc
C:\Users\dmk\volatility\volatility\plugins>del *.pyo
Could Not Find C:\Users\dmk\volatility\volatility\plugins\*.pyo
C:\Users\dmk\volatility\volatility\plugins>cd ..\..
C:\Users\dmk\volatility>vol.py -f ..\win7sp1x64.dmp --profile=Win7SP1x64 -h
Volatile Systems Volatility Framework 2.1_alpha
*** Failed to import volatility.plugins.registry.lsadump (ImportError: DLL load
failed: %1 is not a valid Win32 application.)
Usage: Volatility - A memory forensics analysis platform.
:(
Original comment by moltes...@gmail.com
on 12 Feb 2012 at 4:21
Sorry, I wasn't clear enough, you need to remove all the pyc files under
volatility/plugins and all of its subdirectories (in this case, specifically
volatility/plugins/registry).
Thinking about it further, this is probably an issue with your pycrypto
installation. Please ensure that you have successfully installed pycrypto for
windows. You should test that you can do the following without error in python:
import Crypto.Hash import MD5, MD4, HMAC
import Crypto.Cipher import ARC4, DES
Original comment by mike.auty@gmail.com
on 12 Feb 2012 at 5:03
Sorry, it is a user error. I installed pycrypto for x86, but this is an x64
platform.
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import volatility.win32.lsasecrets
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "volatility\win32\lsasecrets.py", line 31, in <module>
import volatility.win32.hashdump as hashdump
File "volatility\win32\hashdump.py", line 31, in <module>
from Crypto.Hash import MD5, MD4
ImportError: DLL load failed: %1 is not a valid Win32 application.
now i need to compile pycrypto for x64...
thanks
Original comment by moltes...@gmail.com
on 12 Feb 2012 at 5:08
No problem, glad we figured out what was wrong. 5:)
Original comment by mike.auty@gmail.com
on 12 Feb 2012 at 5:10
Original issue reported on code.google.com by
moltes...@gmail.com
on 12 Feb 2012 at 12:46