Search the Community
Showing results for tags 'Tweak.xm'.
Found 3 results
-
You can use this code to add password protection to non jb iOS games/ipa hacks :talking: :talking: . Theos jailed installation guide : https://github.com/kabiroberai/theos-jailed/wiki/Installation [hide] #import <UIKit/UIKit.h> #import <substrate.h> #import <Foundation/Foundation.h> NSString * randomStringWithLength(int len); NSString * decoder(NSString* string); void callme(); UIAlertView *alert; NSUserDefaults *prefs; %hook UnityAppController NSString * n; NSString * str; - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { prefs = [NSUserDefaults standardUserDefaults]; NSString *isStringSet = [prefs stringForKey:@"isStringSet"]; if(![isStringSet isEqualToString:@"1"]) { n = randomStringWithLength(10); //string with size 10. You can keep it 15 or 20 }else { n = [prefs stringForKey:@"string"]; } NSString *myString = [prefs stringForKey:@"auth"]; if(![myString isEqualToString:@"legit"]) { alert = [[UIAlertView alloc] initWithTitle:@"Forward Assault by MaskMan" message:n delegate:self cancelButtonTitle:@"Thanks" otherButtonTitles:@"Visit Us", @"Follow MaskMan",nil]; alert.alertViewStyle = UIAlertViewStylePlainTextInput; [alert show]; } return %orig(); } %new -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { prefs = [NSUserDefaults standardUserDefaults]; str = decoder(n); if(buttonIndex == 0) { if([[alertView textFieldAtIndex:0].text isEqual: str]) { [prefs setObject:@"legit" forKey:@"auth"]; }else { // Game will crash if Password is incorrect [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(callme) userInfo:nil repeats:YES]; [prefs synchronize]; } }else if(buttonIndex == 1) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosmods.com/"]]; [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(callme) userInfo:nil repeats:YES]; }else if(buttonIndex == 2) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://twitter.com/M4skM4n007"]]; [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(callme) userInfo:nil repeats:YES]; } } void callme() { [alert show]; } NSString * randomStringWithLength(int len) { NSString *letters = @"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ0123456789"; NSMutableString *randomString = [NSMutableString stringWithCapacity:len]; for (int i = 0; i < len; i++) { [randomString appendFormat:@"%C", [letters characterAtIndex:arc4random() % [letters length]]]; } prefs = [NSUserDefaults standardUserDefaults]; [prefs setObject:@"1" forKey:@"isStringSet"]; [prefs setObject:randomString forKey:@"string"]; [prefs synchronize]; return randomString; } NSString * decoder(NSString* string) { NSUInteger len = [string length]; NSString * nString = @"'"; for( int i = 0; i<len; i++) { /* I removed this code since people can use it to decode the String you can make your own String decoder here/add the logic. There are a couple of decoder codes on Google. */ } nString = [nString stringByAppendingString:@"'"]; return nString; } %end [/hide]
- 122 replies
-
- theos-jailed
- protect ipa
-
(and 2 more)
Tagged with:
-
Tweak.xm From My Pocketmine Patcher [hide]
-
Bundle Id: com.starmakerapp.thevoicehttps://itunes.apple.com/bg/app/the-voice-sing-and-connect/id545861112?mt=8 Hack Features:- Unlimited access to VIP songs- Ad - free- Exclusive VIP badges- Red stage name- And more Copy and paste it into your Tweak.xm!! [hide]%hook FBUserInfoModel -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg { arg = TRUE; } %end %hook SMStarUserModel -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg1 { arg1 = TRUE; } %end %hook SMPurchasableProductsContainer -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg2 { arg2 = TRUE; } %end %hook SMSongModel -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg3 { arg3 = TRUE; } %end %hook SMFeedUser -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg4 { arg4 = TRUE; } %end %hook SMUser -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg5 { arg5 = TRUE; } %end %hook SMIMUserInfoModel -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg6 { arg6 = TRUE; } %end %hook KTVUserInfo -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg7 { arg7 = TRUE; } %end %hook SMKTVUser -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg8 { arg8 = TRUE; } %end %hook SMUserNameLabelModel -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg9 { arg9 = TRUE; } %end %hook SMSongItem -(bool) isVIP { return TRUE; } %new -(void) setIsVIP:(bool)arg10 { arg10 = TRUE; } %end %hook AppDelegate - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"Successful✔" message:@"Hacked by made by