Increase the size of an .exe file
19-05-2005, 08:59
|
#1
|
|
Inactive
Join Date: Dec 2003
Location: Manchester
Posts: 993
|
Increase the size of an .exe file
Is it possible to pad out an .exe file so that it is bigger but still works?
If so, how?
Cheers.
|
|
|
19-05-2005, 09:13
|
#2
|
|
cf.mega poser
Join Date: Jun 2003
Posts: 16,687
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by McGraw
Is it possible to pad out an .exe file so that it is bigger but still works?
If so, how?
Cheers.
|
Why would you want to do that?
__________________
Remember kids: We are blessed with a listening, caring government.
|
|
|
19-05-2005, 09:17
|
#3
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Increase the size of an .exe file
Do you have access to the source code? If so you could put in some random rubbish and recompile. I too am perplexed as to why you want to do so.
|
|
|
19-05-2005, 09:19
|
#4
|
|
Inactive
Join Date: Jun 2003
Location: St Neots
Posts: 872
|
Re: Increase the size of an .exe file
In short no, the exe only contains that actual code that does the work so the only way that I know that would pad it would be to add a lot of redundant code. Why you would want to do this I don't know* and its very naughty to waste space.
Scarlett.
* The evil overlord list does give a good reason though ;
My master plan for taking over the world will be in a file 1.45 mb in size.
|
|
|
19-05-2005, 09:20
|
#5
|
|
cf.mega poser
Join Date: Jun 2003
Posts: 16,687
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by philip.j.fry
Do you have access to the source code? If so you could put in some random rubbish and recompile. I too am perplexed as to why you want to do so.
|
The only reason I can think of is to make it look like it is some other file, which can hardly be a legitimate reason...
__________________
Remember kids: We are blessed with a listening, caring government.
|
|
|
19-05-2005, 09:50
|
#6
|
|
Inactive
Join Date: Jun 2003
Age: 45
Posts: 14,750
|
Re: Increase the size of an .exe file
Like Daniel said....
If you can give me one decent legitimate reason for doing it, then I will tell you how to do it, without needed access to the source code. (I know it works because I just did it).
|
|
|
19-05-2005, 09:56
|
#7
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by punky
If you can give me one decent legitimate reason for doing it, then I will tell you how to do it, without needed access to the source code.
|
I think I know too, will keep schtum though.
|
|
|
19-05-2005, 10:19
|
#8
|
|
Inactive
Join Date: Jun 2003
Services: 10Mb Broadband
Posts: 127
|
Re: Increase the size of an .exe file
I know 2 hehehehe
|
|
|
19-05-2005, 10:36
|
#9
|
|
cf.mega poster
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
|
Re: Increase the size of an .exe file
Well,
Isnt this a big great love-in.
|
|
|
19-05-2005, 10:43
|
#10
|
|
-
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by danielf
The only reason I can think of is to make it look like it is some other file, which can hardly be a legitimate reason...
|
There are legitimate reasons you can do this (and I have done in the past). I caught a user running port scans (which, while it's not, strictly speaking, against the rules, it is bending them ). I wrote a little program that when run, displayed "Access Denied", padded it out to the same size as the program he was using, overwrote the program he was using (making sure to preserve the date stamp). Then watched as he tried to do a port scan.
|
|
|
19-05-2005, 10:49
|
#11
|
|
cf.mega poser
Join Date: Jun 2003
Posts: 16,687
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by scastle
There are legitimate reasons you can do this (and I have done in the past). I caught a user running port scans (which, while it's not, strictly speaking, against the rules, it is bending them ). I wrote a little program that when run, displayed "Access Denied", padded it out to the same size as the program he was using, overwrote the program he was using (making sure to preserve the date stamp). Then watched as he tried to do a port scan.
|
Fair enough, though I'd call that a semi-legitimate use
__________________
Remember kids: We are blessed with a listening, caring government.
|
|
|
19-05-2005, 10:54
|
#12
|
|
-
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by danielf
Fair enough, though I'd call that a semi-legitimate use 
|
True..It was, however the only thing that comes near to being a legitimate use that I could think of.
I wouldn't normally do it anyway. The only reason I dd it in this case was that we knew the user was involved in hacking activity and he had been warned multiple times not to run port scans.
Normally, I just remove the user's access to the program.
|
|
|
20-05-2005, 08:58
|
#13
|
|
Inactive
Join Date: Dec 2003
Location: Manchester
Posts: 993
|
Re: Increase the size of an .exe file
Well I don't know how legitimate you call this but it's to get a nocd to work.
|
|
|
20-05-2005, 09:01
|
#14
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Increase the size of an .exe file
Quote:
|
Originally Posted by McGraw
Well I don't know how legitimate you call this but it's to get a nocd to work.
|
Do you own the program licence?
|
|
|
20-05-2005, 09:04
|
#15
|
|
Inactive
Join Date: Dec 2003
Location: Manchester
Posts: 993
|
Re: Increase the size of an .exe file
Of course, will post pics to prove if necessary.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 19:04.
|