Universal tool aimed at obtaining and decrypting browser passwords, combined from different articles and sources (listed below).
This is a research into browser password encryption and CGO interfacing.
Educational use only: this tool must not be used for illegal activities.
Releasing in hope that someone might find this interesting.
go build
Get all Chrome passwords:
./browserpass -b c
Once started, on MacOS, you will be prompted to enter your keychain password. The keychain password is needed to get the Chrome keychain decryption key, that is used to decrypt your passwords.
Get all Firefox passwords:
./browserpass -b f
Passwords are printed in the following way:
https://example.com
login: "you"
password: "your_password"
- https://github.com/unode/firefox_decrypt/blob/master/firefox_decrypt.py
- https://cs.chromium.org/chromium/src/components/os_crypt/os_crypt_mac.mm?g=0
- https://medium.com/learning-the-go-programming-language/writing-modular-go-programs-with-plugins-ec46381ee1a9
- https://github.com/kholia/mozilla_password_dump/blob/master/mozilla_password_dump.c
- https://github.com/lacostej/firefox_password_dump/blob/master/ff_key3db_dump.c
- https://github.com/unode/firefox_decrypt
- https://github.com/lclevy/firepwd/blob/master/firepwd.py
- Chrome password decryption (RUS)