Skip to content

Instantly share code, notes, and snippets.

View Graystripe17's full-sized avatar
🏄

Winston Van Graystripe17

🏄
View GitHub Profile
@Graystripe17
Graystripe17 / cookiemonster.go
Created February 20, 2019 14:41 — forked from dacort/cookiemonster.go
Simple script to extract (encrypted) cookies out of Chrome OS X cookie store. Usage: ./cookiemonster domain.com
package main
import (
"code.google.com/p/go.crypto/pbkdf2"
"crypto/aes"
"crypto/cipher"
"crypto/sha1"
"database/sql"
"fmt"
"log"
@Graystripe17
Graystripe17 / erdos-woods.py
Last active March 26, 2017 02:39 — forked from Hainish/erdos-woods.py
Proof that 16 is an Erdős-Woods number
from fractions import gcd
k = 0
a = 0
UPPER_CHECK = 10000
while True:
while a < UPPER_CHECK:
ew = True
for i in xrange(a+1, a+k):
if gcd(i, a) == 1 and gcd(i, a+k) == 1: