Skip to content
Guest Big Announcement

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

Featured Replies

  • Author
2 hours ago, Happy Secret said:

Not completely get it. I have the H5GG hook script loaded and called. 

It already hooked on the instruction I want. 

I am working on mod menu and want to see if I can turn on/off H5GG Hook.

As you know, the H5Frida script cannot directly communicate with the outside Javascript. It can only do communication based on Send/Recv function. 

I have no idea how to pass the "Boolean Switch" from the mod menu to H5Frida script.

Frankly, I believe it is already registered in Frida. Changing the H5Frida script after it is loaded to Frida, might not help. I am not sure. 

If I want to change anything, I might need to override the hook or update the hook function in H5Frida.  Or you mean hook another rpc.exports to override the other one? Will it cause repatch of binary? 

Or I need to re-initiate a new H5Frida instance? Or unload the script and load a new one? 

I have school exams atm, but after i will make a part 2 with mod menu and switch on/off for offset patch and hook :) 

But no, you don’t need to create another instance of frida or unload the script. 

You need to create an rpc.export that hold your hooks like this : 

// i don’t have iG iDE on iOS sadly

rpc.exports.healthHack= function(context){   

//your hook

}

 

and after you need to create a HTML element to get if there is a button clicked or slider

//here you call it

script.call("healthHack");

Updated by ꞋꞌꞋꞌꞋꞌꞋꞌ

  • Replies 138
  • Views 90.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hello Hello, Here is finally a tutorial to patch or even hook on Non-JB/JB.  This tutorial will cover the non-JB way because that's what's interesting , but this way can work on JB.  

  • hassen hawari
    hassen hawari

    Do you know any useful video links to learn hack Android games il2cpp?   

  • I fixed it, I had to use a fresh decrypted version of the game, idk why, but I decrypted the game again put all the files where they should go and it works! Doesn’t crash and installs app. But to my f

16 minutes ago, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

I have school exams atm, but after i will make a part 2 with mod menu and switch on/off for offset patch and hook :) 

But no, you don’t need to create another instance of frida or unload the script. 

You need to create an rpc.export that hold your hooks like this : 

// i don’t have iG iDE on iOS sadly

rpc.exports.healthHack= function(context){   

//your hook

}

 

and after you need to create a HTML element to get if there is a button clicked or slider

//here you call it

script.call("healthHack");

Do you mean I have two exports?

1. With hack, say healthHack (including hook detail for hack, apply on hook address, say 0xABC) 

2. Without hack, say NoHealthHack (blank hook function not modify anything, apply on hook address, say 0xABC)

In my HTML element,

- When turn on hack. I call script.call("healthHack");

- When turn off hack, I call script.call("NoHealthHack);

As both hook apply on same Hook address, it will override with each other? It renders the hack turn on and off?

Can't wait to see your second part Tutorial.

 

By the way, my new hack on Dungreed with H5GG Mod Menu and Hook. I am preparing a Specific Tutorial for this Hack as well. Below is the Hack, the relate tutorial will upload a bit later. Very busy recently.

 

Updated by Happy Secret

  • Author
19 minutes ago, Happy Secret said:

Do you mean I have two exports?

1. With hack, say healthHack (including hook detail for hack, apply on hook address, say 0xABC) 

2. Without hack, say NoHealthHack (blank hook function not modify anything, apply on hook address, say 0xABC)

In my HTML element,

- When turn on hack. I call script.call("healthHack");

- When turn off hack, I call script.call("NoHealthHack);

As both hook apply on same Hook address, it will override with each other? It renders the hack turn on and off?

Can't wait to see your second part Tutorial.

 

By the way, my new hack on Dungreed with H5GG Mod Menu and Hook. I am preparing a Specific Tutorial for this Hack as well. Below is the Hack, the relate tutorial will upload a bit later. Very busy recently.

 

Yeah it’s the idear, but the script.call need to be called only after a if, otherwise it will be constantly called even if you called the NoHealthHack hook. 

so it’s here where you can check if button has been clicked, and if yes, then call HealthHack, else call NoHealthHack.

 

Nice, gonna see the hack right now

🙂

Edit  : here is a link where it uses a button action to call a function https://github.com/H5GG/H5GG/blob/main/examples-HTML5/H5DrawEsp(3.0).html

it will draw an ESP example, but you can replace it with your hook, you may need to include frida stuff 

Updated by ꞋꞌꞋꞌꞋꞌꞋꞌ

39 minutes ago, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

Yeah it’s the idear, but the script.call need to be called only after a if, otherwise it will be constantly called even if you called the NoHealthHack hook. 

so it’s here where you can check if button has been clicked, and if yes, then call HealthHack, else call NoHealthHack.

 

Nice, gonna see the hack right now

🙂

Edit  : here is a link where it uses a button action to call a function https://github.com/H5GG/H5GG/blob/main/examples-HTML5/H5DrawEsp(3.0).html

it will draw an ESP example, but you can replace it with your hook, you may need to include frida stuff 

I will definitely try it out when I have time.

For ESP, I still haven’t got my first ESP working. Not sure why, I keep receiving Invalid Camera. Haha.

It will be great to see more from your coming Tutorial.

  • Author
14 minutes ago, Happy Secret said:

Great! Tested. 
 

Hook overrides with two exports is working! I can turn on/off H5Frida hook now.

Thank you so much!

haha that’s cool 👌

On 2/9/2023 at 9:34 PM, 𓄼 . f v c k . 𓄹 said:

gonna see once i’m at home, but it should work, i tested it on sausage mange 

I have to put the mode menu code in html, but I don't know how to put the Offset , it's a bit complicated. Can you please explain where to put the Offset and link it in the button?

 Happy Secret

𓄼 . f v c k . 𓄹

here is the mod
https://github.com/H5GG/H5GG/blob/main/examples-HTML5/H5Menu(DarkStyle).html

 

Updated by Alihackali

  • Author
4 hours ago, Alihackali said:

I have to put the mode menu code in html, but I don't know how to put the Offset , it's a bit complicated. Can you please explain where to put the Offset and link it in the button?

 

 

 Happy Secret

𓄼 . f v c k . 𓄹

here is the mod
https://github.com/H5GG/H5GG/blob/main/examples-HTML5/H5Menu(DarkStyle).html

 

You would need to create an HTML script element, and paste all frida code stuff to make it work. I will cover this in a second part of this tutorial series.

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

You would need to create an HTML script element, and paste all frida code stuff to make it work. I will cover this in a second part of this tutorial series.

okay but please if u can make it soon  and thanks 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.