Skip to content

Instantly share code, notes, and snippets.

@eighthave
eighthave / firefox_decrypt_logins.py
Created October 8, 2026 15:36 — forked from n-WN/firefox_decrypt_logins.py
Firefox Saved Passwords Decryptor — PBES2/PBKDF2/AES-256-CBC (key4.db + logins.json)
#!/usr/bin/env python3
"""
Firefox Saved Passwords Decryptor
Decrypt saved logins from Firefox profile backup (logins.json + key4.db).
Supports Firefox profiles using PBES2 + PBKDF2-HMAC-SHA256 + AES-256-CBC.
Requirements:
pip install pycryptodome pyasn1