Piracy

Previous topic - Next topic

Kitty Hello

wasn't that IMPORT "C" int iPhoneIsCracked()

ampos

Quote from: Kitty Hello on 2010-Oct-11
wasn't that IMPORT "C" int iPhoneIsCracked()

Ein? :blink:
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Cliff3D

Quote from: ampos on 2010-Oct-11
Quote from: Kitty Hello on 2010-Oct-11
wasn't that IMPORT "C" int iPhoneIsCracked()

Ein? :blink:

In:

Code (glbasic) Select

SETCURRENTDIR("Media") // seperate media and binaries?
SETSCREEN 960,640,0
LOADFONT "smalfont.png",0

WHILE TRUE
PRINT "PI:"+iPhoneIsCracked(),0,192
SHOWSCREEN
WEND

?IFDEF IPHONE
IMPORT int iPhoneIsCracked()
?ELSE
FUNCTION iPhoneIsCracked:
   RETURN FALSE
ENDFUNCTION
?ENDIF



try

Code (glbasic) Select
IMPORT "C" int iPhoneIsCracked()

in place of

Code (glbasic) Select
IMPORT int iPhoneIsCracked()

ampos

With the "C" trick now XCode compiles with no error, but the "cracked" detection does not work. I have checked it on a 3G-3.1 jailbroken+install0us and iphoneiscracked() returns 0.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

MrTAToad

Doesn't it detect a pirated copy of the application and not whether the iPhone has been jail broken ?

ampos

I have the following program:

Code (glbasic) Select
//TEST

?IFDEF IPHONE
IMPORT "C" int iPhoneIsCracked()
?ENDIF

SETCURRENTDIR("Media") // seperate media and binaries?
SETSCREEN 480,320,0
LIMITFPS 60

WHILE TRUE
PRINT "PI:"+iPhoneIsCracked(),0,192
SHOWSCREEN
WEND

?IFNDEF IPHONE
FUNCTION iPhoneIsCracked:
   RETURN FALSE
ENDFUNCTION
?ENDIF


I have installed it on a iPhone trough xcode and on a jailbroken/install0us one using the ipa generated by xcode.

In both cases iPhoneIsCracked() always returns 0
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

MrTAToad

Modify the SignerIdentity key

From Gernot :

QuoteI check for the SignerIdentity key.

ampos

The jb iPhone is just a plain phone. Nothing installed but jb/installous. Also the phone is unknown to apple Dev/xcode.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

MrTAToad

That may be, but the function checks the integrity of the application, and not the phone.

BdR

*kicks thread*

Only 1 day after its release, I found out my new game was made available as "cracked IPA" file, which can be installed without paying the astronomical amount of 1 lousy dollar. :rant: I guess the only conclusion is that most iphone users are dirt poor sobs..  Maybe you can tell from my sarcasm, I feel kinda bitter and sad about this, I worked about 6 months on this game. :(

I only have the official sales results of the first day (half a day really) and there are 5 official buyers, while my own database shows at least 13 distinct users (it only logs usage of the level editor).

In the next update or a new game, I will definitely try to put crack-detection and display a nag screen or disable some key features... or maybe just display "cracked version detected, apparently you have no money" and then link to an unemployement site or something.

Leginus

Lol "link to unemployment site", harsh but funny

Maybe try to appeal to their better nature.  I went onto the download forum where my game was and said along the lines of "I hope you all enjoy the game, but as the developer of this, my family doesn't feed itself and for 59p,maybe you would consider downloading it"

Not sure it helped though.

How would you tell which on of the 13 is hacked and which are legitimate for your nag screen?

The problem is that software will always be hacked and has been ever since the commodore 64 days when i was on the other side of the fence.  Maybe a way forward would be to offer free software but with in app purchases.  As much as i hate in ap purchases myself, its an option.

Just a word of warning which I didnt think of.  I downloaded the hacked version of my game to my pc, so I could see what the ipa looked like.  I forgot to put my media into a data file and therefore is free for anybody to rip off.

New games will be using shoebox :)



Moebius

I was thinking of appealling to the user, but also limiting the game to what you'd get in a 'Lite' version, including ads so you could still make revenue.
However, the "link to unemployment site" seems to great to exclude from the cracked version  :good:
Perhaps you could upload a 'cracked' version yourself just to annoy people...
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

BdR

#57
I also downloaded the ipa file, which you can rename to zip and then open with winrar. This is what it contains:
Code (glbasic) Select

/Payload/TripleDutch.app/Info.plist   // <- seems unaltered
/Payload/TripleDutch.app/TripleDutch  // the binary is altered, at least it has a different date
/Payload/TripleDutch.app/Icon.png     // 57x57 icon
/Payload/TripleDutch.app/etc.         // default.png, icons and media files etc. unaltered
/iTunesArtwork                        // <- 512x512 png icon
/iTunesMetadata.plist                 // <- my app can't check this file(?)
/_RickRossBoss                        // tag file added by script kiddy


The tag file mentions that the game was cracked using Clutch 1.0.5 whatever that is. The binary seems and the iTunesMetadata.plist file seem to be altered in some way, but the Info.plist seems the same (though I'm not 100% sure, can't access the original files atm) which would seem to rule out checking that file as copy-detection.

btw I personally don't mind so much that the images and sound files can be extracted, if someone wanted to extract them in the first place, they probably (hopefully) want to do something creative with it (photoshop, wallpaper etc) so that's okay with me. But simply a pirated copy of the entire app bundle carelessly floating around on sites like megaupload, that just pisses me off.

Leginus

After spending hours upon hours of doing gfx (which I have to work really hard at) as its not my natural forte, i find it HIGHLY frustrating that they get ripped, regardless of whether its for a fan site or not.   :rant:

However, saying that, maybe it is c64 kalma coming back to haunt me.  At least we werent scipt kiddies though and had to really work at hacking :)

Either way I was wrong all those years ago and I am sure these people will realise it too.  Just the natural cycle.
Still...... hope there phones blow up lol   (sorry, childish moment :))





MrTAToad

One thing you could try (if you know PHP and what not) is when its all finished, calculate a MD5 checksum of the complete iPhone package, which your program uses (after adding in the code) which would be checked against a reference value from a website (or internally of you like).