Jump to content

11 posts in this topic

Recommended Posts

Posted (edited)

Hello! :)


 


 


I am brand new to hacking and from what it seems, mobile substrate methods seem to be the most effective. At the moment I am attempting to learn Method Hooking as it seems easier than other methods such as code injection. I am trying to get a feel for Mobile Substrate before I move on to bigger and greater things.


Here is where I currently am, I have created a new project and have it cd'ed properly. I believe I have the bundle ID in the correct place in the myhack.plist (Project name is myhack) I put it in the key area where it previously said "Bundles". At the moment I am pretty stuck at how to call out headers and methods and how to change values on that and would very much like an in depth explanation. I have read some great tutorials in the help section but none of them are really helpful for somebody who knows absolutely no lingo at all. I am using flex and have class dump but have no idea where to find the headers and methods (Not sure of the difference or what they are) or what to do once I find them. Any input is greatly appreciated. 


 


Thank you for taking the time to read <3


NOTE -- I NOW KNOW THE MSHOOKING AND METHOD HOOKING ARE DIFFERENT THINGS. I AM TRYING TO LEARN METHOD HOOKING.

Updated by UncoiledLobster
Posted

So you want to learn how to make Flex 2 patch into deb or the IDA mshook?

im making a tweak but im using flex to find the headers and methods or whatever they are. I don't know what IDA's are and i don't know what mshooking is. Right now im trying to learn method hooking because it seems easiest and i'm just trying to get a feel for mobile substrate. I'm not trying to make a tweak in flex

Posted

im making a tweak but im using flex to find the headers and methods or whatever they are. I don't know what IDA's are and i don't know what mshooking is. Right now im trying to learn method hooking because it seems easiest and i'm just trying to get a feel for mobile substrate. I'm not trying to make a tweak in flex

So just Flex 2 patches for now? Because you are quite confused :p

Posted

Hey UncoiledLobster (delicacy? xD), I used to do MS hooking the old-fashioned way DIRECTLY on the iPad some years ago, but I gave it up after a THEOS update broke the whole system.  I have an "updated" version running on my device, but I'm afraid that it might not work.....getting these things to work is a real b**** sometimes, but I'll try it out again for you.  BTW, what iOS firmware are you using?

Posted

Hey UncoiledLobster (delicacy? xD), I used to do MS hooking the old-fashioned way DIRECTLY on the iPad some years ago, but I gave it up after a THEOS update broke the whole system.  I have an "updated" version running on my device, but I'm afraid that it might not work.....getting these things to work is a real b**** sometimes, but I'll try it out again for you.  BTW, what iOS firmware are you using?

using ios 9.0.0 Right now everything is working perfectly but it's my lack of knowledge. Also I am trying to do method hooking not ms hooking

Posted

using ios 9.0.0 Right now everything is working perfectly but it's my lack of knowledge. Also I am trying to do method hooking not ms hooking

 

Hey UncoildedLobster, I've actually took a lot of time and decided to fire up THEOS on my current iOS (8.3), and it happens to WORK!  Now, I have done some testing....

 

In the past (around 3 years ago), I was able to hook some custom functions into an onine-only game called Galaxy Empire.  Here's the video that I made for it from 3 years ago; I had dubbed it a "bug", but it was me who actually used MS hooking on it: 

 

 

 

Normally, making that much metal so fast is impossible.  I did this visual hack just for fun at the time.

Now, as far as I know, method hooking and MS hacking seem like the same thing to me.......I used THEOS and wrote my own hooks to the functions/methods, and then generated the .dylib and put it in the MobileSubstrate folder; there you have it. xD

 

***I hacked this on my iPad 2 [iOS 5.1.1] (ARM v7) 3 years ago with the above video results***

 

 

 

Anyways, over the years, many things have changed, and the old ARM architectures have been modified quite a bit, so when I tried to hack the updated Galaxy Empire yesterday on my iPad Air 2 [iOS 8.3] with THEOS, first off, when I dumped the headers (with both class-dump and class-dump-z, mind you), some of the crucial headers from 3 years ago have just.........disappeared (not found/dumped), so I couldn't replicate what I did 3 years ago with Galaxy Empire.  All the headers are full of FB, Flurry, UMAN, MAT, and other ad-tracking content.....there USED to be headers with blatant hackable functions:

 

