import json, sqlite3 from base64 import b64decode from os.path import expandvars from win32.win32crypt import CryptUnprotectData # pip install pywin32 from Cryptodome.Cipher.AES import new, MODE_GCM # pip install pycryptodomex db = expandvars('%LOCALAPPDATA%/Google/Chrome/User Data/Default/Cookies') key = CryptUnprotectData(b64decode(json.load(open(f'{db}/../../Local State'))['os_crypt']['encrypte