Jump to content

MsHooking Help


UncoiledLobster

11 posts in this topic

Recommended Posts

Posted

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.

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.

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Toca Boca World Modded v1.105 +1
      Modded/Hacked App: Toca Boca World By Toca Boca AB
      Bundle ID: com.tocaboca.tocalifeworld
      iTunes Store Link: https://apps.apple.com/us/app/toca-boca-world/id1208138685?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Everything Purchased


      Non-Jailbroken & No Jailbreak required hack(s): 


      Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, 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:
      - @Laxus


      Cheat Video/Screenshots:

      N/A

       
      • 1,447 replies
    • Airport City Cheats v8.37.05 +1
      Modded/Hacked App: Airport City by Game Insight UAB
      Bundle ID: com.gameinsight.airportcity
      iTunes Store Link: https://apps.apple.com/us/app/airport-city/id495637457?uo=4&at=1010lce4


      Hack Features:
      - Free Store


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/126716-arm64-airport-city-v717-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/126714-arm64-airport-city-cheats-v717-1/
      • 752 replies
    • The Seven Deadly Sins: Idle Cheats v1.12.1 +4
      Modded/Hacked App: The Seven Deadly Sins: Idle By Netmarble Corporation
      Bundle ID: com.netmarble.nanarise
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins-idle/id6469305531?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Multiply Attack
      - Multiply Defense
      - Modify Range
      - No Ads


      DO NOT BUY VIP FOR THIS CHEAT

      ONLY WORK in PvE so you can farm faster

      Non-Jailbroken Hack: https://iosgods.com/topic/185162-the-seven-deadly-sins-idle-v1120-jailed-cheats-3/

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185131-the-seven-deadly-sins-idle-cheats-v1120-4/
      • 133 replies
    • Travel Town - Merge Adventure Cheats v2.12.961 +1
      Modded/Hacked App: Travel Town By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148953-travel-town-v231-jailed-cheats-1/

      iOS Hack Download Link: https://iosgods.com/topic/148951-travel-town-cheats-all-versions-1/
      • 150 replies
    • Subway Surfers Cheats v3.43.0 +5
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Free Store (not Free iAP)
      - Free iAP (ViP Only)
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (To end level swipe to left til you get dizzy, swipe again and you will lose)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119795-subway-surfers-v3425-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119793-subway-surfers-cheats-v3430-5/
      • 2,275 replies
    • Cafeland - World Kitchen Cheats v2.43.6 +1
      Modded/Hacked App: Cafeland - World Kitchen by Gamegos Internet Teknolojileri Ltd Sti.
      Bundle ID: com.gamegos.mobile.cafeland
      iTunes Store Link: https://apps.apple.com/us/app/cafeland-world-kitchen/id1147665432?uo=4&at=1010lce4



      Hack Features:
      - Freeze Currencies


      iOS Hack Download Link: https://iosgods.com/topic/100701-arm64-cafeland-world-kitchen-cheats-v2023-1/
        • Agree
      • 401 replies
    • Angry Birds 2 Cheats v3.27.3 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
      • 1,941 replies
    • MONOPOLY: The Board Game v1.14.7 +1 Jailed Cheat [ Everything Owned ]
      Modded/Hacked App: MONOPOLY: The Board Game By Marmalade Game Studio Limited
      Bundle ID: com.marmalade.monopoly
      iTunes Store Link: https://apps.apple.com/us/app/monopoly-the-board-game/id1477966166?uo=4


      Hack Features:
      - Everything Owned -> All packs, themes, boards, tokens, all purchased and owned.


      Jailbreak required hack(s): https://iosgods.com/topic/169254-monopoly-classic-board-game-all-versions-1-cheat-everything-owned/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 391 replies
    • MONOPOLY: The Board Game v1.14.7 +1 Cheat [ Everything Owned ]
      Modded/Hacked App: MONOPOLY: The Board Game By Marmalade Game Studio Limited
      Bundle ID: com.marmalade.monopoly
      iTunes Store Link: https://apps.apple.com/us/app/monopoly-the-board-game/id1477966166?uo=4


      Hack Features:
      - Everything Owned -> All packs, themes, boards, tokens, all purchased and owned.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/169256-monopoly-classic-board-game-v189-1-jailed-cheat-everything-owned/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 193 replies
    • MY LITTLE PONY: MAGIC PRINCESS v10.1.0 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      iTunes Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905
       

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


      Jailbreak required hack(s): https://iosgods.com/topic/169980-my-little-pony-magic-princess-all-versions-3-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 304 replies
    • MY LITTLE PONY: MAGIC PRINCESS v10.1.0 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      iTunes Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905
       

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


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 103 replies
    • Good Pizza, Great Pizza v5.25.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +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/
      • 275 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