Jump to content

[Tut] How to make a simple license system for deb


160 posts in this topic

Recommended Posts

Posted (edited)

@klashksa

I PM xiaov, got a reply and solved my problem,

This is xiaov gave me the solution, for my very suitable, provide you with reference:

Quote

 

remove %ctor 

and move your all writedata to inside gameActivatesuccess.

%new -(void)gameActivateSucess {

//alertcode blahh blahh (same with top)

 

//all the writedata here

if(getPrefBool(@"key") {

writedata...

}else {

 }

 

This is my New Tweak.xm :(Works fine on iOS9.x and later)

Spoiler

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

#define string @"iosgods_xiaov"
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.hack.gdjhtbhack.plist"

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

UIAlertView *alert;
%hook AppDelegate

- (char)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 
{


 NSString *vActivateStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"];
 vActivateStr= [NSString stringWithContentsOfFile:vActivateStr encoding:NSUTF8StringEncoding error:nil];


if ([vActivateStr isEqualToString:string])
{
	[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateSucess) userInfo:nil repeats:NO];     
	return %orig;
}
else
{
	[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateFailed) userInfo:nil repeats:NO];     
	return %orig;
}
}


%new -(void)gameActivateSucess {

if(GetPrefBool(@"kCD"))
{
writeData(0x11A00C2, 0x00207047);
} else {
}

if(GetPrefBool(@"kMp"))
{
writeData(0x1571DE, 0x00207047);
} else {
}

UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"title" message: @"Activated Sucess" delegate:self cancelButtonTitle:@"ok" otherButtonTitles: nil];
[alert show];
[alert release];

}

%new -(void)gameActivateFailed {

alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Please enter your password" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles: @"Login", nil];
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
[alert show];
[alert release];


}


%new - (void)alertView:alert clickedButtonAtIndex:(NSInteger)buttonIndex
{
        if (buttonIndex == 0) {  

            
        }
        if (buttonIndex == 1) {  
        
            
           	NSString *passwordStr = [alert textFieldAtIndex:0].text;
            NSData *data = [passwordStr dataUsingEncoding:NSUTF8StringEncoding];
            NSString *directoryStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"];
            [data writeToFile:directoryStr atomically:YES];  //write plist

            exit(0);
        }

}

%end

 

Updated by Hackjoy
Posted

@Hackjoy Thank u pro it is worked fine On my device. But how can i add this code inside it ?

Because i'm always using this way 

%hook xxxxxx

-(void)xxxxx(bool)arg

{

arg = TRUE;

}

%end 

 

I didn't use this way never 

if(GetPrefBool(@"kMp"))
{
writeData(0x1571DE, 0x00207047);
} else {
}

I hope u understand me . Because i speak English a little  ? 

Posted
On 2/16/2018 at 5:34 PM, klashksa said:

@Hackjoy Thank u pro it is worked fine On my device. But how can i add this code inside it ?

Because i'm always using this way 

%hook xxxxxx

-(void)xxxxx(bool)arg

{

arg = TRUE;

}

%end 

 

I didn't use this way never 


if(GetPrefBool(@"kMp"))
{
writeData(0x1571DE, 0x00207047);
} else {
}

I hope u understand me . Because i speak English a little  ? 

Did you get you're answer yet?

Posted
On 2/17/2018 at 6:34 AM, klashksa said:

@Hackjoy Thank u pro it is worked fine On my device. But how can i add this code inside it ?

Because i'm always using this way 

%hook xxxxxx

-(void)xxxxx(bool)arg

{

arg = TRUE;

}

%end 

 

I didn't use this way never 


if(GetPrefBool(@"kMp"))
{
writeData(0x1571DE, 0x00207047);
} else {
}

I hope u understand me . Because i speak English a little  ? 

 

int hackResult = 0;

%hook AppDelegate

- (char)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 
{

use same code in my tut;

}

%new -(void)gameActivateSucess {

hackResult = 1;

}

%end

 

%hook xxxxxx

-(void)xxxxx(bool)arg

