Jump to content

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


130 posts in this topic

Recommended Posts

Posted
11 minutes ago, papastweak said:

Haven't tested hooks yet but code patching works! Tested on Iphone 12 Pro Max, 16.1.2

that's cool, could you edit your answer and tell me if hook works ? :)

Posted
40 minutes ago, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

edit :

oh you mean the UnityFramework patched ? well i didn't looked at the data at the offset 0x1B...98, but it's seems normal to me that's it's not 2000...FD6, otherwise it will always be enable. i think that it creates another function on the UnityFramework (at another place) and at 0x1B...98, it calls it.

so if there is no script running, we shouldn't be able to jump always, but when we load our script, it probably jump to our created function in the UnityFramework, and so it return 2000..FD6 at our function (maybe at 0x264ab4c) and if we unload the script, the original bytes in the memory will load again making "normal jumps"

 

(this is my personal analysis, it may not be 100% right but this is how i visual it) 

video https://streamable.com/5g6nvz

So, it could be my concept is wrong from beginning.
First time the script run, we, in fact, expect the alert come and provide a patched version of the UnityFramework inside the static-inline-hook folder.

The patched version of UnityFramework has embedded a new function inside. 
 

From we call the ActiveCodePatch or StaticInlineHookFunction the second time onwards, it starts to take effect.

 

First run is just to prepare the Framework (insert function). The real effect happens when we use the patched framework with the function call to enable/disable.

 

Let me test it our again later tonight.

Thanks for the help.

Posted
2 minutes ago, Happy Secret said:

So, it could be my concept is wrong from beginning.
First time the script run, we, in fact, expect the alert come and provide a patched version of the UnityFramework inside the static-inline-hook folder.

The patched version of UnityFramework has embedded a new function inside. 
 

From we call the ActiveCodePatch or StaticInlineHookFunction the second time onwards, it starts to take effect.

 

First run is just to prepare the Framework (insert function). The real effect happens when we use the patched framework with the function call to enable/disable.

 

Let me test it our again later tonight.

Thanks for the help.

yep you are right ! 

welcome !

Posted
57 minutes ago, namcyeon said:

I had tried hooking, but it's not working 😑, stuck at 

if(!h5frida.loadGadget("frida-gadget-15.1.24.dylib"))

if this get you an error, you didn't have placed the file in the .app folder, or you have renamed it

Posted

Have you tried instance variable hook? Does it work?

37 minutes ago, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

if this get you an error, you didn't have placed the file in the .app folder, or you have renamed it

 

Posted
5 hours ago, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

yep you are right ! 

welcome !

I have just test it again and finally worked.

it is really 

  • First run is just to prepare the Framework (insert function). The real effect happens when we use the patched framework with the function call to enable/disable.

You will probably want to include a hint/note to your tutorial about this.

The error message is not sufficient. It can’t explain what to expect.

 

Anyway, it is not the type of in memory hook/patch that I expect. It requires a repackage and redeployment for non-jailbroken.

Hope there is a way to do pure in memory hook / patch (without modifying the binary).

 

Did Frida allow us to do that? I used to test patches with Xcode (LLDB), but it requires a PC connection.

Posted
16 minutes ago, Happy Secret said:

I have just test it again and finally worked.

it is really 

  • First run is just to prepare the Framework (insert function). The real effect happens when we use the patched framework with the function call to enable/disable.

You will probably want to include a hint/note to your tutorial about this.

The error message is not sufficient. It can’t explain what to expect.

 

Anyway, it is not the type of in memory hook/patch that I expect. It requires a repackage and redeployment for non-jailbroken.

Hope there is a way to do pure in memory hook / patch (without modifying the binary).

 

Did Frida allow us to do that? I used to test patches with Xcode (LLDB), but it requires a PC connection.

Yep, but here are the basics, after that you can make an HTML Mod Menu and create a dylib that contains your HTML + JS. then you can inject it on an iPA and you wont need to inject the script or anything.

Since Non-JB doesn't have the same permission as a JB Device, i don't think Frida let you hook like on JB.

10 minutes ago, namcyeon said:

@Happy Secret You can try second method with hook, but it's not working with me.

