Jump to content

15 posts in this topic

Recommended Posts

Posted

Hello! You will learn how to recreate the Baseball boy hack I created using Shell scripting! This can work on any other game that supports this.

 

-Requirements

  • A jailbreak
  • MTerminal (or use SSH; If MTerminal does not work, install an SSH app from the App Store and OpenSSH to then SSH to root@localhost:22)
  • Filza/iFile/Any file manager

-Tutorial

So first off, create a new folder in where your hack will be. In that folder make 2 folders; DEBIAN and var. In var create a new folder called mobile and in that create a new folder called BaseBallBoyHack and in that create 2 folders called Backup and Hacked. Done with the folders and now you need to get the files. So in Filza (or anything else) head to /var/mobile/Containers/Data/Application and find Baseball Boy. In that directory you should have a Documents folder. This folder is where most of save game cheats are applied. 

Note: Note that some games that dont have a Documents directory may have it in /var/mobile/Containers/Bundle/Application/yourGameName/yourGameName.app/Data/Raw

 

So back in your Documents folder you should have 4 files which we will hack:

  • bouncinessLevel
  • speedLevel
  • strengthLevel
  • offline earningLevel

What you need to do now is to go in Baseball Boy, remember one of your levels and convert it to hexadecimal. (Search it on Google) Then go back in any of the 4 files, edit the hex where is your level and repeat until 4 of them are hacked.

 

When the four of them are hacked, copy the four files over to the Hacked directory you made. 

 

TIME FOR SCRIPTING

 

Back in BASEBALLBOYHACKFOLDER/var/mobile you need to create 3 files. hack.sh - restore.sh - backup.sh (You can merge backup.sh with hack.sh if you want. Just write the commands on top of it.) 

 

hack.sh

In hack.sh start off by typing:

#!/bin/sh

 

Then we want to know the UUID of BaseBall Boy which is unknown. So type in:

Spoiler

 

echo Input BaseBall Boy UUID:

read UUID

 

 

The echo command will print what's after the command to the console. The read command will ask for input and since we put UUID, it will store the inputted UUID to a variable called UUID. Got it? So let's continue.

 

Next we need to take our hacked files and move them to BaseBall Boy. Type in:


 

Spoiler

 

cp /var/mobile/BaseBallBoyHack/Hacked/speedlevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp /var/mobile/BaseBallBoyHack/Hacked/bouncinesslevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp /var/mobile/BaseBallBoyHack/Hacked/strengthlevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp "/var/mobile/BaseBallBoyHack/Hacked/offline earningsLevel"  /var/mobile/Containers/Data/Application/$UUID/Documents

 

 

The cp command copies the first input (file) to the 2nd input (directory). So we copy the hacked game files to the BaseBall Boy saves. We also put the "offline earningsLevel" in apostrophes because it has a space in the name. That's it for the hack.sh!

 

backup.sh

This one will copy the data from your game to /Backup. Start off with the same old:

Spoiler

 

echo Input BaseBall Boy UUID:

read UUID

 

 

This will get the UUID from the game. Next is the copying. So type in:

Spoiler

 

cp  /var/mobile/Containers/Data/Application/$UUID/Documents/speedLevel /var/mobile/BaseBallBoyHack/Backup/

cp  /var/mobile/Containers/Data/Application/$UUID/Documents/strengthLevel /var/mobile/BaseBallBoyHack/Backup/

cp /var/mobile/Containers/Data/Application/$UUID/Documents/bouncinessLevel  /var/mobile/BaseBallBoyHack/Backup/

cp  "/var/mobile/Containers/Data/Application/$UUID/Documents/offline earningsLevel" /var/mobile/BaseBallBoyHack/Backup/

 

 

Notice how we switched the first and second inputs of cp. This is because we want the files from the game itself and not the hack. This is it for the backup. This code written above can be merged with hack.sh by putting it over the hack commands. UNDER THE #!/bin/sh OR ELSE IT WILL NOT WORK!

 

 

restore.sh

Remember to write #!/bin/sh at the beginning! So now we want to restore our saved game back. It's as simple as the other ones!

So write:

Spoiler

 

echo Input BaseBall Boy UUID:

read UUID

 

 

This is to store the UUID as a variable.

Then type:

Spoiler

 

cp /var/mobile/BaseBallBoyHack/Backup/speedlevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp /var/mobile/BaseBallBoyHack/Backup/bouncinesslevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp /var/mobile/BaseBallBoyHack/Backup/strengthlevel /var/mobile/Containers/Data/Application/$UUID/Documents

cp "/var/mobile/BaseBallBoyHack/Backup/offline earningsLevel"  /var/mobile/Containers/Data/Application/$UUID/Documents

 

 

So this will overwrite the hacked data by taking the data from backup and overwriting. This is it for scripting, not for the hack.

 

SETUP FOR THE HACK TO WORK

