darkarp / chromepass

Chromepass - Hacking Chrome Saved Passwords
GNU Affero General Public License v3.0
777 stars 110 forks source link

ImportError: DLL load failer: The specified module could not be found. #3

Closed bowser0000 closed 6 years ago

bowser0000 commented 6 years ago

File "C:\Users\*****\Desktop\chrome-password-hacking-master\create_server.py", line 3, in import os, sys, cgi, py2exe, BaseHTTPServer, sqlite3, win32crypt ImportError: DLL load failed: The specified module could not be found.

I have tried running the powershell command, and have installed python 2.7 in 32 bit and everything else in 32 bit. Not sure why it still doesn't work.

darkarp commented 6 years ago

Are you sure you are running it with the 32-bit version of python? Try to run it giving the full executable path so in cmd: C:\Python27\python.exe create_server.py

If you have both 32 and 64 bit installed it can happen that the default is the 64 bit.

bowser0000 commented 6 years ago

I only have 2.7 32-bit installed, and the full path in cmd still shows the same error :\

darkarp commented 6 years ago

That is indeed strange. Did you install python in the default directory, as in, C:\Python27 ?

bowser0000 commented 6 years ago

Yes I have https://i.imgur.com/M1FKgOa.png

darkarp commented 6 years ago

Have you tried to restart your computer and trying again? I'm trying to reproduce the error so that I can be of assistance but I'm not being able to

bowser0000 commented 6 years ago

I have tried restarting my computer and reinstalling Python but none of those have fixed it.

darkarp commented 6 years ago

I'll continue to try to reproduce the error. In the meantime, you might want to search for people with a similar problem, since it isn't a problem with the code itself.

darkarp commented 6 years ago

Apparently, I tried to have a second perspective on this issue but the only conclusion is that you're missing a required DLL. The easiest way to verify this is just by installing VirtualBox (or another Virtualization software of your choice), installing windows, updating, repeating all the instructions and trying it there.

If it still doesn't work, I can help you by connecting to your Virtual Machine Remotely. Since it is a virtual machine, your Computer is Secure.

bowser0000 commented 6 years ago

Just tried it in a VM

https://i.imgur.com/GYn5Ved.png

Seems to be only missing win32crypt now

EDIT: Redownloaded on my normal Windows 10 and ran in cmd with admin privileges and it seems to only be missing win32crypt as well.

EDIT 2: I added "C:\Python27\Lib\site-packages\pywin32_system32" to my path variable and it asks for my IP address. I put in my public ip and it gives me this.

Traceback (most recent call last):

File "C:\Users\***\\Downloads\chrome-password-hacking-master\create_server.py", line 48, in with open('create_server.py') as f1:

IOError: [Errno 2] No such file or directory: 'create_server.py'

darkarp commented 6 years ago

Okay. Try the following, place all the files belonging to the code in a folder in C:\ Directory, like C:\ChromePasswords

Then, try to run create_server.py again

bowser0000 commented 6 years ago

Traceback (most recent call last): File "C:\ChromePasswords\create_server.py", line 48, in with open('create_server.py') as f1: IOError: [Errno 2] No such file or directory: 'create_server.py'

darkarp commented 6 years ago

That is most certainly weird. Basically that line of the code is opening the same file you're running but it's saying that it doesn't exist.

Try this: Add this line before line 48 (creating a new line and putting this on the line 48: os.chdir(r'C:\ChromePasswords')

And then change line 52 to: i = 60

Then save and try again. If this doesn't work, to be honest the only way I can think to help you is to enter in a remote connection to your VM to see what I can do, because I'm not quite sure how to fix that.

bowser0000 commented 6 years ago

It works now, thanks for your help!

darkarp commented 6 years ago

No problem