Skip to content

Instantly share code, notes, and snippets.

View brownchow's full-sized avatar
🎯
Focusing

Rick brownchow

🎯
Focusing
  • Earth
View GitHub Profile
@brownchow
brownchow / decryptchromecookies.py
Created December 22, 2018 11:02 — forked from DakuTree/decryptchromecookies.py
Decrypt Chrome Cookies File (Python 3) - Windows
#Based off https://gist.github.com/DakuTree/98c8362fb424351b803e & pieces of https://gist.github.com/jordan-wright/5770442
from os import getenv
from shutil import copyfile
import sqlite3
import win32crypt #https://sourceforge.net/projects/pywin32/
# Copy Cookies to current folder
copyfile(getenv("APPDATA") + "/../Local/Google/Chrome/User Data/Default/Cookies", './Cookies')
# Connect to the Database