Would this a little thing helps you, developers?

Discussion in '3DS - Flashcards & Custom Firmwares' started by Syphurith, Mar 11, 2013.

  1. Syphurith
    OP

    Member Syphurith Beginner

    Joined:
    Mar 8, 2013
    Messages:
    641
    Location:
    Xi'an, Shaanxi Province
    Country:
    China
    [My english is not so good as u, so please endure some grammar mistakes]
    I made a small tool, hoping it can help you analyse the binary codes.
    it is based on nodejs, and i can use this to detect some binary patterns ie the commands from 3dbrew.
    Unfortunately i'm running out of time, so i haven't improved it. You can FREELY edit this. it's open.

    use such a command-line to run.
    node AnalyseHelper <ConfigureFile> <InputBinaryFile>
    or just use "node AnalyseHelper" to see the help

    an example of ConfigureFile
    ;One taken any limited-length binary as parameter.
    7265706c:any:2
    ;One can only take parameter 0x2827, which is 4 half-bytes long
    0x2e6c6f67:2827:4
    ;One with no parameter, or just "4374726c". it's ok.
    4374726c:
    notice:
    1.the green letters isn't included in the configuration file.
    2.Any number appears in half-bytes. [because i've noticed some parameter only 4bits long]
    3.i recommend you using the commands of same length.
    4.the archieve includes a folder named test. the file whose name ends with .analysed means it's a result.

    If i've post something ugly. Admin, please, close this thread. Many thanks.

    Sorry i've nearly forgot one thing.
    This tool reads the data and always try to match the nearest pattern. So, the result may be mistaken. However it's you analyse the file not the tool, so this won't disturb you much.
     

    Attached Files:

  2. Kouen Hasuki

    Member Kouen Hasuki Kouen the Cyber Husky

    Joined:
    Jan 9, 2013
    Messages:
    1,388
    Location:
    Gaming Bunker
    Country:
    Norway
    Interesting
     
  3. Sunday7

    Newcomer Sunday7 Newbie

    Joined:
    Jan 18, 2013
    Messages:
    4
    Country:
    China
    在这里经常见到LZ啊
    话说这是干什么用的真没看懂。
     
  4. Foxi4

    Reporter Foxi4 On the hunt...

    pip
    Joined:
    Sep 13, 2009
    Messages:
    22,705
    Location:
    Gaming Grotto
    Country:
    Poland
    This is an English-speaking forum, use English.

    As far as the program is concerned, that's all nice and dandy but 3DS binaries are encrypted and signed. Unless you have a decrypted binary, you won't really find the functions in this way, and to get it in a decrypted format, you need a RAM dumping setup or a working exploit allowing you to scan on the hardware itself - two things that are not exactly what the common folk has access to. That being said, I'm sure someone will make use of this somehow, so cheers. ;)
     
    Tiger21820 likes this.
  5. lokomelo

    Member lokomelo Edson Arantes do Nascimento

    Joined:
    Aug 19, 2009
    Messages:
    964
    Location:
    São Paulo
    Country:
    Brazil
    Google Translate:
    It still looks like chinese for me
     
  6. Syphurith
    OP

    Member Syphurith Beginner

    Joined:
    Mar 8, 2013
    Messages:
    641
    Location:
    Xi'an, Shaanxi Province
    Country:
    China
    I posted a thread in chinese tgbus to descript that fundraiser.But that happened just a few days ago.

    Right it can do nothing about the encrypted data..
    I'm keeping trace with 3dbrew's recently updates, and i find they're trying to analyse GPU command and stuff like that.
    The pioneers seem to be using Devunit to develop and find the commands. So such a tool may help.

    Manually Translate:
    在这里经常见到LZ啊
    ;I can always see u here these days.
    话说这是干什么用的真没看懂。
    ;but What it is is still a question for me.
     

Share This Page