Jump to content
Sign in to follow this  
CiVQ

program self integrity check

Recommended Posts

CiVQ

Hello.

So, how to make the executable self-check?

After some search, I've found nothing, except this post:

I have created a method, creating the checksum, and adding at the end of the .exe, and it works.

But, jchd wrote: ?do=embed#entry1196205'' frameborder='0' data-embedContent>>?do=embed#entry1196205' frameborder='0' data-embedContent>

Embedding the checksum INTO the executable should not work, except knowing the EXACT location of it in the program every time I recompile it. (Checking the file, and overwriting the existing, or empty checksum as a placeholder don't work, because it alters the file, so, next time the checksums won't match)

 

Any suggestions?

Edit: oh, there is a 'sister' topic already open: '?do=embed' frameborder='0' data-embedContent>>

BR.

CiV.

Edited by CiVQ

I know that my code is ugly. But it works. Mostly.

Share this post


Link to post
Share on other sites
CiVQ

No, I can't and don't want to hack executables. Even they are created by myself. It's a tough learning curve, to learn to binary edit a program, and nowadays I don't have time for such a thing.

I was just curious, whether well-spread knowledge about this topic existed.

But, as always, thank you for the answer.

BR.

CiV.


I know that my code is ugly. But it works. Mostly.

Share this post


Link to post
Share on other sites
CiVQ

I was thinking about an executable, but a dll seems good, too.

Thanks.

BR.

CiV.


I know that my code is ugly. But it works. Mostly.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×