So you want that hack on iOSGods or for yourself? Well we need to set the permissions on each file to Owner: Read, Write and Execute. Leave the rest alone. Also, why is there a DEBIAN folder? Well go in there and make a new file called control and put this inside of it:

Spoiler

Package: com.username.baseballboyhack

Name: BaseballBoy Hack

Depends: mobilesubstrate, preferenceloader

Version: 1.0.0

Architecture: iphoneos-arm

Description: Made a tutorial

Maintainer: username

Author: username

Section: Tweaks

Homepage: https://iosgods.com

 

This will make the packaging as .deb work. Now select DEBIAN folder and var folder at the same time and select Create DEB. (In Filza, I don't know for others)

There you have it! A .deb with a Shell Hack!

 

If it says packaging failed, add a few returns after Homepage in control

 

-Credits

- @bbReakMe

 

Have fun!

 

 

  • Like 2
Posted

Nice but there's a much easier way. :p

And you can skip the UUID stuff, just use a * and it'll work pretty well.

Posted (edited)
5 minutes ago, DiDA said:

Nice but there's a much easier way. :p

And you can skip the UUID stuff, just use a * and it'll work pretty well.

No because it's the Documents folder. If you don't put it it'll get the first app's Documents folder.

5 minutes ago, Amuyea said:

Nice tut  :)

:teehee:

Updated by bbReakMe
Posted
2 minutes ago, bbReakMe said:

No because it's the Douments folder. If you don't put it it'll get the first app's Documents folder.

What is this 

Posted
2 minutes ago, bbReakMe said:

No because it's the Douments folder. If you don't put it it'll get the first app's Documents folder.

Oh right, I forgot. I'm used to targeting the app's folder and looking for the .app.

You may find this useful and learn something more from it. :)

https://github.com/iOSGods/Auto-Lipo-for-iOS-5-to-iOS-11-Binary-Only/blob/master/postinst

Posted
3 minutes ago, bbReakMe said:

What is what?:thinking:

Thanks. I'll read that; It should help me.

What's this tutorial about? Is it about making a save game cheat into a Deb hack?

Posted
Just now, Joka said:

What's this tutorial about? Is it about making a save game cheat into a Deb hack?

Yes but with a backup. And it saves useless questions about how to use Filza.

Posted
Just now, bbReakMe said:

Yes but with a backup. And it saves useless questions about how to use Filza.

 

Just now, bbReakMe said:

Yes but with a backup. And it saves useless questions about how to use Filza.

Ah ok. So it makes it into a tweak?

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

    • Run! Goddess v1.0.22 [+4 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 93 replies
    • Run! Goddess v1.0.22 [+4 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 80 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 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/
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Winner
        • Like
      • 26 replies
    • Legend of Survivors V1.2.8 [ +17 Jailed ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 48 replies
    • Legend of Survivors V1.2.8 [ +17 Cheats ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:
      - IAP Free [ Buy Anything - Gems Gold Ads Premium Packs ]

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 132 replies
    • Kitchen Masters v15.0.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Kitchen Masters By Bigger Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.bigger.kitchenmasters
      iTunes Store Link: https://apps.apple.com/ph/app/kitchen-masters/id6474870266?uo=4


      🤩 Hack Features

      - Coins

      - Cash

      - Lives

      - Tile Cost 0
        • Agree
        • Thanks
        • Like
      • 6 replies
    • Kitchen Masters v15.0.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Kitchen Masters By Bigger Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.bigger.kitchenmasters
      iTunes Store Link: https://apps.apple.com/ph/app/kitchen-masters/id6474870266?uo=4
       

      🤩 Hack Features

      - Coins

      - Cash

      - Lives

      - Tile Cost 0
        • Haha
        • Like
      • 10 replies
    • Score Masters v2.2 [ +7 Jailed ] Always Win
      Modded/Hacked App: Score Masters By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.bh.hypergoal
      iTunes Store Link: https://apps.apple.com/us/app/score-masters/id6473402760?uo=4


      🚀 Hack Features

      - Auto ADS Disable

      - Gems [ Mission Rewards ]

      - Coins [ Mission Rewards ]

      - Player Score 20 Max

      - Always Win Player

      - AI Score 0

      - AI Miss
        • Informative
        • Like
      • 5 replies
    • Score Masters v2.2 [ +7 Cheats ] Always Win
      Modded/Hacked App: Score Masters By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.bh.hypergoal
      iTunes Store Link: https://apps.apple.com/us/app/score-masters/id6473402760?uo=4


      🚀 Hack Features

      - Auto ADS Disable

      - Gems [ Mission Rewards ]

      - Coins [ Mission Rewards ]

      - Player Score 20 Max

      - Always Win Player

      - AI Score 0

      - AI Miss
        • Thanks
        • Winner
        • Like
      • 8 replies
    • Adventure Bay - Farm Games v1.42.14 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4
       

      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Thanks
        • Like
      • 19 replies
    • Adventure Bay - Farm Games v1.42.14 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4


      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 25 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