Created
July 11, 2011 05:41
-
-
Save anonymous/1075359 to your computer and use it in GitHub Desktop.
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.
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
#!/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 | |
done | |
IFS=$SAVEIFS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment