Skip to content

Instantly share code, notes, and snippets.

View jim-plus's full-sized avatar

Jim jim-plus

  • Canada
View GitHub Profile
@zeroaltitude
zeroaltitude / timestamp_cracker
Last active December 21, 2015 03:49
Timestamp cracker, javascript
//
// Cracker for Ingress timestamps. YMMV. BBIAB. KK.
// See this page for example codes to test this with: https://gist.github.com/zeroaltitude/6213498
//
// Usage: main(<cipher> <hour> <trial number> <otp hash>)
//
// E.g.
//
// main('ISGDVWWJXCYSDRXDLSSOVOKIEUJNTVQLJSXQCLCYLRFEFYWVTZILMLACAKVTCCZJNOBYOJ', '2', '2', '7527D47FE0E8F422EE269B666C1A2CA2')
// !!!!!!!!!!! FOUND OTP/TIMESTAMP: WOGLBFSXTPFVKVJGDAVOCRRMQXVQRKCJZVSCIUFMDELLBGZVGWLGYRJJCNILPYCRJMNLLR/MEASUREMENTXTWOXISXATXTWOXOXCLOCKXFOURXMINUTESXANDXFOURTYXNINEXSECONDS
@zeroaltitude
zeroaltitude / timestamp_cracker
Last active December 21, 2015 01:19
Timestamp cracker, Python, version zeroaltitude
#!/usr/bin/env python -tt -3
# -*- coding: utf-8 -*-
# This code should be python 2 and python 3 safe -- use range() instead of xrange(), though
from __future__ import unicode_literals, print_function
import sys
import hashlib
from itertools import chain, product, permutations
from timeit import default_timer as timer
@zeroaltitude
zeroaltitude / Timestamps
Created August 12, 2013 18:19
Timestamp formats for thingy
2007-03-01T13:00:00Z