Skip to content

Instantly share code, notes, and snippets.

import base64
import hashlib
import json
import requests
import sys
def get_hash(pwhash,nonce):
# var noncedpwd = CryptoJS.SHA256(CryptoJS.enc.Hex.parse(CryptoJS.enc.Base64.parse(data.Nonce) + saltedpwd)).toString(CryptoJS.enc.Base64);
m = hashlib.sha256()
payload = base64.b64decode(nonce) + base64.b64decode(pwhash)
# Robot Roll Call
#
# robot roll call - does what it says
#
robots = [
"http://i.imgur.com/6PcNC.jpg", # robot roll call
"http://i.imgur.com/9UmSw.jpg", # cambot
"http://i.imgur.com/1CrLw.jpg", # gypsy
"http://i.imgur.com/SNpTp.jpg", # tom servo

Keybase proof

I hereby claim:

  • I am tkrpata on github.
  • I am tkrpata (https://keybase.io/tkrpata) on keybase.
  • I have a public key whose fingerprint is E955 BECD 4A2F 6DD1 592C 545B 011E 3C4E 1842 7142

To claim this, I am signing this object: