Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Increase the size of an .exe file (https://www.cableforum.uk/board/showthread.php?t=28881)

McGraw 19-05-2005 08:59

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.

danielf 19-05-2005 09:13

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?

philip.j.fry 19-05-2005 09:17

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.

Scarlett 19-05-2005 09:19

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.

danielf 19-05-2005 09:20

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...

punky 19-05-2005 09:50

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).

philip.j.fry 19-05-2005 09:56

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.

Kevin 19-05-2005 10:19

Re: Increase the size of an .exe file
 
I know 2 hehehehe

TheBlueRaja 19-05-2005 10:36

Re: Increase the size of an .exe file
 
Well,
Isnt this a big great love-in. :D

Stuart 19-05-2005 10:43

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.

danielf 19-05-2005 10:49

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 :)

Stuart 19-05-2005 10:54

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.

McGraw 20-05-2005 08:58

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.

philip.j.fry 20-05-2005 09:01

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?

McGraw 20-05-2005 09:04

Re: Increase the size of an .exe file
 
Of course, will post pics to prove if necessary.


All times are GMT. The time now is 18:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum