home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4573 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.2 KB

  1. Path: sparky!uunet!wupost!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: modifying a variable in a Windows .EXE without re-linking???
  5. Message-ID: <1993Jan4.160418.19426@kth.se>
  6. Date: 4 Jan 93 16:04:18 GMT
  7. References: <1993Jan3.205027.28520@emr1.emr.ca>
  8. Sender: usenet@kth.se (Usenet)
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. Lines: 22
  11. Nntp-Posting-Host: dront.nada.kth.se
  12.  
  13. In <1993Jan3.205027.28520@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
  14.  
  15. >position of a variable in the .EXE, knowing the offset etc into
  16. >a segment like DGROUP.  I'm using Borland C++ 3.1.
  17.  
  18. Ah, but as soon as someone sees what you're doing (in a debugger)
  19. he can do it himself; that copy protection would break in three
  20. seconds blank.
  21.  
  22. A _slightly_ better approach would be to encrypt various (code)
  23. parts of the .EXE with, say, a CRC taken of the data set AND the
  24. variable, as key.
  25.  
  26. Cheers,
  27.  
  28.                             / h+
  29.  
  30. -- 
  31.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  32.   "You NEVER hide the menu bar. You might go about and change the color
  33.   of it to the background color, but you never HIDE the menu bar."
  34.                       -- Tog
  35.