Jump to content

Welcome, Guest!

Sign In or Create my Account to gain full access to our forums. By registering with us, you'll be able to discuss, share and private message with other members of our community.

Search the Community

Showing results for tags 'Code'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum Related
    • Rules
    • Announcements
    • Giveaways
    • Introductions
    • The Lounge
  • iOS Tweaks & Requests
    • Jailbreak Tweaks
    • DIY Tweaks
    • Tweak Requests
  • Non-Jailbroken Section
    • Non-Jailbreak
    • Non-Jailbroken ViP
  • ViP Paradise
    • ViP Tweaks
    • ViP Treats
  • Getting Started
    • Support and Feedback
    • Tools
    • Tutorials
    • Coding Area
  • Graphic Design
    • GFX Tutorials
    • GFX Showcase
    • GFX Tools
    • GFX Requests
  • Miscellaneous
    • Other
    • Cydia
  • Jailbreak Updates
    • Jailbreak Updates
  • Gameplays
    • Gameplays

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 12 results

  1. This is my Tweak.xm for criticalops. This is just for learning purposes. Don't compile this file into a hack, as you will 100% get banned. It is not injected with anti-cheat. If you want me to make a youtube video, let me know in the comments. [hide] #import <substrate.h> #import <mach-o/dyld.h> #import <string> #import <Foundation/Foundation.h> #import "writeData.h" #import <UIKit/UIKit.h> using namespace std; uint64_t getRealOffset(uint64_t offset){ return _dyld_get_image_vmaddr_slide(0)+offset; } void (*CharacterData_update)(void * update, float time, void * weaponDefData); void _CharacterData_update(void * update, float time, void * weaponDefData) { if(update && weaponDefData) { *(int *)((uint64_t)weaponDefData + 0x30) = 0; //buyprice 0x30 *(float *)((uint64_t)weaponDefData + 0x48) += 5.0f; //fireRate 0x48 (increase fireRate by 5.0) *(float *)((uint64_t)weaponDefData + 0x64) = 0.0f; //reloadTime 0x64 *(float *)((uint64_t)weaponDefData + 0xc4) = 0.0f; //recoilPerShot 0xc4 void * inaccuracy = *(void **)((uint64_t)weaponDefData + 0x80); //object to WeaponFactors class 0x80 if(inaccuracy) { //do something } } CharacterData_update(update, time, weaponDefData); } %hook UnityAppController - (void)applicationDidBecomeActive:(id)arg0 { MSHookFunction(((void*)getRealOffset(0x1001BE9E4)),(void *)_CharacterData_update, (void**)&CharacterData_update); %orig; }%end [/hide] Credits: @@maskman007
  2. This is my Tweak.xm for Danger Close game only works on 2019.13.3 version. This is just for learning purposes. If you want me update it, let me know in the comments. source https://github.com/klashksa/Danger-Close-Hack-v2019.13.3 [hide] // // Tweak.xm // // // Created by @Y_Dagriri on 7/8/19. // Copyright © 2019 @Y_Dagriri. All rights reserved. // #import <substrate.h> #import <mach-o/dyld.h> #import <UIKit/UIKit.h> uint64_t getRealOffset(uint64_t offset){ return _dyld_get_image_vmaddr_slide(0)+offset; } void (* PlayerMovement_Update)(void *PlayerMovement); void _PlayerMovement_Update(void *PlayerMovement) { *(float *)((uint64_t)PlayerMovement + 0x74) = 100.0f; PlayerMovement_Update(PlayerMovement); } %ctor { MSHookFunction((void *)getRealOffset(0x1011D3888), (void *)_PlayerMovement_Update, (void **)&PlayerMovement_Update); } [/hide] NOTE : ill make it vip with more features soon
  3. [hide] Ramboat %hook ShopItem - (void)setPrice:(id)fp8 &orig(fp8); fp8=0; } %end %hook WeaponConfig - (int)firePower { return 999999; } - (int)maxAmmo { return 999999; } - (BOOL)isLocked { return false; } - (id)nextUpgradePrice { return 0; } %end %hook WeaponFeature - (int)firePower { return 99999; } - (int)maxAmmo { return 99999; } - (id)price { return 0; } %end %hook GameManager - (void)setSpecialCoins:(int)fp8 { &orig(fp8); fp8=999999; } - (int)specialCoins { return 99999; } - (void)setPokerChips:(int)fp8 { &orig(fp8); fp8=99999; } - (int)pokerChips { return 99999; } - (void)setCoins:(int)fp8 { &orig(fp8); fp8=99999; } - (int)coins { return 99999; } - (void)setCoinsSpent:(int)fp8 { &orig(fp8); fp8=0; } - (int)coinsSpent { return 0; } %end %hook GameState - (void)setCoins:(int)fp8 { &orig(fp8); fp8=99999; } - (int)coins { return 99999; } - (void)setMaxLife:(int)fp8 { &orig(fp8); fp8=9999; } - (int)maxLife { return 9999; } %end [/hide]
  4. 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]
  5. Hacked App: Magic Piano by Smule App Link: https://itunes.apple.com/us/app/magic-piano-by-smule/id421254504?mt=8&uo=4&at=1010lce4 Features: - Unlimited Subscription/Unlocked VIP - Anti JB Detection Tweak.xm: [hide] %hook ANSMetadata -(bool) computeIsJailbroken { return FALSE; } %end %hook ANSMetadata -(bool) isJailbroken { return FALSE; } %end %hook GADDevice -(bool)jailbroken { return FALSE; } %end %hook MagicSubscriptionPlan -(int)period { return 999999; } %end %hook MagicSubscriptionManager -(bool)isSubscriptionActive { return TRUE; } %end %hook MagicSubscriptionManager -(bool)expireAtValid { return TRUE; } %end %hook MagicSubscriptionManager -(bool)isActive { return TRUE; } %end %hook MagicSubscriptionManager -(void)setIsActive:(bool)arg { arg = TRUE; %orig(arg); } %end %hook FBSDKApplicationDelegate -(void)applicationDidBecomeActive:(id)application { UIAlertView *alert1 = [[uIAlertView alloc] initWithTitle:@"Successful ✅" message:@"nVIP is unlocked now enjoy
  6. Admin

    Armed Combat

    [hide] %hook Weapon - (void)setMagazineSize:(int)fp8 { %orig(fp8); fp8=999999; } - (int)magazineSize { return 999999; } - (void)setAmmoInMagazine:(int)fp8 { %orig(fp8); fp8=999999; } - (int)ammoInMagazine { return 999999; } - (void)setAmmoInGun:(int)fp8 { %orig(fp8); fp8=999999; } - (int)ammoInGun { return 999999; } %end %hook WoodCrate - (void)setHealth:(float)fp8 { %orig(fp8); fp8=0.0; } - (float)health { return 0.0; } %end %hook TankVehicle - (void)setHealth:(float)fp8 { %orig(fp8); fp8=0.0; } - (float)health { return 0.0; } %end %hook Player - (void)setSpotted:(_Bool)fp8 { %orig(fp8); fp8=false; } - (_Bool)spotted { return false; } %end %hook Person - (void)setHeadShotted:(_Bool)fp8 { %orig(fp8); fp8=true; } - (_Bool)headShotted { return true; } - (void)setAmmoInGun:(int)fp8 { %orig(fp8); fp8=0; } - (int)ammoInGun { return 0; } %end %hook JeepVehicle - (void)setHasMountedPerson:(_Bool)fp8 { %orig(fp8); fp8=false; } - (_Bool)hasMountedPerson { return false; } %end %hook Enemy - (void)setSpottedPlayer:(_Bool)fp8 { %orig(fp8); fp8=false; } - (_Bool)isAimingToPlayer { return false; } %end %hook Bullet - (void)setBulletSpeed:(float)fp8 { %orig(fp8); fp8=999.9; } - (float)bulletSpeed { return 999.9; } - (float)accuracy { return 999.9; } %end [/hide]
  7. This is more an information post for people that don't know what as example an int is. I will explain this here. [hide] Data Types: Int: comes from the word Integer and is a variablee that can only hold full figures like 1, 56, -8 etc. Float or Double: these are floating point numbers like 4,6 12,7 the decimals are limited though. Char: comes from "character" it is a variable used to save only characters such as: K, L, k, l String: Well a String is basicilly a char array. A string contains than one character as example full words. Before we come to the last Data Type, I have to say that a char is always saved with an apostrophe ' as example: 'H' the string uses the " signs so: "hello". Booleans: Booleans are variables that contain wheither a "true" or "false" value. Now because we want to connect the variables with eachother we need operators: arithmetic operators compare operators logic operators Non of them are hard when you don't understand it the first time read it another time. Operators and algos are important for coding(algorythms are excluded here) as well as sortalgorymths such as Insertionsort(picks a random number out of a list and then sorts it after that), Mergesort(list gets divided in two different lists and always divided again and merged at the end) and bubblesort(I have no fu*king idea). arithmetic operators addition(+), substraction(-), multiplication(*), division(/), [salvage value(%)] [salvage value: if you divide two int values with eachother, just a full figure will be displayed the salvage value is for getting non divided value example: int restvalue; restvalue = 17 % 5; it would display 2.] compare operators compare operators are used to compare most likely numeric elements. the result is this is always a boolean value, which can be saved in a boolean variable. compare operators are: less < less-equal <= greater > grater-equal >= equal ==(two because one = sign is used to allocate values to variables, so the "equal" operator is a ==) disparate != or <> logic operators with those operators you are able to connect boolean values with eachother, these operators operate on bool variables there are 4 logic operators. Negationoperator: it negates the containment of a boolean value. is the value false the negationoperator turns it into true is it true it turns it into false. The Negationoperator is displayed by a ! exampls.: bool trueorfalse1; trueorfalse1 = false; bool trueorfalse2; trueorfalse2 = !trueorfalse1 trueorfalse2 has the value true now. and-operator an and-operator is used to connect 2 boolean values if both values are true it displays true. In every other cause it would display false. its realized through a double & example. bool trueorfalse1, trueorfalse2, trueorfalse3; trueorfalse1 = true; trueorfalse2 = false; trueorfalse3 = true; bool result1, result2; result1 = trueorfalse1 && trueorfalse2; result2 = trueorfalse1 && trueorfalse3; result1 will be false and result2 will be true. Or-operator it connects 2 variables witheachother and displays true, if. at least one of the values are true. The command is a | |. example.: bool trueorfalse1, trueorfalse2; trueorfalse1 = false; trueorfalse2 = true; bool result1, result2, result3; result1 = trueorfalse1 | | trueorfalse2; result2 = trueorfalse1 | | false result3 = 5 > 3(true) | | false result1 has the value true, result2 the value false, result3 has the value true. either-or-operator connects 2 bools with eachother and displays true if at exact 1 value is true, in all over causes its false, its realized through a circumflex ^. example: bool eitheror1, eitheror2; eitheror1 = true ^ true; eitheror2 = true ^ false; eitheror1 is false and eitheror2 is true. Then you can combine operators. int result1, result2; result1 = 2 + 3 + 4 - 5 result2 = 4 + 20 / 3 - 8 * 2; [/hide] -Seb Enjoy
  8. For new hackers :3 [hide] %hook Coins -(int)have{ return 9999999; } %end %hook State - (int) getLevel { return 1000; } -(bool)dirty{ return FALSE; } -(bool)hungry{ return FALSE; } -(bool)tired{ return FALSE; } -(bool)sick{ return FALSE; } -(void)setFun:(double) argument{ argument=9999999; } %end [/hide]
  9. 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
  10. This code will allow you to bypass anti debug protection on apps that have debugging protection. This was not made by me, I found it somewhere in my old files. Here is the Tweak.xm: [hide] #import <substrate.h> #if !defined(PT_DENY_ATTACH) #define PT_DENY_ATTACH 31 #endif //declare orig of ptrace static int (*_ptraceHook)(int request, pid_t pid, caddr_t addr, int data); //implementation of the hook static int $ptraceHook(int request, pid_t pid, caddr_t addr, int data) { if (request == PT_DENY_ATTACH) { //check if the request is PT_DENY_ATTACH request = -1; //invalidate if it is PT_DENY_ATTACH } return _ptraceHook(request,pid,addr,data); //call orig } %ctor { MSHookFunction((void *)MSFindSymbol(NULL,"_ptrace"), (void *)$ptraceHook, (void **)&_ptraceHook); }
  11. One of my earlier projects Fruit Ninja - MSHOOK - [hide] #include <Foundation/Foundation.h> #include <substrate.h> #include <CoreFoundation/CoreFoundation.h> int bombsSpawn() { return 0; } int critChance() { return INT_MAX; } int lifeLost() { return 0; } bool newBest() { return TRUE; } bool winPlayer() { return TRUE; } int tournamentFee() { return 0; } bool tournamentBeat() { return TRUE; } %ctor{ MSHookFunction(((void*)MSFindSymbol(NULL, "__Z11IsTimedGamev")),(void*)isTimed, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN11WaveManager9SpawnBombEiP12SPAWNER_INFOi")),(void*)bombsSpawn, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN11WaveManager17GetCriticalChanceEi")),(void*)critChance, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN11WaveManager12CriticalModeEi")),(void*)critChance, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10Components5Score8LifeLostE8_Vector3IfEiP6Entity")),(void*)lifeLost, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZNK10Components5Score9IsNewBestEv")),(void*)newBest, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__Z15PlayerIsWinningi")),(void*)winPlayer, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN9AIManager10Tournament11GetEntryFeeERKN6Mortar11AsciiStringE")),(void*)tournamentFee, NULL); MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN9AIManager10Tournament18AllOpponentsBeatenEv")),(void*)tournamentBeat, NULL); } [/hide] Guess the features :3
  12. These are not all the features, only 3. They are: ammo, grenades and points. Here is the Tweak.xm: /* Copyright NitroxicDemon */ /*************************************/ /**Usage: writeData(0xADDR, 0xDATA);**/ /*************************************/ #include "writeData.h" %ctor { double delayInSeconds = 5.0; dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)); dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ writeData(0x234846, 0xC046C046); //<<<<<<<< might be ammo or nades writeData(0x23AE4E, 0xC046C046); // Either ammo or nades I forgot writeData(0x20F0A4, 0x47614761); //Points }); } %hook s3eAppDelegate -(void)applicationDidBecomeActive:(id)arg { UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"COD:BOZ Hack" message:@"Hacked by NitroxicDemon for iOSMods.com!" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"Visit Us", nil]; [credits show]; [credits release]; return %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.iOSMods.com/"]]; } } %end
×
×
  • Create New...