PureVALID libraryWhat for ?PureValid is a library with one function : PureValid_CheckFile(Key.s)
It is intended to check an EXE integrity at runtime, by calculating a fingerprint and comparing it to a validation info located at the end of the EXE.
This validation info is generated by PureValid.exe (included) or
PureUPX.
How ?1. In your application YourApp.pb, only add one line :
PureValid_CheckFile("YourEncryptionKey")
or
Valid = PureValid_CheckFile("YourEncryptionKey")
; Valid = 1 if EXE is valid,
; 0 if EXE is corrupt (program stops)
2. Compile your application as usual
3. Validate your application with PureValid.exe :
PureValid YourApp.exe "YourEncryptionKey"
4. It's done. Now if something / someone changes your application, it does not run anymore. Try to change it's name or patch it, and see the result.
Note (1): you can also use
PureUPX to validate your application after compressing (+/- scrambling). If the PureValid library is installed, you will see an extra PureValid section when you start PureUPX.
Note (2): it's only an integrity check, without any anti-debugging tricks, so it's a very lame protection against hackers...
Download library:Only available for Purebasic Windows x86PB3.94 :
http://gnozal.ucoz.com/PureValid.zipPB4.00-4.10 :
http://gnozal.ucoz.com/PureValid_.zipPB4.20 :
http://gnozal.ucoz.com/PureValid___.zipPB4.3x :
http://gnozal.ucoz.com/PureValid_430.zipPB4.4x :
http://gnozal.ucoz.com/PureValid_440.zipPB4.5x :
http://gnozal.ucoz.com/PureValid_450.zipPB4.6x :
http://gnozal.ucoz.com/PureValid_460.zipPB5.0x :
http://gnozal.ucoz.com/PureValid_500.zipPureUPX :http://gnozal.ucoz.com/PureUPX.zip(see
http://forums.purebasic.com/english/vie ... php?t=9030)
Other libs and tools at http://gnozal.ucoz.com/