This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2007-03-01T13:00:00Z |