Mail Archives: djgpp/1997/07/19/14:03:05
From: | James MacDonald <trill AT Xnetbook DOT demon DOT co DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Licence management under DJGPP?
|
Date: | Thu, 17 Jul 1997 21:54:24 +0100
|
Organization: | Trills and Technologies
|
Distribution: | world
|
Message-ID: | <QSOGAFAAaozzEwv2@netbook.demon.co.uk>
|
NNTP-Posting-Host: | netbook.demon.co.uk
|
MIME-Version: | 1.0
|
Lines: | 23
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I want to distribute my program as a full and an evaluation version.
Both would be the same EXE file, the same size, but one would be stamped
with a registration code and one would not.
Perhaps the evaluation one would have REGREGREGREGREGEREG in it as a
placeholder for a code to turn it into a full one.
I'd like some help on how to replace text in EXE files so that they run
again, to display a user name.
The file, XYZ.EXE would be licenced by LICENCE.EXE - it would ask for a
name, and then a crypt()'d version of that name chosen with a special
salt (obviously crypt() would be doctored so that UNIX users couldn't
generate codes) - then the crypt'd string would replace REG.. in the
program. Possible, or not?
Executor does it :)
--
Revised anti-spam in use : remove X to reply -
'Xnetbook' becomes 'netbook'
Anti-spam thermonuclear warheads cheap at only $300!
- Raw text -