Jump to content

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


159 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Pal Go: Tower Defense TD v0.3.44 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 28 replies
    • Pal Go: Tower Defense TD v0.3.44 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 51 replies
    • Frozen War v1.9.5 +1 Jailed Cheat [ Damage ]
      Modded/Hacked App: Frozen War By IGG SINGAPORE PTE. LTD.
      Bundle ID: com.igg.ios.frozenwar
      iTunes Store Link: https://apps.apple.com/us/app/frozen-war/id6738370929?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      • 7 replies
    • Frozen War v1.9.5 +1 Cheat [ Damage ]
      Modded/Hacked App: Frozen War By IGG SINGAPORE PTE. LTD.
      Bundle ID: com.igg.ios.frozenwar
      iTunes Store Link: https://apps.apple.com/us/app/frozen-war/id6738370929?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      • 24 replies
    • EGGCRYPTO ( エグリプト 世界に一体だけのモンスターを育成して戦うRPG ) v1.97.1 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: エグリプト 世界に一体だけのモンスターを育成して戦うRPG By Kyuzan Inc.
      Bundle ID: com.kyuzan.eggrypto
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%A8%E3%82%B0%E3%83%AA%E3%83%97%E3%83%88-%E4%B8%96%E7%95%8C%E3%81%AB%E4%B8%80%E4%BD%93%E3%81%A0%E3%81%91%E3%81%AE%E3%83%A2%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%92%E8%82%B2%E6%88%90%E3%81%97%E3%81%A6%E6%88%A6%E3%81%86rpg/id1450911855?uo=4

       


      🤩 Hack Features

      - Auto Win
      • 6 replies
    • EGGCRYPTO ( エグリプト 世界に一体だけのモンスターを育成して戦うRPG ) v1.97.1 +1 Cheat [ Auto Win ]
      Modded/Hacked App: エグリプト 世界に一体だけのモンスターを育成して戦うRPG By Kyuzan Inc.
      Bundle ID: com.kyuzan.eggrypto
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%A8%E3%82%B0%E3%83%AA%E3%83%97%E3%83%88-%E4%B8%96%E7%95%8C%E3%81%AB%E4%B8%80%E4%BD%93%E3%81%A0%E3%81%91%E3%81%AE%E3%83%A2%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%92%E8%82%B2%E6%88%90%E3%81%97%E3%81%A6%E6%88%A6%E3%81%86rpg/id1450911855?uo=4

       
       

      🤩 Hack Features

      - Auto WIn
      • 7 replies
    • God Keeper ( ケモミミヤシロ ) v1.4.0 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: ケモミミヤシロ By HAKONY LLC.
      Bundle ID: com.hakony.godkeeper
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%B1%E3%83%A2%E3%83%9F%E3%83%9F%E3%83%A4%E3%82%B7%E3%83%AD/id6450285105?uo=4


      Hack Features:
      - Coin Multiplier
      - Prayer Multiplier
      - Daily Orb Multiplier
      - Daily Diamond Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] God Keeper ( ケモミミヤシロ ) v1.0.6 +4 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 18 replies
    • God Keeper ( ケモミミヤシロ ) v1.4.0 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: ケモミミヤシロ By HAKONY LLC.
      Bundle ID: com.hakony.godkeeper
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%B1%E3%83%A2%E3%83%9F%E3%83%9F%E3%83%A4%E3%82%B7%E3%83%AD/id6450285105?uo=4


      Hack Features:
      - Coin Multiplier
      - Prayer Multiplier
      - Daily Orb Multiplier
      - Daily Diamond Multipier


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] God Keeper ( ケモミミヤシロ ) v1.0.6 +4 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 9 replies
    • MERGE HAMSTER v1.1.5 +5++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MERGE HAMSTER By DAERI SOFT
      Bundle ID: com.daerigame.hamster
      iTunes Store Link: https://apps.apple.com/us/app/merge-hamster/id6612023397?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies -> Will increase instead of decrease.
      - Merge Merge Pass Unlocked
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] MERGE HAMSTER v1.0.5 +5++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 10 replies
    • Skullgirls Fighting RPG V7.1.2 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 10 replies
    • MERGE HAMSTER v1.1.5 +5++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MERGE HAMSTER By DAERI SOFT
      Bundle ID: com.daerigame.hamster
      iTunes Store Link: https://apps.apple.com/us/app/merge-hamster/id6612023397?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies -> Will increase instead of decrease.
      - Merge Merge Pass Unlocked
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] MERGE HAMSTER v1.0.5 +5++ Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 29 replies
    • Avalar: Shadow War v04.68.15 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Shadow War By Enigma Publishing Limited
      Bundle ID: com.avalar.atwo.epl.as
      iTunes Store Link: https://apps.apple.com/us/app/avalar-shadow-war/id6504173866?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:
      - Damage Multiplier
      - Defence Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Avalar: Tag Team ARPG v04.52.30 +2 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      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:
      - @Puddin


      Cheat Video/Screenshots:

      N/A
        • Winner
      • 62 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