HERE'S one of those headers from 3 years ago dumped via iOS 5.1.1:

/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */
 
#import "AAGameData.h"
 
@class AASystem, NSArray, NSMutableArray, NSString;
 
@interface AAPlanet : AAGameData
{
    double next_refresh_time;
    double diameter;
    double metal;
    double metal_perhour;
    double metal_max;
    double crystal;
    double crystal_perhour;
    double crystal_max;
    double deuterium;
    double deuterium_perhour;
    double deuterium_max;
    double energy_used;
    double energy_max;
    double metal_energy;
    double crystal_energy;
    double deuterium_energy;
    double solar_plant_energy;
    double fusion_energy;
    double solar_satellite_energy;
    double radar_energy;
    double protected_time;
    unsigned long long planet_id;
    unsigned long long system_id;
    unsigned long long empire_id;
    unsigned long long user_id;
    unsigned long long alliance_id;
    unsigned long long field_max;
    unsigned long long field_max_end;
    unsigned long long field_current;
    unsigned long long user_score;
    int attackLimit;
    int planet_type;
    int planet_activity;
    int planet_icon;
    unsigned int temp_min;
    unsigned int temp_max;
    unsigned int planet_position;
    unsigned int system_position;
    unsigned int galaxy_position;
    unsigned int metal_mine_percent;
    unsigned int crystal_mine_percent;
    unsigned int deuterium_mine_percent;
    unsigned int solar_plant_percent;
    unsigned int fusion_reactor_percent;
    unsigned int solar_satelite_percent;
    unsigned int produce_percent;
    unsigned int pirate_level;
    unsigned int new_gift_id;
    unsigned int gift_id;
    unsigned int sensorArrayRange;
    NSString *debris_desc;
    NSString *planet_name;
    NSString *user_name;
    NSString *alliance_name;
    AASystem *_system;
    NSMutableArray *buildings;
    NSMutableArray *buildingEvents;
    NSMutableArray *fleets;
    NSMutableArray *fleetBuildingEvents;
    NSArray *radarFleets;
    NSMutableArray *moonArray;
    NSMutableArray *moonTransmitRechargeEvent;
    NSArray *kryptonArray;
    BOOL is_protected;
    BOOL is_underattack;
    BOOL destoried;
    BOOL has_debris;
    BOOL is_radar_able;
    BOOL is_radar_on;
    BOOL is_moon;
    double energy_left;
}
 
