You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to find nss3.dll on Windows (Python 64bits, Firefox 32bits) #8
I suspect this might be an incompatibility between your Python version and your Firefox version.
In particular your Python 2.7 is probably 64bits while your Firefox is 32bits. These have to match.
Can you confirm by checking your list of installed programs or following these instructions.
Activity
unode commentedon Feb 2, 2017
Yes, the
rmakes it a raw string.Can you paste the location of your Firefox installation?
Can you also confirm if
nss3.dllis present in that directory?Can you also run
firefox_decrypt.py -vvv(make sure to remove your password from the output).[-]Hey[/-][+]Unable to find nss3.dll on Windows[/+]I2obiN commentedon Feb 3, 2017
Okay cool, I have firefox in the default location of "C:\Program Files (x86)\Mozilla Firefox" and can confirm nss3.dll is located there
This is the output I get,
C:\Python27>python.exe firefox_decrypt.py -vvv 2017-02-03 05:11:45,407 - DEBUG - Parsed commandline arguments: Namespace(choice=None, export_pass=False, list=False, no_interactive=False, profile='C:\\Users\\thoma\\AppData\\Roaming\\Mozilla\\Firefox', verbose=3) 2017-02-03 05:11:45,407 - DEBUG - Skipping password store test, not exporting 2017-02-03 05:11:45,407 - DEBUG - PATH is now C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\TShell\TShell\;C:\Users\thoma\Anaconda2;C:\Users\thoma\Anaconda2\Scripts;C:\Users\thoma\Anaconda2\Library\bin;C:\Users\thoma\AppData\Local\Microsoft\WindowsApps;;C:\Program Files (x86)\Mozilla Firefox 2017-02-03 05:11:45,407 - DEBUG - Loading NSS library from C:\Program Files (x86)\Mozilla Firefox\nss3.dll 2017-02-03 05:11:45,408 - ERROR - Problems opening 'nss3.dll' required for password decryption 2017-02-03 05:11:45,408 - ERROR - Error was [Error 193] %1 is not a valid Win32 applicationunode commentedon Feb 3, 2017
I suspect this might be an incompatibility between your Python version and your Firefox version.
In particular your Python 2.7 is probably 64bits while your Firefox is 32bits. These have to match.
Can you confirm by checking your list of installed programs or following these instructions.
I2obiN commentedon Feb 3, 2017
Yep turned out it was Python 2.7 64bit, thank you for your help really really appreciate it :)
[-]Unable to find nss3.dll on Windows[/-][+]Unable to find nss3.dll on Windows (Python 64bits, Firefox 32bits)[/+]unode commentedon Feb 3, 2017
Glad it works now. You are welcome.
SweetLiberty92 commentedon Mar 4, 2018
@unode Why does the version of Python have to be the same as the version of Firefox? Is this because 32-bit python would be trying to load 64-bit dll?
unode commentedon Mar 5, 2018
@Ike-Clinton it's a limitation. Not versions but architecture.