🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11765

Re: add config data to end of file

#11765
From: Ed Mulroy [TeamB]
Date: Sat, 24 Jan 2004 18:47
42 lines
2906 bytes
One method you might use is kind of brute force but is not too hard.

Ship the target program with a file extension that is not EXE and with an
icon you have created and a data block as large as he is likely to use.
Also alter the first 1K or so of the file so that it cannot be easily
identified as an EXE with a different extension.

During installation replace the first 1K or so, search for the total icon
data and replace with his icon.  Search for the actual data block data and
replace with his data.  Make sure the data block starts with a size item so
that you can handle whatever size he provides when it is smaller than the
max.  After replacing it, save as a file with an EXE extension.

For the shipped item from which you will create the EXE I'd probably xor the
whole file with some 32 bit value and leave out chunks that the installer
would insert just to make his live miserable should he try to reverse
engineer it.


Note that he must be in Administrator mode to create the EXE and even then
any anti-virus software may complain so might need to be disabled when doing
the install.


Side note:
Your name is not "borland".  Change your news reader name setting.

.  Ed

> borland wrote in message
> news:401241c9@newsgroups.borland.com...
>
> The guy inquestion is someone that is purchasing software
> off me to sell on to other sites, therefore he want the ability
> to alter the logo for each sale and so it referrences there
> sites , but without the end users being able to alter this logo...
>
> And the exe wouldn't be modifying itself there would be an
> admin program which i have already used many times that
> would assign a data chunk to the end of the exe file
> containing settings and image data and saved as
> "yourfilenow.exe".
Technical Details
Message-ID: <4012bdd4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4011c9b5@newsgroups.borland.com> <4011cfd3$1@newsgroups.borland.com> <4011d110@newsgroups.borland.com> <4011dcd1@newsgroups.borland.com> <401241c9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9f584b16be099db2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-24 11:04:34 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4011c9b5@newsgroups.borland.com> <4011cfd3$1@newsgroups.borland.com> <4011d110@newsgroups.borland.com> <4011dcd1@newsgroups.borland.com> <401241c9@newsgroups.borland.com>
Subject: Re: add config data to end of file
Date: Sat, 24 Jan 2004 13:47:44 -0500
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <4012bdd4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074970068 24.74.175.102 (24 Jan 2004 10:47:48 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail