How Do You Edit A .exe? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: How Do You Edit A .exe? (/showthread.php?tid=65502) How Do You Edit A .exe? by .Roy on 08-28-2006 at 12:39 PM
Lets say i have an .exe that does something every 60 seconds or so and it clicks "K" RE: How Do You Edit A .exe? by Eddie on 08-28-2006 at 12:45 PM
I think you have to get hold of the source code, but im not 100% sure. RE: How Do You Edit A .exe? by Matti on 08-28-2006 at 12:48 PM
An EXE is a compiled program. If you don't have the source code of it, there's really no way you can modify it. If there would be a way, we wouldn't have to make Plus! hook into Messenger but simply add its source to Messenger's... RE: How Do You Edit A .exe? by .Roy on 08-28-2006 at 01:03 PM
I get it lol... RE: How Do You Edit A .exe? by matty on 08-28-2006 at 01:19 PM
quote:That could be made using the Windows API RE: How Do You Edit A .exe? by segosa on 08-28-2006 at 02:13 PM
You could reverse engineer it. What you want to do sounds pretty easy actually. RE: How Do You Edit A .exe? by ShawnZ on 08-28-2006 at 02:27 PM
quote:messpatch? apatch? quote:why do you think virus scanners set up protection to prevent them from being modified... quote:agreed. reverse engineering is useful if you want to modify one portion of a large application, but changing most of a very small program is just useless. RE: How Do You Edit A .exe? by Matti on 08-28-2006 at 03:01 PM
quote:Good try, but those use Resource Hacker which can change hexadecimal codes. They can't add new features, like a new menu, in it, but only modify the images and UIFILES. And when you now gonna tell me Aero MSN can add menu's, that's a modified background popup menu. Ever wondered why there wasn't the "Choose background" menu but instead the dialog box when you clicked the Backgrounds button? The same way they changed other menu's to 'create' their own. No new features, but patches. RE: How Do You Edit A .exe? by Lou on 08-28-2006 at 03:05 PM
quote:Messpatch has a feature to add a new image inside the conversation window, so you can instantly go to your recieved files. RE: How Do You Edit A .exe? by RaceProUK on 08-28-2006 at 03:17 PM
quote:You can hook API calls, which allows you to add all sorts of stuff. Hooking API calls involves patching the EXE's Import Address Table, either on the disk or in memory. RE: How Do You Edit A .exe? by Matti on 08-28-2006 at 03:21 PM
quote: quote:Damn... then how can I explain that .exe's can't be changed as you can change .js's or .htm's? * Matti gives up... RE: How Do You Edit A .exe? by RaceProUK on 08-28-2006 at 03:32 PM
You can't RE: RE: How Do You Edit A .exe? by Supersonicdarky on 08-28-2006 at 04:33 PM
quote:exe are compiled, js and html are just a txt with a different extention RE: How Do You Edit A .exe? by ShawnZ on 09-04-2006 at 06:03 PM
quote: oh yeah? [/late reply] RE: RE: How Do You Edit A .exe? by CookieRevised on 09-04-2006 at 06:45 PM
quote:It works because there is already support for that within the program. The image existed as a resource and the command to go to your recieved files already exists. All the patch does is re-arranging what is seen. It doesn't add anything new. What Mattike means are adding new features. quote:Instead of replying with a 2 word line, explain what you mean (I know this, but other people might not). And what Mattike obviously means is that you can not add new features to a program just like that (and certainly not with program such as resource hacker as he mentioned in the quote, but which you apparently conveniently missed). You can modify stuff (and thus "creating" a "new" feature out of it), but it is as good as impossible to add true new features (eg: add a custom name feature like in WLM to MSN Messenger). All you can do is altering what already exists. This said, we all know there are ways of adding stuff to programs (this is what virusses do for example), but in the context of this thread and for the purpose of explaning the differences, it is not possible. Again, in the quote you replied upon, Mattike also mentionned Resource hacker, which is nothing more than an editor/compiler for resources. With that, as you know, you can do even less and only change stuff like menu names, some layouts, etc. In short stuff which is already supported and/or used within the program. He is dead-on correct in what he said. All this said, what the top poster wants is altering a routine which already exists in the program's code. He doesn't want anything new, just some values changed. This can perfectly be done by disassembling and patching as Segosa already suggested. In that context Mattike was not correct. Even RaceProUK's reply isn't complete if you want to be technical, as there are more ways of hooking APIs and/or letting a program do something which it wasn't designed to do. -------- I post all this because with an (pardon my french: stupid) "oh yeah" nobody will ever be helped at all. A more detailed explanation is in place here. -------- EDIT: quote:...what I said in paragraph 5 and 7 of this post.... Anyways, at least that new reply of yours is far more helpfull than "oh really"... quote:which is exactly what you said "depending on the feature it'll usually be incredibly hard..." ... are we starting this again? The point is that instead of trying to make witty comments, why don't you actually post a helpfull post as in posting more than just stuff like "oh really", but more stuff like those last replies. RE: How Do You Edit A .exe? by ShawnZ on 09-04-2006 at 07:25 PM
quote: in paragraph 5 and 7, you just came to the conclusion that it wasn't reasonably possible with basic knowledge of assembler and the structure of compiled C++ programs in windows, it isn't exactly impossible to add functionality to a part of a program, you could even compile compile c++ code and add a button or menu to execute it if you were skilled enough. |