十分感谢十万火急

解决方案 »

  1.   

    如果它原本根本没有真正编译,比如aspx、ascx等等文件中还都是源代码,而仅仅是一点code-behind代码编译了,那么使用reflector之类的输出其类代码就行了。如果这些都完整编译了(在vs上发布website项目时取消第一个选项“允许修改此预编译网站”的勾勾),那么就算你得到源代码,也是将简洁直观的控件应用界面层设计生成了巨复杂的顺序化、对象化代码,那么你也很难看懂原来的设计。如果网站就是用asp的思路,拼接html字符串,这样的低级代码则比较容易读懂。
      

  2.   

    没有听说反编译aspx,起码我们没有做过,可能我落后了,因为我没见过这样需要,也不理解。
    my blog
    http://ufo-crackerx.blog.163.com/
      

  3.   

    反编译成如下:                 
    namespace ASP
    {
        using Microsoft.VisualBasic;
        using Microsoft.VisualBasic.CompilerServices;
        using System;
        using System.Collections.Specialized;
        using System.Diagnostics;
        using System.Drawing;
        using System.Globalization;
        using System.Runtime.CompilerServices;
        using System.Web;
        using System.Web.UI;
        using System.Web.UI.HtmlControls;
        using System.Web.UI.WebControls;    [CompilerGlobalScope]
        public class casedetail_aspx : SurveyListQry
        {
            private static object __fileDependencies;
            private static bool __initialized;
            private static object __stringResource;        [DebuggerNonUserCode]
            public casedetail_aspx()
            {
                this.set_AppRelativeVirtualPath("~/CaseDetail.aspx");
                if (!__initialized)
                {
                    __stringResource = RuntimeHelpers.GetObjectValue(this.ReadStringResource());
                    string[] strArray = new string[] { "~/CaseDetail.aspx", "~/CaseDetail.aspx.vb", "~/style/foot.inc" };
                    __fileDependencies = RuntimeHelpers.GetObjectValue(this.GetWrappedFileDependencies(strArray));
                    __initialized = true;
                }
                this.Server.ScriptTimeout = 0x1c9c380;
            }        [DebuggerNonUserCode]
            private Label __BuildControl__control10()
            {
                Label label2 = new Label();
                label2.set_TemplateControl(this);
                label2.ApplyStyleSheetSkin(this);
                label2.ID = "ContactManLabel";
                label2.DataBinding += new EventHandler(this.__DataBinding__control10);
                return label2;
            }        [DebuggerNonUserCode]
            private void __BuildControl__control100(TableItemStyle __ctrl)
            {
                __ctrl.BackColor = Color.FromArgb(0x66, 0x99, 0x99);
                __ctrl.Font.Bold = true;
                __ctrl.ForeColor = Color.White;
            }        [DebuggerNonUserCode]
            private void __BuildControl__control101(TableItemStyle __ctrl)
            {
                __ctrl.BackColor = Color.FromArgb(0, 0x66, 0x99);
                __ctrl.Font.Bold = true;
                __ctrl.ForeColor = Color.White;
            }