+ (id)keyPathsForValuesAffectingValueForKey:(id)fp8;
- (void)setKryptonArray:(id)fp8;
- (id)kryptonArray;
- (void)setField_max_end:(unsigned long long)fp8;
- (unsigned long long)field_max_end;
- (void)setSensorArrayRange:(unsigned int)fp8;
- (unsigned int)sensorArrayRange;
- (void)setMoonTransmitRechargeEvent:(id)fp8;
- (id)moonTransmitRechargeEvent;
- (void)setMoonArray:(id)fp8;
- (id)moonArray;
- (void)setIs_moon:(BOOL)fp8;
- (BOOL)is_moon;
- (void)setGift_id:(unsigned int)fp8;
- (unsigned int)gift_id;
- (void)setNext_refresh_time:(double)fp8;
- (double)next_refresh_time;
- (void)setPirate_level:(unsigned int)fp8;
- (unsigned int)pirate_level;
- (void)setRadar_energy:(double)fp8;
- (double)radar_energy;
- (void)setRadarFleets:(id)fp8;
- (id)radarFleets;
- (void)setIs_radar_on:(BOOL)fp8;
- (BOOL)is_radar_on;
- (void)setIs_radar_able:(BOOL)fp8;
- (BOOL)is_radar_able;
- (void)setPlanet_activity:(int)fp8;
- (int)planet_activity;
- (void)setIs_underattack:(BOOL)fp8;
- (BOOL)is_underattack;
- (void)setDebris_desc:(id)fp8;
- (id)debris_desc;
- (void)setUser_score:(unsigned long long)fp8;
- (unsigned long long)user_score;
- (void)setHas_debris:(BOOL)fp8;
- (BOOL)has_debris;
- (void)setSolar_satellite_energy:(double)fp8;
- (double)solar_satellite_energy;
- (void)setFusion_energy:(double)fp8;
- (double)fusion_energy;
- (void)setSolar_plant_energy:(double)fp8;
- (double)solar_plant_energy;
- (void)setDeuterium_energy:(double)fp8;
- (double)deuterium_energy;
- (void)setCrystal_energy:(double)fp8;
- (double)crystal_energy;
- (void)setMetal_energy:(double)fp8;
- (double)metal_energy;
- (void)setSystem:(id)fp8;
- (id)system;
- (void)setProduce_percent:(unsigned int)fp8;
- (unsigned int)produce_percent;
- (void)setSolar_satelite_percent:(unsigned int)fp8;
- (unsigned int)solar_satelite_percent;
- (void)setFusion_reactor_percent:(unsigned int)fp8;
- (unsigned int)fusion_reactor_percent;
- (void)setSolar_plant_percent:(unsigned int)fp8;
- (unsigned int)solar_plant_percent;
- (void)setDeuterium_mine_percent:(unsigned int)fp8;
- (unsigned int)deuterium_mine_percent;
- (void)setCrystal_mine_percent:(unsigned int)fp8;
- (unsigned int)crystal_mine_percent;
- (void)setMetal_mine_percent:(unsigned int)fp8;
- (unsigned int)metal_mine_percent;
- (void)setFleetBuildingEvents:(id)fp8;
- (id)fleetBuildingEvents;
- (void)setFleets:(id)fp8;
- (id)fleets;
- (void)setBuildingEvents:(id)fp8;
- (id)buildingEvents;
- (void)setBuildings:(id)fp8;
- (id)buildings;
- (void)setDestoried:(BOOL)fp8;
- (BOOL)destoried;
- (void)setEnergy_max:(double)fp8;
- (double)energy_max;
- (void)setEnergy_used:(double)fp8;
- (double)energy_used;
- (void)setDeuterium_max:(double)fp8;
- (double)deuterium_max;
- (void)setDeuterium_perhour:(double)fp8;
- (double)deuterium_perhour;
- (void)setDeuterium:(double)fp8;
- (double)deuterium;
- (void)setCrystal_max:(double)fp8;
- (double)crystal_max;
- (void)setCrystal_perhour:(double)fp8;
- (double)crystal_perhour;
- (void)setCrystal:(double)fp8;
- (double)crystal;
- (void)setMetal_max:(double)fp8;
- (double)metal_max;
- (void)setMetal_perhour:(double)fp8;
- (double)metal_perhour;
- (void)setMetal:(double)fp8;
- (double)metal;
- (void)setAlliance_name:(id)fp8;
- (id)alliance_name;
- (void)setUser_name:(id)fp8;
- (id)user_name;
- (void)setPlanet_name:(id)fp8;
- (id)planet_name;
- (void)setDiameter:(double)fp8;
- (double)diameter;
- (void)setField_current:(unsigned long long)fp8;
- (unsigned long long)field_current;
- (void)setField_max:(unsigned long long)fp8;
- (unsigned long long)field_max;
- (void)setGalaxy_position:(unsigned int)fp8;
- (unsigned int)galaxy_position;
- (void)setSystem_position:(unsigned int)fp8;
- (unsigned int)system_position;
- (void)setPlanet_position:(unsigned int)fp8;
- (unsigned int)planet_position;
- (void)setAlliance_id:(unsigned long long)fp8;
- (unsigned long long)alliance_id;
- (void)setUser_id:(unsigned long long)fp8;
- (unsigned long long)user_id;
- (void)setEmpire_id:(unsigned long long)fp8;
- (unsigned long long)empire_id;
- (void)setSystem_id:(unsigned long long)fp8;
- (unsigned long long)system_id;
- (unsigned long long)planet_id;
- (void)setPlanet_type:(int)fp8;
- (int)planet_type;
- (void)setTemp_max:(unsigned int)fp8;
- (unsigned int)temp_max;
- (void)setTemp_min:(unsigned int)fp8;
- (unsigned int)temp_min;
- (void)setProtected_time:(double)fp8;
- (double)protected_time;
- (void)setIs_protected:(BOOL)fp8;
- (BOOL)is_protected;
- (void)setAttackLimit:(int)fp8;
- (int)attackLimit;
- (void)setPlanet_icon:(int)fp8;
- (int)planet_icon;
- (void)refreshResources:(id)fp8;
- (unsigned int)deuterium_mine_discount;
- (unsigned int)crystal_mine_discount;
- (unsigned int)metal_mine_discount;
- (double)energy_left;
- (void)dealloc;
- (void)setPlanet_id:(unsigned long long)fp8;
- (void)updateFleetHangingCompletedWithDic:(id)fp8;
- (void)updateBuildingUpdateWithDic:(id)fp8;
- (void)updateResourcesWithDic:(id)fp8;
- (void)updateWithDic:(id)fp8;
- (id)initWithDic:(id)fp8;
 
