Results 1 to 3 of 3

Thread: Integrity of my exe

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    Haarlem, The Netherlands
    Posts
    2

    Question 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

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Bundle the MD5 checksum with the application ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    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
  •  



Click Here to Expand Forum to Full Width