Created
May 27, 2014 21:56
-
-
Save shurane/ffa15e959e2d134086c9 to your computer and use it in GitHub Desktop.
just individual files at Bas Bosschert's decryption of Whatsapp: http://bas.bosschert.nl/steal-whatsapp-database/
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 | |
import sys | |
from Crypto.Cipher import AES | |
try: | |
wafile=sys.argv[1] | |
except: | |
print "Usage: %s <msgstore.db.crypt>" % __file__ | |
sys.exit(1) | |
key = "346a23652a46392b4d73257c67317e352e3372482177652c".decode('hex') | |
cipher = AES.new(key,1) | |
open('msgstore.db',"wb").write(cipher.decrypt(open(wafile,"rb").read())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment