Computing.Net > Forums > Programming > Convert .exe file into source code?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Convert .exe file into source code?

Reply to Message Icon

Name: Bob Murphy
Date: November 14, 2003 at 06:42:55 Pacific
OS: Windows 2000 pro
CPU/Ram: 250
Comment:

Hi, I lost some files which included source code. However I have an .exe file of the source code. Is there anyway I can convert the .exe file back into source code? By the way the code is C#.



Sponsored Link
Ads by Google

Response Number 1
Name: Andy
Date: November 14, 2003 at 07:32:10 Pacific
Reply:

Hi
I am having a similar problem myself. I have found a company who claim to have a .NET decompiler but it costs $1099 - http://www.remotesoft.com/salamander/

It sounds too good to be true but maybe I'm wrong. I have found other resources that can produce C source code from an exe file.

If you find anything useful please let me know.


0

Response Number 2
Name: anonproxy
Date: November 14, 2003 at 11:22:00 Pacific
Reply:

I think we are beginning to see the end of traditional closed source. The fact that compiled code is also closed to all but complex reversal techniques was simply a condition of process. It was never exactly intended to imply a means for a proprietary model - it just evolved to that end.

And as this change comes along, so does the difference between free software and open source, which Richard Stallman has propheted. With this distinction of paramount importantance, open source licenses and models will diversify and become increasingly applied. As one can already observe, there are many open source licenses. As these licenses come into common and distributed use, they will be legally evaluated. It is almost above coincidence that SCO is challenging the GPL, indirectly or otherwise.


0

Response Number 3
Name: Sord
Date: November 14, 2003 at 14:39:10 Pacific
Reply:

Though it is highly unlikely to "lose" your source code, Reflector is free and it will do the job.


0

Response Number 4
Name: Sci-Guy
Date: November 14, 2003 at 14:55:11 Pacific
Reply:

I took a look at the web page for Reflector and notice that it is for .NET. Then there is the company selling a .NET decompiler. If there are decompilers available for .NET, does this mean that software written using VS.NET is less secure than software written using VS6?


0

Response Number 5
Name: anonproxy
Date: November 14, 2003 at 22:41:30 Pacific
Reply:

"does this mean that software written using VS.NET is less secure than software written using VS6? "

I don't think you can really make the claim that a program with the source disclosed is as secure or less so than a program with the source undisclosed. At the very least, it is a diagnosis made on a program by program basis.

Also, we are talking about VB - not necessarily enough complexity in memory management or system process to introduce significant problems (other than bugs, and the thing not working) at levels destructive to the system. Furthermore, many of the components are intrinsic to Windows and their source is hidden.

Additionally, .NET has managed code, so many common faults, like buffer overflows, can be avoided at runtime.

Frankly, you have to remember several things.

1) The decompiled code is not verbatim the interpreted source. Someone has to know what they are doing - this would disclude the average user entirely. And of course, not everyone has the decompiler. So we are talking a small group of individuals who not only have to care, but have the time and knowledge as well. You might wish your code carried a big enough incentive for them to even look at it.

2) You have to get the bytecode to decompile it. Sure in things you develop for local use this can be an issue, but on the server-side nobody cares. There should be no remote access to memory or read access of important files anyway. A lot of .NET is for server processes.

3) For many things, it really does not matter. If you have a small utility or similar functional program, it is not worth anyone's time to decompile it. If someone wants to, let them hack a local program. They will not be getting anything special. And without significant revision, it probably will not work outside of your intentions.

Where is this bad? Networking enabled clients. If a killer app with .NET was poorly configured with networking, a virus or worm carrying a malicious patch could sweep the Internet and make pernicious changes (to create zombies or maybe propogate something else). Unlikely though.


0

Related Posts

See More



Response Number 6
Name: Sci-Guy
Date: November 15, 2003 at 04:15:14 Pacific
Reply:

Wow, just a yes or no would have answered my question, but the extra information certainly helps.
Thanks for your efforts Anonproxy.



0

Response Number 7
Name: hanung
Date: November 19, 2003 at 08:44:31 Pacific
Reply:

I have exe file just running on maximum Pentium 233MMX. how can i convert exe file until can be running on Pentium 4?


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Convert .exe file into source code?

How to read an c exe without source code www.computing.net/answers/programming/how-to-read-an-c-exe-without-source-code/2891.html

.net source code www.computing.net/answers/programming/net-source-code/15965.html

runing .exe file using C++ code www.computing.net/answers/programming/runing-exe-file-using-c-code/5375.html