{

if(hackResult == 1) {

arg = TRUE;

} else {

arg = FALSE;

}

%end

On 4/5/2018 at 4:53 AM, Pradeep6868 said:

if you do please send me a pm because I also don't understand this.

check on top replied

  • Thanks 1

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
  • Our picks

    • Supermarket Tycoon 3D +4 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Supermarket Tycoon 3D By Amobear Game Global
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.supermarket.manager.simulator.game

       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Tickets -> Will increase instead of decrease.
      -- No Ads
      • 0 replies
    • Supermarket Tycoon 3D +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Tycoon 3D By AMOBEAR PTE. LTD
      Bundle ID: com.supermarket.manager.simulator.game
      App Store Link: https://apps.apple.com/us/app/supermarket-tycoon-3d/id6739697316?uo=4

       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Tickets -> Will increase instead of decrease.
      -- No Ads
        • Winner
      • 1 reply
    • Longleaf Valley +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Longleaf Valley: Merge Game By TreesPlease Games Ltd
      Bundle ID: com.treespleasegames.merge1
      App Store Link: https://apps.apple.com/us/app/longleaf-valley-merge-game/id1573565989?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 34 replies
    • Monster Crest: Idle Survivor +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Monster Crest: Idle Survivor By Huy Bach
      Bundle ID: com.goldentier.TheLastHope
      App Store Link: https://apps.apple.com/us/app/monster-crest-idle-survivor/id6741066532?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
        • Like
      • 4 replies
    • Match Jong - Zen Tile Puzzle +1 Jailed Cheat [ Unlimited Coins ]
      Modded/Hacked App: Match Jong - Zen Tile Puzzle By Sophun Games Ltd
      Bundle ID: com.sophungamesltd.orientile
      iTunes Store Link: https://apps.apple.com/us/app/match-jong-zen-tile-puzzle/id6446582118?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
        • Thanks
        • Like
      • 2 replies
    • Tap King: Idle Clicker (RPG) +5 Mods [ Damage & Defence ]
      Mod APK Game Name: Tap King: Idle Clicker (RPG) By SpellSoft Studio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=spellsoftstudio.tapking

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Tar -> Will increase instead of decrease.
      - Unlimited Gold -> Will increase instead of decrease.
      • 0 replies
    • Capybara Survivor Idle RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Capybara Survivor Idle RPG By RED MOON TECHNOLOGY
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.capybara.legend.survivor.idle.battle

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Like
      • 1 reply
    • Backpack Chef +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Backpack Chef By GAME OVEN
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.wizelynco.tkw

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Beast Evo: Blade Survivor v1.0.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Beast Evo: Blade Survivor By GREENWORMS ENTERTAINMENT COMPANY LIMITED
      Bundle ID: com.greenwormsentertainment.beastevo
      App Store Link: https://apps.apple.com/us/app/beast-evo-blade-survivor/id6757626343?uo=4

      🤩 Hack Features

      - Unlimited Diamonds
      - Unlimited Gems
      - Unlimited Coins
        • Like
      • 0 replies
    • Beast Evo: Blade Survivor v1.0.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Beast Evo: Blade Survivor By GREENWORMS ENTERTAINMENT COMPANY LIMITED
      Bundle ID: com.greenwormsentertainment.beastevo
      App Store Link: https://apps.apple.com/us/app/beast-evo-blade-survivor/id6757626343?uo=4

      🤩 Hack Features

      - Unlimited Diamonds
      - Unlimited Gems
      - Unlimited Coins
      • 0 replies
    • Virtual Families 3 +3 Mods [ Coins + More ]
      Mod APK Game Name: Virtual Families 3 By Last Day of Work, LLC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ldw.vf3

       

      🤩 Hack Features

      - Unlimited Coins -> Head into Settings and toggle the Contact Support button.
      - Unlimited Food -> Head into Settings and toggle the Contact Support button.
      - Unlimited Pet Food -> Head into Settings and toggle the Contact Support button.
      • 0 replies
    • Idle Bank Tycoon: Money Game +1 Jailed Cheat
      Modded/Hacked App: Idle Bank Tycoon: Money Game By Kolibri Games GmbH
      Bundle ID: com.luckyskeletonstudios.idlebanktycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-bank-tycoon-money-game/id1645281275?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Freeze Currencies


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 223 replies
×
  • 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