Skip to content

Instantly share code, notes, and snippets.

View TrevorHinesley's full-sized avatar

Trevor Hinesley TrevorHinesley

View GitHub Profile
@zweizeichen
zweizeichen / chrome.py
Last active June 8, 2017 05:17
Check your browsing history for sites using Cloudflare
import sqlite3
import tldextract
history_domains = set()
cf_domains = None
print("Loading domains from Chrome browsing history...")
# Copy history from ~/Library/Application Support/Google/Chrome/Default/History
conn = sqlite3.connect('History')