Page 1 of 2
Software protection example
Posted: Tue Jun 11, 2024 2:11 pm
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
Re: Software protection example
Posted: Sun Jun 16, 2024 5:43 pm
by brunellopulix
DemoProt.Prg and Run_App.Prg
Re: Software protection example
Posted: Mon Jun 17, 2024 6:16 am
by serge_girard
Thanks for sharing !
Serge
Re: Software protection example
Posted: Mon Jun 17, 2024 11:09 am
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)
Re: Software protection example
Posted: Mon Jun 17, 2024 1:35 pm
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.
Re: Software protection example
Posted: Mon Jun 17, 2024 2:01 pm
by brunellopulix
rename _DEMOPROT.ZIP to DEMOPROT.ZIP
Re: Software protection example
Posted: Mon Jun 17, 2024 2:19 pm
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 (191.88 KiB) Viewed 1432 times
Re: Software protection example
Posted: Mon Jun 17, 2024 2:25 pm
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

.
Re: Software protection example
Posted: Mon Jun 17, 2024 2:36 pm
by brunellopulix
Check Firewall?
Re: Software protection example
Posted: Mon Jun 17, 2024 2:45 pm
by brunellopulix
delete demoprot.exe unpack exe from demoprot.zip