Software protection example

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Software protection example

Post by brunellopulix »

Hi everyone.
Obviously I can't share the code but it can help anyone who is interested.

Remember:
1- antivirus check
2-do not unpack _DEMOPROT.ZIP (it is an update that you will have to use after seeing how the executable works)
3- then you will have to rename _DEMOPROT.ZIP to DEMOPROT.ZIP and launch the executable.

Okay?

Brunello Pulix
Attachments
DEMO.zip
(4.27 MiB) Downloaded 97 times
brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Re: Software protection example

Post by brunellopulix »

DemoProt.Prg and Run_App.Prg
Attachments
Demo2.zip
(1.98 KiB) Downloaded 64 times
User avatar
serge_girard
Posts: 3309
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Software protection example

Post by serge_girard »

Thanks for sharing !

Serge
There's nothing you can do that can't be done...
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Software protection example

Post by edk »

@brunellopulix
When running demoprot.exe, it always shows me the following error:

HMG Errorlog File

Date:17/06/2024 Time: 13:05:14
Error BASE/1132 Bound error: array access

Called from _PROT2(98)
Called from CHECK_COPY(394)
Called from MAIN(50)
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Software protection example

Post by edk »

I already solved it, creating the ___RESET___.TXT file did not help, I had to delete the keys from HKCU\Software\Security\ as supervisor.
brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Re: Software protection example

Post by brunellopulix »

rename _DEMOPROT.ZIP to DEMOPROT.ZIP
Attachments
_DEMOPROT.ZIP
(1.71 MiB) Downloaded 46 times
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Software protection example

Post by edk »

Still the same issue, only deleting the keys from the registry helps, but only for the first run. The next run ends with an error.
Record_2024_06_17_16_15_07_808.gif
Record_2024_06_17_16_15_07_808.gif (191.88 KiB) Viewed 1330 times
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Software protection example

Post by edk »

After removing the keys from the registry, running the application as Administrator helps. Then the keys in the registry are created correctly. But each user registration requires running the application in As Administrator mode, otherwise it doesn't work. I guess it depends on the Windows security policy settings, mine are quite strict :).
brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Re: Software protection example

Post by brunellopulix »

Check Firewall?
brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Re: Software protection example

Post by brunellopulix »

delete demoprot.exe unpack exe from demoprot.zip
Post Reply