Download app code from iPod?

Discussion in 'iOS Development' started by Jek570, Jun 14, 2010.

  1. Jek570

    Jek570 New Member

    Joined:
    Jun 9, 2010
    Messages:
    121
    Likes Received:
    0
    Device:
    3G iPod touch
    Is there a way to get the code of an app off of an iPod touch? Mine is jailbroken and I know how to use ssh and ifile. I know enough about programming to knowwhat the diff files are. One is the app and has no extention. Thanks in advance!
  2. m0in

    m0in Well-Known Member

    Joined:
    Dec 28, 2009
    Messages:
    2,723
    Likes Received:
    28
    Device:
    4G iPod touch
    Umm... I think you are talking about decompiling a app.
    I wonder if it is against the rules for us to help you...
  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    Once a program is compiled, you can't somehow "extract" the source code from the binary. If you know ARM assembly, you can disassemble functions and—depending on your skill/experience with reversing—see what's "going on". However, the symbols of AppStore apps are stripped, which makes reverse engineering difficult.
  4. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
    There is a tool that decompiles iPhone apps but it costs $999 + the iPhone app addon
  5. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    A so-called decompiler may be able to generate high-level language code, but due to compiler optimization, macros, inline functions, and all the information discarded by the compiler at compile time, the result will be dirty. However, if you know a thing or two about compilers and assembly, then "dirty" is more than sufficient in helping you reverse a program.

    If you want to get into manual reverse-engineering, do not start with iPhone apps.
  6. Jek570

    Jek570 New Member

    Joined:
    Jun 9, 2010
    Messages:
    121
    Likes Received:
    0
    Device:
    3G iPod touch
    so, is it possible for someone like me? I'm not planning on doing anything illegal.
  7. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,061
    Likes Received:
    1
    Device:
    3G iPod touch
    Called what?

    and i bet its rubbish due to what axis said
  8. Jek570

    Jek570 New Member

    Joined:
    Jun 9, 2010
    Messages:
    121
    Likes Received:
    0
    Device:
    3G iPod touch
    Can someone tell me what it is?
  9. Pelaez-1

    Pelaez-1 New Member

    Joined:
    May 5, 2008
    Messages:
    822
    Likes Received:
    0
    Device:
    iPhone
    Two things:

    A) Knowing that the file with no extension is the executable is NOT knowing programming.

    B) If you want that program to see the source code of applications, and use it in yours, forget it, you'll be wasting your money, the results from that program are not gonna be what you expect.
  10. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
    IDA Pro, they say they can decomplie things to the most source code like of any decompiler.

Share This Page