home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
- From: berend@contrast.wlink.nl (Berend de Boer)
- Newsgroups: comp.lang.pascal
- Subject: my PD editor fights back / TP prot scheme
- Message-ID: <724417991.AA00761@contrast.wlink.nl>
- Date: Tue, 15 Dec 1992 08:31:42
- Sender: postmaster@contrast.wlink.nl
- Lines: 27
-
- Alan Turner wrote in a message to All:
-
- AT> I have my favorite PD editor which I use for small - quick
- AT> little progs. I decided that I would go in with Dos debug
- AT> and just change the color attr byte - so I can see my screen
- AT> better - guess what?
- AT> The program knew that I modified one byte! and gave me an
- AT> error message accordingly! "Program has been altered" and
- AT> blew up!
-
- AT> This is my question because now I am curious - does anyone
- AT> know of TP prot schemes along these lines or is this a
- AT> strictly assembly thing? How can a program do this!!!????
-
-
- Simply: calculating crc for the program and store it at the end of the
- .exe or .com. When loading, calc crc again, compare with the crc at the
- end of the program. If they are not the same, the program has been
- altered (by a virus for example).
-
-
- Groetjes,
-
- Berend. (-:
- fido: 2:281/527.23
- email: berend@contrast.wlink.nl
-
-