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

libnss not found (libnss3.so) #6

Closed
tokyoneon opened this issue Jun 11, 2018 · 4 comments
Closed

libnss not found (libnss3.so) #6

tokyoneon opened this issue Jun 11, 2018 · 4 comments

Comments

@tokyoneon
Copy link

tokyoneon commented Jun 11, 2018

Hey @onehdev

I took the 9kwbffy3.default/ Firefox profile from my MacBook v10.13 using Firefox v60.0.2 and saved it to my Kali machine.

Using the below command in Kali:

> python3 dumpzilla.py /path/to/9kwbffy3.default/

[ERROR] Error decoding passwords: libnss not found (libnss3.so)
[WARNING] No session info found!

I've installed python-nss using pip3, libnss3* and nss-passwords using apt-get but still dumpzilla gives the same error and isn't able to decode the passwords. After trying older versions of dumpzilla, this issue doesn't exist. I think it started with this commit but I'm not positive.

Any help here would be great. I'm hoping to feature dumpzilla in one of my articles this week.

@onehdev
Copy link
Collaborator

onehdev commented Jun 12, 2018

Hi @tokyoneon ,

Could you tell us which are the libnss locations in your computer?

Thanks!

@tokyoneon
Copy link
Author

    > whereis libnss
libnss: /usr/lib/x86_64-linux-gnu/libnss3.so


    > find / -type f -iname *libnss*
/var/lib/dpkg/info/libnss-mdns:amd64.shlibs
/var/lib/dpkg/info/libnss-mdns:amd64.postrm
/var/lib/dpkg/info/libnss3:amd64.md5sums
/var/lib/dpkg/info/libnss-mdns:amd64.triggers
/var/lib/dpkg/info/libnss-mdns:amd64.md5sums
/var/lib/dpkg/info/libnss3:amd64.triggers
/var/lib/dpkg/info/libnss-mdns:amd64.postinst
/var/lib/dpkg/info/libnss-mdns:amd64.list
/var/lib/dpkg/info/libnss3:amd64.list
/var/lib/dpkg/info/libnss3:amd64.symbols
/usr/share/lintian/overrides/libnss-mdns
/usr/share/lintian/overrides/libnss3
/usr/lib/x86_64-linux-gnu/samba/libnss-info.so.0
/usr/lib/x86_64-linux-gnu/libnssutil3.so
/usr/lib/x86_64-linux-gnu/nss/libnssdbm3.chk
/usr/lib/x86_64-linux-gnu/nss/libnssckbi.so
/usr/lib/x86_64-linux-gnu/nss/libnssdbm3.so
/usr/lib/x86_64-linux-gnu/libnss3.so
/lib32/libnss_dns-2.27.so
/lib32/libnss_nisplus-2.27.so
/lib32/libnss_nis-2.27.so
/lib32/libnss_compat-2.27.so
/lib32/libnss_files-2.27.so
/lib32/libnss_hesiod-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns6.so.2
/lib/x86_64-linux-gnu/libnss_dns-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns4.so.2
/lib/x86_64-linux-gnu/libnss_nisplus-2.27.so
/lib/x86_64-linux-gnu/libnss_nis-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns.so.2
/lib/x86_64-linux-gnu/libnss_compat-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns_minimal.so.2
/lib/x86_64-linux-gnu/libnss_files-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns6_minimal.so.2
/lib/x86_64-linux-gnu/libnss_hesiod-2.27.so
/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
/lib/i386-linux-gnu/libnss_dns-2.27.so
/lib/i386-linux-gnu/libnss_nisplus-2.27.so
/lib/i386-linux-gnu/libnss_nis-2.27.so
/lib/i386-linux-gnu/libnss_compat-2.27.so
/lib/i386-linux-gnu/libnss_files-2.27.so
/lib/i386-linux-gnu/libnss_hesiod-2.27.so

@2A2U
Copy link

2A2U commented Feb 20, 2023

I don't know if this a good way in solving this problem. But I solved it changing the path in the script
from

elif sys.platform.endswith('win') == False: # LINUX`
        libnss_path = "libnss3.so"

to

elif sys.platform.endswith('win') == False: # LINUX
        libnss_path = "/usr/lib/x86_64-linux-gnu/libnss3.so"

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

No branches or pull requests

3 participants