Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
What's happening?

Akasaka Ryuunosuke vladkorotnev

💭
What's happening?
View GitHub Profile
anonymous
anonymous / Pirate This.sh
Created Jul 11, 2011
A simple script to search for pirated apps (unencrypted Apps), break them, then remove installous. It depends on ericautilities, Darwin cc tools, apt-get, grep, gawk and coreutils.
View Pirate This.sh
#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for App in $(find /var/mobile/Applications -maxdepth 3 -type f -name Info.plist); do
     if [ "$(otool -l "`dirname $App`/`plutil -key CFBundleExecutable "$App"`" | grep cryptid | awk '{print $2}')" = "0" ]; then
#Break app
rm -rf "`dirname '$App'`"
#Remove installous scum
          apt-get remove us.hackulo.* -y 
     fi