Skip to content

Instantly share code, notes, and snippets.

View rosco5's full-sized avatar

rosco5 rosco5

View GitHub Profile
@rosco5
rosco5 / imessage_decrypt.py
Last active September 6, 2015 16:56 — forked from jan0/imessage_decrypt.py
Decrypt iMessages
from Crypto.Cipher import AES
from StringIO import StringIO
from bplist import BPlistReader #https://github.com/farcaller/bplist-python
import M2Crypto
import gzip
import struct
def xor_strings(s, key):
res = ""
for i in xrange(len(s)):