Jump to content

Recommended Posts

Posted (edited)

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.

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...