开发者

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 vir开发者_StackOverflowtual directory witha local path set to the project folder in VS2008?

Help :)


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.


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.


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