An "Anti-Cracked App Method" For Your App Store Apps.

Discussion in 'iOS Development' started by H4CK!NT0SH, Aug 16, 2009.

  1. H4CK!NT0SH

    H4CK!NT0SH Banned

    Joined:
    Jun 28, 2009
    Messages:
    159
    Likes Received:
    0
    Device:
    2G iPod touch
    Hey. I know this has already been posted but it is deep in the archives of the forum..archives. haha. It is code that is VERY easy to patch, but at least it makes you feel a little bit more secure. I am not going to explain how to patch it, because..yeah. It basically checks if the app is legitimate and if it is cracked it will immediately close. Here is the code:

    Code:
    NSBundle *bundle = [NSBundle mainBundle];
    NSDictionary *info = [bundle infoDictionary];
    if ([info objectForKey: @"SignerIdentity"] != nil)
    {
    system(exit(0);)
  2. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    Devs are better off checking MD5 hashes or the file size of the Info.plist.

    Anyway, it only checks to see if the app has been cracked via the Info.plist. That's not the only way to crack an app, and a good cracker would know that.
  3. H4CK!NT0SH

    H4CK!NT0SH Banned

    Joined:
    Jun 28, 2009
    Messages:
    159
    Likes Received:
    0
    Device:
    2G iPod touch
    Ugh. I understand that. I'm just putting this out there because it might be useful to someone. Like I said, it can be VERY easily patched. VERY.
  4. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    I didn't mean to come across as condescending, and it would deter "wimpy" crackers (12 year olds with some free time), and even that could make a difference in the bottom line of an app's revenue.
  5. H4CK!NT0SH

    H4CK!NT0SH Banned

    Joined:
    Jun 28, 2009
    Messages:
    159
    Likes Received:
    0
    Device:
    2G iPod touch
    Haha yeah. Sorry, I didn't think you were condescending. I just am running on 15 minutes of sleep and I'm being an ass to everyone xD. You're right though. Many apps that are on *That cracked app website which I hope dies very soon* are usually uploaded by little kids using *That application that cracks apps and I want to punch the creator of that app in the face.*

    Lol.
  6. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    hex out "SignerIdentity" with something else that wouldn't exist in the plist.. ever, and it is cracked. =p
  7. H4CK!NT0SH

    H4CK!NT0SH Banned

    Joined:
    Jun 28, 2009
    Messages:
    159
    Likes Received:
    0
    Device:
    2G iPod touch
    "VERY easy to patch. VERY"

    I don't know how much more I can say. And thank you for giving away how to patch it.
  8. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    I don't think gojohnnyboi's comment hurt any developers. Or helped any crackers for that matter. It's pretty much regarded as common knowledge.
  9. H4CK!NT0SH

    H4CK!NT0SH Banned

    Joined:
    Jun 28, 2009
    Messages:
    159
    Likes Received:
    0
    Device:
    2G iPod touch
    Not for 12 year old idiots using [REDACTED].
  10. The Baydestrian

    The Baydestrian Well-Known Member

    Joined:
    Nov 19, 2007
    Messages:
    3,169
    Likes Received:
    27
    Device:
    iPhone 4S (White)
    You might wanna edit that.

Share This Page