@end/*
 ^: So, as you can see, pretty much this entire header is hookable.  Unfortunately, these headers no longer exist in the current version of the game, so I have nothing to show for a current hook for this game.

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

    • Disney Magic Match 3D +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Magic Match 3D By Jam City, Inc.
      Bundle ID: com.jamcity.pdt
      App Store Link: https://apps.apple.com/us/app/disney-magic-match-3d/id6468690398?uo=4

       


      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Lives
      - Unlimited Pre-Game Boosters
      - Unlimited In-Game Boosters
        • Like
      • 8 replies
    • Vampire Survivors +4 Mods [ Damage & Defence ]
      Mod APK Game Name: Vampire Survivors By Poncle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.poncle.vampiresurvivors

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - Unlock All Weapons -> Head over to Options and toggle the Sounds button.
        • Agree
        • Thanks
        • Winner
        • Like
      • 2 replies
    • Vampire Survivors +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire Survivors By Poncle
      Bundle ID: com.poncle.VampireSurvivors
      iTunes Store Link: https://apps.apple.com/us/app/vampire-survivors/id6444525702
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - All Weapons Unlocked -> Head over to Options and toggle the Sounds button.


      Jailbreak required hack(s): [Mod Menu Hack] Vampire Survivors v1.6.104 +5 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 157 replies
    • Idle Gas Station Tycoon +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Idle Gas Station Tycoon By Lime Games LLC
      Bundle ID: com.limegames.idlegas
      iTunes Store Link: https://apps.apple.com/us/app/idle-gas-station-tycoon/id6446057753?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Gas Station Tycoon v1.2 +2 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/
        • Informative
        • Agree
        • Haha
        • Like
      • 6 replies
    • Loot Heroes: Fantasy RPG Games +28 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 248 replies
    • Merge City - Travel & Story v1.3.1 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Merge City - Travel & Story
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bigcool.puzzle.merge.city&hl=en

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Energy / Buy With Gold
      • 0 replies
    • Merge City: Travel & Story v1.3.1 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge City: Travel & Story By Hangzhou Mengku Technology Co., Ltd.
      Bundle ID: com.bigcool.puzzle.merge.city
      App Store Link: https://apps.apple.com/us/app/merge-city-travel-story/id6760990504?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      • 2 replies
    • Merge City: Travel & Story v1.3.1 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge City: Travel & Story By Hangzhou Mengku Technology Co., Ltd.
      Bundle ID: com.bigcool.puzzle.merge.city
      App Store Link: https://apps.apple.com/us/app/merge-city-travel-story/id6760990504?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      • 0 replies
    • Idle Berserker Legend Of Kali +2 Mods [ Damage + More ]
      Mod APK Game Name: Idle Berserker Legend Of Kali By A1GAMES
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.a1gamesstudio.berserker

       

      🤩 Hack Features

      - Damage Multiplier
      - No Skill Cooldown
      • 0 replies
    • Backpack Legends Adventure RPG +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
        • Thanks
        • Winner
        • Like
      • 1 reply
    • Duriano: Roguelike RPG +2 Mods [ Damage + More ]
      Mod APK Game Name: Duriano: Roguelike RPG By Adisoft Gaming
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.adisoft.duriano

       

      🤩 Hack Features

      - Damage Multiplier 
      - God Mode
        • Like
      • 2 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
        • Informative
        • Like
      • 2 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