Ironhax save files can mess around in Battleminer

Discussion in '3DS - Homebrew Development and Emulators' started by Pikasack, Dec 13, 2015.

  1. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    All the is, is showing how the Ironhax file can mess around in Battleminer due to the similar savefile names and contents! This is 99.9% not likely to lead to another exploit! I take no responsibility for any damage done to your save files! Be sure to back up everything before you start!!!

    BattleMiner has files in SVDT that are similar to Ironfall's for Ironhax.
    I decided to inject this save (with the payload) into BattleMiner, attached is a video of what it looks like.

    With all of those hacked items, actually trying to use one in your hand crashes the game (doesn't boot payload at all) so, does that mean anything is possible out of this? OoT3DHax requires you to do something before it triggers the payload.
    So yeah that's about it, all it does is crash. I will upload a video of me opening the save file and the crash shortly.

    PoC:


    What i did:
    1. Pull payload.bin and Data0/1/2 (which Ironhax save slot is yours) from Ironfall using SVDT.
    2. Back up everything in Battleminer with SVDT.
    3. Make fake files for Data4/Data5/Data6. Like a plain text document with no extension, just for space.
    4. Open BattleMiner in SVDT, and delete Data4/5/6 and inject your Data0/1/2 and payload.bin
    5. Also be sure to put in your own Data4/5/6 that you made until nothing more can be added. (SVDT runs into an error.)
    6. Go into BattleMiner hoping you don't get the savedata corrupted text.
    7. Go into Survival and select the save file you see. (you will know which one it is...)
    8. Fool around with the glitched/hacked items (just press on one in your hotbar).
    9. The game will just crash.

    That's all there is to this.
    I'm just showing off that BattleMiner has some similarities to the Ironhax savefile.
     
    Last edited by Pikasack, Dec 13, 2015
  2. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    I need to get the title changed....
     
    Last edited by Pikasack, Dec 13, 2015
  3. Kartik

    Kartik Gbatemp advanced fan

    Member
    316
    182
    Jun 6, 2015
    India
    github
    Extremely noob question but how do we inject payload into savefiles
     
  4. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    You get the payload.bin by using svdt on ironhax, you might have to move a lot of stuff around on battleminer to get it to work. (which it doesn't) like creating fake 1 byte Data5/6 files and stuff like that or else BattleMiner will say it's corrupted. (You also need your Data0/1/2 file from Ironfall according to which slot you have Iron had installed to.
     
  5. Kartik

    Kartik Gbatemp advanced fan

    Member
    316
    182
    Jun 6, 2015
    India
    github
    Another noob question cant we get the payload.bin on menuhax(I dont have ironhax)
    *edit*I got the answer no need go answer this
     
    Last edited by Kartik, Dec 13, 2015
  6. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    Yeah, for that it should be right on your SD card.
    The Ironhax one is just a bit smaller in size so it's easier to work with. You also need save data from Ironhax for it as well...
     
  7. Kartik

    Kartik Gbatemp advanced fan

    Member
    316
    182
    Jun 6, 2015
    India
    github
    Ok thanks for making me understand
     
  8. WeedZ

    WeedZ Possibly an enlightened being

    Member
    GBAtemp Patron
    WeedZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,706
    5,185
    Jan 13, 2015
    United States
    Dude. If battleminer doesn't have a security hole in its programming then it can't be exploited. And if it did, it's not just gunna magically work with the exploit smea made for the security flaw in ironfall.

    — Posts automatically merged - Please don't double post! —

    If it were that simple, every game could be used to install hbl
     
    Last edited by WeedZ, Dec 13, 2015
  9. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    I just thought it was interesting the Ironhax savefile could do something in Battleminer. Let me put up a disclaimer.
     
  10. WeedZ

    WeedZ Possibly an enlightened being

    Member
    GBAtemp Patron
    WeedZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,706
    5,185
    Jan 13, 2015
    United States
    That's also not that amazing. They use the same file format, as I'm sure alot of games do. The reason all your blocks are 'glitched' is because you over wrote the values corrisponding to type and value with basically random values. This is because bm uses a very generic save format. You could hexedit these values on your own and make them whatever you want. Or replace these values with those from any file, not just ironhax save, and get the same random result.
     
  11. Pikasack
    OP

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    Hmmm okay, sorry just got caught up in the moment of like "omg Ironhax can mess battleminer up!!!!".... :yay3ds:
     
  12. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    531
    376
    Aug 26, 2009
    Lumiose City
    So... You just corrupted a game savedata?
     
    VegaRoXas and WeedZ like this.