can you provide more details ?

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

    • Bridge Constructor Studio v1.0.65 +3 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Bridge Constructor Studio By Headup GmbH
      Bundle ID: com.headupgames.bridgeconstructorstudio
      App Store Link: https://apps.apple.com/us/app/bridge-constructor-studio/id6745402280?uo=4

       
       

      🤩 Hack Features

      - Freeze Bridge
      - No Build Costs
      -- Full Game Unlocked (will show as locked)
      • 0 replies
    • Bridge Constructor Studio v1.0.65 +3 Cheats [ Unlocked ]
      Modded/Hacked App: Bridge Constructor Studio By Headup GmbH
      Bundle ID: com.headupgames.bridgeconstructorstudio
      App Store Link: https://apps.apple.com/us/app/bridge-constructor-studio/id6745402280?uo=4

       
       

      🤩 Hack Features

      - Freeze Bridge
      - No Build Costs
      -- Full Game Unlocked (will show as locked)
      • 0 replies
    • SWAT: Squad Tactics v0.8.6 [+3 Cheats]
      Modded/Hacked App: SWAT: Squad Tactics By MAD PIXEL GAMES LTD
      Bundle ID: hero.shooter.alpha.game
      iTunes Store Link: https://apps.apple.com/us/app/swat-squad-tactics/id6670252311?uo=4


      🤩 Hack Features

      - Unlimited Skipits Ticket
      - Unlimited Currency (Enable before stage and finish stage)
      - Unlimited Blueprints (Enable before stage and finish stage)
      • 5 replies
    • SWAT: Squad Tactics v0.8.6 [+3 Jailed Cheats]
      Modded/Hacked App: SWAT: Squad Tactics By MAD PIXEL GAMES LTD
      Bundle ID: hero.shooter.alpha.game
      iTunes Store Link: https://apps.apple.com/us/app/swat-squad-tactics/id6670252311?uo=4



      🤩 Hack Features

      - Unlimited Skipits Ticket
      - Unlimited Currency (Enable before stage and finish stage)
      - Unlimited Blueprints (Enable before stage and finish stage)
      • 4 replies
    • Pal Go: Tower Defense TD v0.3.91 [+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/
      • 57 replies
    • Pal Go: Tower Defense TD v0.3.91 [+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/
      • 82 replies
    • Stand & Fight: Backpack Battle v0.9.5 Debug Menu [+10 Jailed Cheats]
      Modded/Hacked App: Stand & Fight: Backpack Battle By VERARIUM COM SERVICOS LDA ZFM
      Bundle ID: com.V.StandAndFight
      App Store Link: https://apps.apple.com/us/app/stand-fight-backpack-battle/id6740915182?uo=4



      🤩 Hack Features

      - Debug Menu

       
      • 12 replies
    • Stand & Fight: Backpack Battle v0.9.5 Debug Menu [+10 Cheats]
      Modded/Hacked App: Stand & Fight: Backpack Battle By VERARIUM COM SERVICOS LDA ZFM
      Bundle ID: com.V.StandAndFight
      App Store Link: https://apps.apple.com/us/app/stand-fight-backpack-battle/id6740915182?uo=4



      🤩 Hack Features

      - Debug Menu
        • Winner
      • 11 replies
    • Rupture: Immortal Slasher v0.15.6 [+3 Cheats]
      Modded/Hacked App: Rupture: Immortal Slasher By ALEKSEI KLIMOV
      Bundle ID: com.GOLEM.Immortal
      iTunes Store Link: https://apps.apple.com/us/app/rupture-immortal-slasher/id6738378630?uo=4

       

      🤩 Hack Features

      - God Mode/Never Die
      - Unlimited Currency (Add 50k every time you spend)
      - Always Can Upgrade Equipments

       
      • 12 replies
    • Rupture: Immortal Slasher v0.15.6 [+3 Jailed Cheats]
      Modded/Hacked App: Rupture: Immortal Slasher By ALEKSEI KLIMOV
      Bundle ID: com.GOLEM.Immortal
      iTunes Store Link: https://apps.apple.com/us/app/rupture-immortal-slasher/id6738378630?uo=4

       

      🚀 Hack Features

      - God Mode/Never Die
      - Unlimited Currency (Add 50k every time you spend)
      - Always Can Upgrade Equipments


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 25 replies
    • Night Valley - Tower Defense v1.0.15 [+2 Jailed Cheats]
      Modded/Hacked App: Night Valley - Tower Defense By Pitaya Group, Inc, The
      Bundle ID: com.pitaya.natv
      App Store Link: https://apps.apple.com/us/app/night-valley-tower-defense/id6467846624?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
      • 7 replies
    • Night Valley - Tower Defense v1.0.15 [+2 Cheats]
      Modded/Hacked App: Night Valley - Tower Defense By Pitaya Group, Inc, The
      Bundle ID: com.pitaya.natv
      App Store Link: https://apps.apple.com/us/app/night-valley-tower-defense/id6467846624?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
       
      • 5 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