Quote:
Originally Posted by !_UK@$
Really thanks a lot for sharing all the anticrack things for free. I have one lame questions, what should I do when the code get known that the app has been pirated? Close the app - how? Thanks
|
You should do anything that you want to do. If you want to close the app, go ahead and close it by using some of the closing methods listed in the bottom of this tutorial, likewise, if you want to put advertisements, popups, or anything else in there, feel free. This is your app, do whatever you want!
Ultimately though, I would think about what you would do as a cracker if the developer had implemented whatever method you use when you detect it's pirated. Would you be mad? Sad? Frustrated? Think about it from the opposite perspective.
Quote:
Originally Posted by F.R.E.E.
I am having strange problems with the following preprocessor commands
Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
return;
#endif
when compiled in release mode and run on the device, I still hit the return code, and the debugger check is effectively disabled.
If I comment out the return statement
Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
// return;
#endif
then the debugger check is executed.
Anyone else have this issue?
|
Very interesting. I'm going to have to take a lot closer look at the Encryption check method that I've provided. It looks like their should be a more reliable way to implement this check. Thanks, for the comment F.R.E.E., I'll post here when it's updated.