Article View: borland.public.cppbuilder.nativeapi
Article #11768Re: add config data to end of file
From: Mr borland
Date: Sun, 25 Jan 2004 08:26
Date: Sun, 25 Jan 2004 08:26
51 lines
3140 bytes
3140 bytes
Cheers, and sorry about the wrong username.. "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote in message news:4012bdd4$1@newsgroups.borland.com... > 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:
<40137dc1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4011c9b5@newsgroups.borland.com> <4011cfd3$1@newsgroups.borland.com> <4011d110@newsgroups.borland.com> <4011dcd1@newsgroups.borland.com> <401241c9@newsgroups.borland.com> <4012bdd4$1@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-25 00:32:04 PST From: "Mr borland" <rogersmail@ntlworld.com> 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> <4012bdd4$1@newsgroups.borland.com> Subject: Re: add config data to end of file Date: Sun, 25 Jan 2004 08:26:52 -0000 Lines: 53 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 62.255.40.45 Message-ID: <40137dc1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075019201 62.255.40.45 (25 Jan 2004 00:26:41 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail