Created
September 5, 2013 06:20
-
-
Save kimsama/6446649 to your computer and use it in GitHub Desktop.
objective-c code to detect IAP cracker.
This file contains hidden or 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
| // | |
| // Cydia is automaticly installed on every jailbroken device, so you can check for Jailbreak like this: | |
| // | |
| if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/Cydia.app"]){ | |
| NSLog(@"Jailbreak detected"); | |
| } | |
| // | |
| // IAP Cracker is just some package, and you can check it as like the following: | |
| // | |
| if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Library/MobileSubstrate/DynamicLibraries/iap.dylib"]){ | |
| NSLog(@"IAP Cracker detected"); | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment