|
-
Sep 9th, 2002, 04:27 AM
#1
Thread Starter
New Member
Integrity of my exe
Hi,
I need my program to check that its own integrity is ok. For example: if someone used a hexadecimal editor to alter something in the exe, the program shouldn't start or even better: should start, display a messagebox that the integrity is not ok and then shutdown.
How to do this?
Thanks,
Ray
-
Sep 9th, 2002, 06:27 AM
#2
Retired VBF Adm1nistrator
Bundle the MD5 checksum with the application ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 9th, 2002, 06:34 AM
#3
Fanatic Member
Use CRC32!
Here's some easy example:
Read ur EXE
For first byte, merge it with the subsequent byte to produce
a 32bit(4 bytes) long data, and for subsequent bytes,
for each byte merge it with the previous 32bit data and
produce a new 32bit data
By mean of merge, you can use complex algorithms to
encrypt that two bytes together to produce the 32bit data
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|