CiVQ Posted September 6, 2014 Share Posted September 6, 2014 (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 September 6, 2014 by CiVQ I know that my code is ugly. But it works. Mostly. Link to comment Share on other sites More sharing options...
JohnOne Posted September 6, 2014 Share Posted September 6, 2014 I believe this is basically hacking and modifying an executable, of course it is possible, crackers do it all the time, I'm just not sure if it's against this forums rules to discuss it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
CiVQ Posted September 6, 2014 Author Share Posted September 6, 2014 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. Link to comment Share on other sites More sharing options...
JohnOne Posted September 6, 2014 Share Posted September 6, 2014 One way would be to use an external compiled module such as a dll to test the integrity of your file. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
CiVQ Posted September 7, 2014 Author Share Posted September 7, 2014 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now