Jump to content

How to add a license check for my Tweak


Go to solution Solved by Rook,

8 posts in this topic

Recommended Posts

Posted (edited)
Hey, guys, I need to add a license check for my tweak, to prevent others are free to reprint my hack,

 

anyone can help me?

 

I tried to use  CPLoader 7.1 CPLoader 7.0 CPLoader 6.9  ,but it's not working for me,

 

I tested several games dylib, do not work for me

 

test device:iPhone4s ios 7.1.2

 

This is my Tweak.xm :



#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <substrate.h>

#define PLIST_PATH @"/var/mobile/Library/Preferences/panda.plist"

inline bool GetPrefBool(NSString *key) {
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
if(GetPrefBool(@"kSkill"))
{
writeData(0x18038C, 0xFF28);
writeData(0x1803C6, 0x5FF09042);
} else {
}

if(GetPrefBool(@"kScreen"))
{
writeData(0x24BF08, 0xFF28);
} else {
}

}

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg {

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Test hack"
message:@"Hacked by Hackjoy for iosgods.com ."
delegate:self
cancelButtonTitle:@"Thanks"
otherButtonTitles:@"Visit US", nil];
[credits show];
[credits release];
%orig();
}

%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

NSString *button = [alertView buttonTitleAtIndex:buttonIndex];

if([button isEqualToString:@"Visit US"])
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iosgods.com"]];
}
}

%end

Updated by Hackjoy
Posted

Did you try all CPLoader versions?

Yes, I tried 3 versions of UPLoader
6.9,7.0 and 7.1, but they all did not work for me
  • Solution
Posted (edited)

Yes, I tried 3 versions of UPLoader

6.9,7.0 and 7.1, but they all did not work for me

They don't seem to be working anymore.. Should wait for an update.

 

 

@@Hackjoy

 

Updated here: https://iosgods.com/topic/13119-update-2-ios-9-cploader-71-dylibtweakhack-encryptionencoder-tool-license-check/

Updated by DiDA
Posted

They don't seem to be working anymore.. Should wait for an update.

I have been waiting authors update, but he seemed very busy.
Do you have a better way to prevent piracy tweak it? Thank you
Posted

I have been waiting authors update, but he seemed very busy.

Do you have a better way to prevent piracy tweak it? Thank you

Right now, no. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines