Jump to content

H5GG Tutorial - Dynamicly Code Patch With Bytes on Non-jailbreak


GodModerator

13 posts in this topic

Recommended Posts

 

with h5frida v2.0 now you can patch code dynamicly on non-jailbreak very easily, like this:

h5gg.require(7.9);

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

alert("frida plugin version="+h5frida.pluginVersion() + "\nfrida core version="+h5frida.coreVersion());

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

/* 
fpath: relative path of the binary in the .app directory

rvaddr: relative virtual address
Generally speaking, for dylib/framework,  rvaddr = [offset in file] = [address in IDA]
for main executable, rvaddr = offset in file = [address in IDA] - [base address in IDA], the base address is usually 0x100000000.
*/
/*************************************************************************/

//switch on
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x1A21658, "C0035FD6");

//switch off
DeactiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x1A21658, "C0035FD6");

see more: https://github.com/H5GG/H5GG/tree/main/examples-h5frida

Updated by tuancc
fix
  • Like 3
  • Agree 1
  • Informative 1
Link to comment
Share on other sites

3 hours ago, Laxus said:

I’m clueless right now, is there a proper code without using hookme to test? Like directly using binary?

var framework = h5gg.getRangesList("UnityFramework");

if it's normal binary:

var bin = h5gg.getRangesList("UnityFramework");

 

here examples https://github.com/HappyOx6032/h5gg-files

Updated by j u s t...
examples
Link to comment
Share on other sites

6 hours ago, j u s t... said:

var framework = h5gg.getRangesList("UnityFramework");

if it's normal binary:

var bin = h5gg.getRangesList("UnityFramework");

 

here examples https://github.com/HappyOx6032/h5gg-files

Thank you!! :D

Best explain, I aint programmer

Edit: How do I use these ... 

Updated by Laxus
Link to comment
Share on other sites

6 hours ago, Laxus said:

Thank you!! :D

Best explain, I aint programmer

Edit: How do I use these ... 

after you can calc the base adress :

 

//get bin or framework

var framework = h5gg.getRangesList("UnityFramework");

//calculate base adresse + offset to prepare patch

var adr = Number(framework[0].start) + 0xOffset;

//patch offset

f***base(adr,"C0035FD6");

 

i think there are better examples in the link :)

  • Informative 1
Link to comment
Share on other sites

On 9/1/2022 at 4:15 PM, ꞋꞌꞋꞌꞋꞌꞋꞌ said:

after you can calc the base adress :

 

//get bin or framework

var framework = h5gg.getRangesList("UnityFramework");

//calculate base adresse + offset to prepare patch

var adr = Number(framework[0].start) + 0xOffset;

//patch offset

f***base(adr,"C0035FD6");

 

i think there are better examples in the link :)

Hello, the link document is gone. Can help upload one back? Thanks in advance

Link to comment
Share on other sites

8 hours ago, Happy Secret said:

Hello, the link document is gone. Can help upload one back? Thanks in advance

here is the chinese telegram of H5GG, they share a lot of scripts https://t.me/h5gg_cn

 

and here is a forked repo of the one i gaved :

https://github.com/iRedddy/h5gg-files

Link to comment
Share on other sites

Not sure why I got "The bytes to patch have changed, please revert to original file and try again" error when execute the ActiveCodePatch function. 

I did tried with an unmodified UnityFramework file. Still failed. 

Any idea why? @tuancc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Trampwall v1.5.0 Cheats +2
      Modded/Hacked App: Trampwall By Voodoo
      Bundle ID: com.senseofgames.trampwall
      iTunes Store Link: https://apps.apple.com/us/app/trampwall/id1579519864?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Privacy -> Float icon -> In-App Purchase -> VoodooPremium
      - Unlock all skins
      • 0 replies
    • Trampwall v1.5.0 Cheats +2
      Modded/Hacked App: Trampwall By Voodoo
      Bundle ID: com.senseofgames.trampwall
      iTunes Store Link: https://apps.apple.com/us/app/trampwall/id1579519864?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> Privacy -> Float icon -> In-App Purchase -> VoodooPremium
      - Unlock all skins
      • 0 replies
    • Idle Ninja Online v2160 Cheats +15
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?uo=4


      Hack Features:
      - no cool skill
      - no need mana
      - speed
      - max level
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move 
      - reduce animation
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 


      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/
        • Winner
      • 563 replies
    • Spiral Rider v1.18.2 Cheats +3
      Modded/Hacked App: Spiral Rider By Voodoo
      Bundle ID: com.gentlegame.spiralrider
      iTunes Store Link: https://apps.apple.com/us/app/spiral-rider/id1569596883?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Haptic -> Float icon -> In-App Purchase -> VoodooPremium
      - Free shop
      • 0 replies
    • Spiral Rider v1.18.2 Cheats +3
      Modded/Hacked App: Spiral Rider By Voodoo
      Bundle ID: com.gentlegame.spiralrider
      iTunes Store Link: https://apps.apple.com/us/app/spiral-rider/id1569596883?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> Haptic -> Float icon -> In-App Purchase -> VoodooPremium
      - Free shop
      • 0 replies
    • Backflip Master - Parkour Game v1.18.2 Cheats +3
      Modded/Hacked App: Backflip Master - Parkour Game By Voodoo
      Bundle ID: com.Konsordo.BackflipMaster2
      iTunes Store Link: https://apps.apple.com/us/app/backflip-master-parkour-game/id1589248413?uo=4

       


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Haptic -> Float icon -> In-App Purchase -> VoodooPremium
      - Unlock All Tricks
      - Unlock All Skins
      • 0 replies
    • Backflip Master - Parkour Game v1.18.2 Cheats +3
      Modded/Hacked App: Backflip Master - Parkour Game By Voodoo
      Bundle ID: com.Konsordo.BackflipMaster2
      iTunes Store Link: https://apps.apple.com/us/app/backflip-master-parkour-game/id1589248413?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Enable debug
      - Unlock All Tricks
      - Unlock All Skins
      • 0 replies
    • Double drift v1.35.0 Cheats +4
      Modded/Hacked App: Double drift By Voodoo
      Bundle ID: com.nathanmalville.slalom2
      iTunes Store Link: https://apps.apple.com/us/app/double-drift/id6450959113?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Restore Purchase -> Float Icon -> In-App Purchase
      - Free Upgrade Cost
      - Unlimited points
      - Unlimited money
      • 3 replies
    • Double drift v1.35.0 Cheats +4
      Modded/Hacked App: Double drift By Voodoo
      Bundle ID: com.nathanmalville.slalom2
      iTunes Store Link: https://apps.apple.com/us/app/double-drift/id6450959113?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> Restore Purchase -> Float Icon -> In-App Purchase
      - Free Upgrade Cost
      - Unlimited points
      - Unlimited money
      • 5 replies
    • Ninja Survivors Online v1700 Cheats +6
      Modded/Hacked App: Ninja Survivors Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.ninjasurvivors
      iTunes Store Link: https://apps.apple.com/us/app/ninja-survivors-online/id6444254297?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Fast move
      - No skills cooldown
      - Fast atk
      - Speed atk x20
      - Auto pick items
      - Skills max level
      • 15 replies
    • Ninja Survivors Online v1700 Cheats +7
      Modded/Hacked App: Ninja Survivors Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.ninjasurvivors
      iTunes Store Link: https://apps.apple.com/us/app/ninja-survivors-online/id6444254297?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Fast move
      - No skills cooldown
      - Exp x100
      - Fast atk
      - Auto pick items
      • 117 replies
    • 1945 - Airplane shooting games Cheats v13.32 +2
      Modded/Hacked App: 1945 - Airplane shooting games By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.airforce
      iTunes Store Link: https://apps.apple.com/us/app/1945-airplane-shooting-games/id1460632826?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode
       

      NOTE: Do not abuse the currency else you will get ban, though I made an anti-ban but I hightly recomend do not abuse


      iOS Hack Download Link: https://iosgods.com/topic/150671-1945-airplane-shooting-games-cheats-all-versions-2/
        • Like
      • 427 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