🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3370

Re: Copy Protection help needed

#3370
From: Jeffrey E Stoner
Date: Tue, 12 Mar 1996 17:28
24 lines
1707 bytes
Charl Gerber (gerber@stb.dfs.co.za) wrote:
: I am looking for some documentation (preferable a www site) which describes
: some good methods of copy right protection in software. If possible, Modula
: 2 source code or libraries would even be better. Please send e-mail if you
: can help me.

I don't know if this is what you're looking for but I have a C library (no
source) that allows you to check the CRC and file length inside the program.
This is one way to check for reverse engineering and tampering (someone
disassembles the program to by-pass password/copy protection.)  It involves
calling a function at the beginning of the program that reads a section of the
executable with a stored CRC and file length.  It then calculates the CRC
of the executable and checks the file length with the stored values and reports
the results.  Then you add code to react on the results, ie. terminate the
program if they don't match exactly.  
This is very simple but using the C libraries with Modula-2 could be a 
problem, depending on what compiler you have.

Jeff

-- 
   *  internet-->  jesst63+@pitt.edu             * This space reserved  *
   *  http://www.pitt.edu/~jesst63               * for something much   *
   * "I am outcast, unclean." - Thomas Covenant  * better to come along *
Technical Details
Message-ID: <4i4c7k$koi@usenet.srv.cis.pitt.edu>
Path: arc1-ca.pugleaf.net!newsfeed.pitt.edu!jesst63
References: <4i3id1$8vl@aztec.co.za>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeed.pitt.edu!jesst63
From: jesst63+@pitt.edu (Jeffrey E Stoner)
Newsgroups: comp.lang.modula2
Subject: Re: Copy Protection help needed
Date: 12 Mar 1996 17:28:20 GMT
Organization: University of Pittsburgh
Message-ID: <4i4c7k$koi@usenet.srv.cis.pitt.edu>
References: <4i3id1$8vl@aztec.co.za>
NNTP-Posting-Host: unixs-eval.cis.pitt.edu
X-Newsreader: TIN [version 1.2 PL2]