|
|
Home » Developing U++ » UppHub » Protect package - A starting copy protection system
Protect package - A starting copy protection system [message #28850] |
Sun, 19 September 2010 21:07  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
I added a symple code copy protection / encryption package (Protect) with the encryptor itself (ProtectEncrypt) and a test application (ProtectTest).
Please read the help inside Protect package in order to setup the encryptor.
Once properly setup, the system is transparent to TheIde build system; code will be automatically encrypted upon build.
Please try it with the ProtectTest demo package:
1) Load and build ProtectEncrypt package; if possible put the resulting executable somewhere in your execution path (/usr/bin for Linux, system32 directory for windows). If you prefere, you can leave executable in upp/out folder, but you'll have to give the full executable path to custom build step, see below.
2) Open the demo project ProtectTest; choose the 'GUI PROTECT' build flags AND update the custom build step to match location of your ProtectEncrypt executable; please leave the demo KEY as it is.
3) Build and run the ProtectTest package. If all went OK, you'll see a couple of message boxes telling you that, OR possibly you didn't choose the 'GUI PROTECT' build flags, in which case the encryptor isn't operating.
4) When all above is working, try to change the key inside GetKey() function in ProtectTest package, making it different from the one inside the custom build step line.
Running the app will make it crash, as it'll be executing garbage code instead of un-encrypted one.
REMARKS :
-- if you don't choose the 'GUI PROTECT' build method, encryption will be disabled and your app will run unprotected.
-- if you don't put the right executable path on custom build step, the encryptor won't work, BUT the decryptor inside test app will... so you'r app will crash when run.
This one IS NOT a commercial grade copy protection system, but just a starting point for software locking/encryption; feel free to add suggestions/enhancements to it !
Ciao
Max
[Updated on: Sun, 19 September 2010 23:16] Report message to a moderator
|
|
|
 |
|
Protect package - A starting copy protection system
By: mdelfede on Sun, 19 September 2010 21:07
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 00:50
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 10:02
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 13:57
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 18:29
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 21:38
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 23:21
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 23:38
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 20 September 2010 08:14
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 22 September 2010 00:52
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 23 September 2010 17:05
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Thu, 23 September 2010 20:39
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 24 September 2010 10:13
|
 |
|
Re: Protect package - A starting copy protection system
By: Zbych on Sat, 25 September 2010 13:36
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 25 September 2010 15:37
|
 |
|
Re: Protect package - A starting copy protection system
By: Zbych on Sat, 25 September 2010 18:03
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 25 September 2010 18:59
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 29 September 2010 22:29
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 30 September 2010 21:30
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 30 September 2010 22:59
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 01 October 2010 08:11
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 01 October 2010 13:53
|
 |
|
Re: Protect package - A starting copy protection system
By: 281264 on Fri, 01 October 2010 21:53
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 01 October 2010 22:36
|
 |
|
Re: Protect package - A starting copy protection system
By: 281264 on Sat, 02 October 2010 16:00
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 02 October 2010 18:08
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 03 October 2010 22:49
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 08 October 2010 12:29
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 08 October 2010 14:10
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 10 October 2010 14:35
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Wed, 13 October 2010 09:11
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 14 October 2010 01:42
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 14 October 2010 10:45
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 15 October 2010 10:54
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 15 October 2010 11:23
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 15 October 2010 12:05
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 15 October 2010 12:23
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 30 January 2011 19:24
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 04 February 2011 01:39
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 04 February 2011 12:04
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 April 2011 10:02
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 06 April 2011 13:49
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 April 2011 15:23
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 06 April 2011 23:18
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 April 2011 14:55
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 08 June 2011 10:08
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 17 October 2011 21:24
|
 |
|
Re: Protect package - A starting copy protection system
By: ratah on Wed, 28 December 2011 10:54
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Wed, 28 December 2011 13:04
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 01 June 2018 15:43
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 04 June 2018 08:53
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 11:37
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 19:10
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 20:22
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 13 October 2010 01:06
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 21:08
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 08:31
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 09:30
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 10:12
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:16
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:34
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:42
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 13:32
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 15:30
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 June 2018 12:26
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 June 2018 13:16
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 12:42
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 13:00
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 14:22
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 14:41
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Sat, 09 June 2018 09:49
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 12 June 2018 20:23
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:32
|
 |
|
Re: Protect package - A starting copy protection system
|
Goto Forum:
Current Time: Sat Apr 26 05:42:24 CEST 2025
Total time taken to generate the page: 0.01683 seconds
|
|
|