Jump to content

H5GG Full Tutorial [Offset Patching + Hooking] for Non-Jailbroken/Jailbreak Devices !


133 posts in this topic

Recommended Posts

Posted
3 hours ago, 𓄼 . f v c k . 𓄹 said:

then the iPA is not rightly made. Re do Step 1

this is my h5frida-code-patch-test(non-jailbreak).js Script.
is there something wrong with it?

h5gg.require(7.9);
var h5frida=h5gg.loadPlugin("h5frida", "h5frida-15.1.24.dylib");
if(!h5frida) throw "Failed to load h5frida plugin";

function ActiveCodePatch(fpath, vaddr, bytes) {
    if(!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
        var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
        alert(fpath+":0x"+vaddr.toString(16)+"-修改失败!\n" + fpath+":0x"+vaddr.toString(16)+"-PatchFailed!\n" + result);return false;
    } return true;
}
function DeactiveCodePatch(fpath, vaddr, bytes) {
    return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
}

ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x2XXXX62, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259XXXD, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXX56, "C00XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXXX6, "C00XXXD6");

 

Posted
10 hours ago, Haidar_phantom said:

this is my h5frida-code-patch-test(non-jailbreak).js Script.
is there something wrong with it?

h5gg.require(7.9);
var h5frida=h5gg.loadPlugin("h5frida", "h5frida-15.1.24.dylib");
if(!h5frida) throw "Failed to load h5frida plugin";

function ActiveCodePatch(fpath, vaddr, bytes) {
    if(!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
        var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
        alert(fpath+":0x"+vaddr.toString(16)+"-修改失败!\n" + fpath+":0x"+vaddr.toString(16)+"-PatchFailed!\n" + result);return false;
    } return true;
}
function DeactiveCodePatch(fpath, vaddr, bytes) {
    return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
}

ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x2XXXX62, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259XXXD, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXX56, "C00XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXXX6, "C00XXXD6");

 

Are you using 2 times the same offset to patch ? 

Seems good with the code, but maybe you did something wrong with the ipa, and so it can’t load frida or frida gadget 

Posted (edited)
36 minutes ago, 𓄼 . f v c k . 𓄹 said:

Are you using 2 times the same offset to patch ? 

Seems good with the code, but maybe you did something wrong with the ipa, and so it can’t load frida or frida gadget 

no i fixed it, i was going wrong with the offsets.
do you know how to convert my code to html and load directly?
i want to test the option "Make Tweak" in H5gg

Updated by Haidar_phantom
Posted
22 minutes ago, Haidar_phantom said:

no i fixed it, i was going wrong with the offsets.
do you know how to convert my code to html and load directly?
i want to test the option "Make Tweak" in H5gg

i will post part 2 and there will be this. Once i have the time

  • Like 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

    • Merge Beach : Gossip & Mystery v0.3.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Beach : Gossip & Mystery By 1GRAM
      Bundle ID: com.ongram.merge.beach.gossip.mystery
      App Store Link: https://apps.apple.com/us/app/merge-beach-gossip-mystery/id6746242808?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
        • Like
      • 5 replies
    • Merge Beach : Gossip & Mystery v0.3.3 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge Beach : Gossip & Mystery By 1GRAM
      Bundle ID: com.ongram.merge.beach.gossip.mystery
      App Store Link: https://apps.apple.com/us/app/merge-beach-gossip-mystery/id6746242808?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coin
      - Unlimited Energy
        • Agree
        • Thanks
        • Like
      • 7 replies
    • Meow Tower - Nonogram Puzzle v3.4.301 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4


      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max
        • Agree
        • Thanks
        • Like
      • 18 replies
    • Meow Tower - Nonogram Puzzle v3.4.301 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4
       

      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max 
        • Winner
        • Like
      • 26 replies
    • Warventure: Stickman Clash v1.0.190 [ +14 Jailed ] Currency Max
      Modded/Hacked App: Warventure: Stickman Clash By Pusilung HK Limited
      Bundle ID: com.thp020.stickman.casual.war.game
      App Store Link: https://apps.apple.com/ph/app/warventure-stickman-clash/id6753664361?uo=4

      🤩 Hack Features

      - ADS No / Rewards Free
      - Speed 2X Active
      - Unlimited Gems
      - Unlimited Ruby / Hero & Pet Up
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Silver Keys
      - Unlimited Golden Keys
      - Unlimited Legendry Keys
      - Premium Pass Active +4
      - ATK / Equip
      - HP / Equip
      - DEF / Equip
      - iGG Speed / Faster Skip Wave

      Note:- Currency & Resources Visual But Works
        • Winner
        • Like
      • 7 replies
    • Warventure: Stickman Clash v1.0.190 [ +14 Cheats ] Currency Max
      Modded/Hacked App: Warventure: Stickman Clash By Pusilung HK Limited
      Bundle ID: com.thp020.stickman.casual.war.game
      App Store Link: https://apps.apple.com/ph/app/warventure-stickman-clash/id6753664361?uo=4

      🤩 Hack Features

      - ADS No / Rewards Free
      - Speed 2X Active
      - Unlimited Gems
      - Unlimited Ruby / Hero & Pet Up
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Silver Keys
      - Unlimited Golden Keys
      - Unlimited Legendry Keys
      - Premium Pass Active +4
      - ATK / Equip
      - HP / Equip
      - DEF / Equip
      - iGG Speed / Faster Skip Wave

      Note:- Currency & Resources Visual But Works
        • Winner
        • Like
      • 2 replies
    • Portal Survivor v1.2.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
        • Informative
        • Like
      • 5 replies
    • Portal Survivor v1.2.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
        • Informative
        • Like
      • 10 replies
    • Dice Lords v1.2.9 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
        • Like
      • 13 replies
    • Dice Lords v1.2.9 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
        • Thanks
        • Winner
        • Like
      • 12 replies
    • Beauty Sort : Makeover Story v1.5.7 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Beauty Sort : Makeover Story By Rosecrab Limited
      Bundle ID: ios.beauty.love.sort.match.stylist.story
      App Store Link: https://apps.apple.com/us/app/beauty-sort-makeover-story/id6752563587?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Booster
      - Unlimited Lives
        • Like
      • 2 replies
    • Beauty Sort : Makeover Story v1.5.7 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Beauty Sort : Makeover Story By Rosecrab Limited
      Bundle ID: ios.beauty.love.sort.match.stylist.story
      App Store Link: https://apps.apple.com/us/app/beauty-sort-makeover-story/id6752563587?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Booster
      - Unlimited Lives
        • 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