SteveKam
SteveKam

Reputation:

Pre-compiled over source code - how can I reverse engineer it?

Is there a way to reverse engineer a pre-compiled website .... if for example someone 8) was silly enough to publish their site to a virtual directory witha local path set to the project folder in VS2008?

Help :)

Upvotes: 2

Views: 2354

Answers (3)

Bhavjot
Bhavjot

Reputation: 652

I had the similar issue and used Reflector to Decompile it. I got the source code, then changed the bit I wanted, and rebuild it. Then I copied that dll again to Production site. It started to reflect my changes. It was very easy and not at all difficult, maybe because Precompiled site had dlls for every page, and was updatable , so had only code-behind file in dll.

For reference: http://www.reflector.net/

Upvotes: 0

Russell
Russell

Reputation: 17729

Reflector is difficult to use with a precompiled site because of the way it breaks up the pages. It is not always clear and not an easy way to reverse engineer.

In fact, one of the main reasons we precompile sites is becuase it is harder to reverse engineer and update production code.

Upvotes: 3

Brian Lyttle
Brian Lyttle

Reputation: 14579

You should be able to use Reflector to see the source code. There are plugins which will decompile an assembly (.DLL or .EXE) created with .NET into a new Visual Studio project.

Upvotes: 2

Related Questions