henry-richard7 / Browser-password-stealer

This python program gets all the saved passwords, credit cards and bookmarks from chromium based browsers supports chromium 80 and above!
MIT License
391 stars 60 forks source link

Bug: Cannot decrypt cookie on chrome-beta and chrome-dev #24

Open hahahahacker2009 opened 1 month ago

hahahahacker2009 commented 1 month ago

Adding chrome-beta and its directory to the list It can decrypt login data, but not cookies.

Getting Stored Details from chrome-beta [!] Getting Login data [*] Saved in chrome-beta/login_data.txt

     [!] Getting Credit cards
     [-] No Data Found!
    ------

     [!] Getting Cookies

Traceback (most recent call last): File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 169, in data = get_data(browser_path, profile, master_key, data_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 131, in get_data row[i] = decrypt_password(row[i], key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 98, in decrypt_password decrypted_pass = decrypted_pass[:-16].decode() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9f in position 0: invalid start byte

henry-richard7 commented 1 month ago

It tried in my end for chrome beta, I'm able to decrypt cookies.

Screenshot (2) Screenshot (3)