home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7508 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.2 KB

  1. Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
  2. From: berend@contrast.wlink.nl (Berend de Boer)
  3. Newsgroups: comp.lang.pascal
  4. Subject: my PD editor fights back / TP prot scheme
  5. Message-ID: <724417991.AA00761@contrast.wlink.nl>
  6. Date: Tue, 15 Dec 1992 08:31:42
  7. Sender: postmaster@contrast.wlink.nl
  8. Lines: 27
  9.  
  10. Alan Turner wrote in a message to All:
  11.  
  12.  AT> I have my favorite PD editor which I use for small - quick
  13.  AT> little progs. I decided that I would go in with Dos debug
  14.  AT> and just change the color attr byte - so I can see my screen
  15.  AT> better - guess what?
  16.  AT> The program knew that I modified one byte! and gave me an
  17.  AT> error message accordingly! "Program has been altered" and
  18.  AT> blew up!
  19.  
  20.  AT> This is my question because now I am curious - does anyone
  21.  AT> know of TP prot schemes along these lines or is this a
  22.  AT> strictly assembly thing? How can a program do this!!!????
  23.  
  24.  
  25. Simply: calculating crc for the program and store it at the end of the
  26. .exe or .com. When loading, calc crc again, compare with the crc at the
  27. end of the program. If they are not the same, the program has been
  28. altered (by a virus for example).
  29.  
  30.  
  31. Groetjes,
  32.  
  33. Berend. (-:
  34. fido: 2:281/527.23
  35. email: berend@contrast.wlink.nl
  36.  
  37.