Instantly share code, notes, and snippets.

View genserial.py
import random
import string
import md5
flag = md5.new()
flag.update("this_is_not_flag!!")
flag_md5 = flag.hexdigest()
print "flag_md5:", flag_md5
flag_md5 = [flag_md5[i:i+4] for i in range(0, len(flag_md5), 4)]
View install_theos.sh
#!/bin/bash
export THEOS=`pwd`/theos
# clone theos.git
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd $THEOS
mv include include.bak
git clone git://github.com/rpetrich/iphoneheaders.git include