首页
社区
课程
招聘
[旧帖] [求助]Reflector破解NET程序 0.00雪花
发表于: 2012-7-30 07:22 1248

[旧帖] [求助]Reflector破解NET程序 0.00雪花

2012-7-30 07:22
1248
用reflector反编译这个软件,发现在一个registerBLOCK.dll中的InitializeComponent找到这样一段信息:

private void InitializeComponent()
{
    ComponentResourceManager manager = new ComponentResourceManager(typeof(RegForm));
    this.label1 = new Label();
    this.textBox1 = new TextBox();
    this.btnOK = new Button();
    this.btnCancel = new Button();
    this.label2 = new Label();
    this.label3 = new Label();
    this.pictureBox1 = new PictureBox();
    this.textboxMachinCode = new TextBox();
    ((ISupportInitialize) this.pictureBox1).BeginInit();
    base.SuspendLayout();
    this.label1.AutoSize = true;
    this.label1.Location = new Point(0x26, 0x9b);
    this.label1.Name = "label1";
    this.label1.Size = new Size(0x4d, 12);
    this.label1.TabIndex = 2;
    this.label1.Text = "输入注册码:";
    this.textBox1.Location = new Point(0x26, 170);
    this.textBox1.Name = "textBox1";
    this.textBox1.Size = new Size(0x123, 0x15);
    this.textBox1.TabIndex = 3;
    this.btnOK.ForeColor = SystemColors.ControlText;
    this.btnOK.Location = new Point(0x59, 0xd3);
    this.btnOK.Name = "btnOK";
    this.btnOK.Size = new Size(0x4b, 0x17);
    this.btnOK.TabIndex = 4;
    this.btnOK.Text = "确定(&D)";
    this.btnOK.UseVisualStyleBackColor = true;
    this.btnOK.Click += new EventHandler(this.btnOK_Click);
    this.btnCancel.ForeColor = SystemColors.ControlText;
    this.btnCancel.Location = new Point(0xce, 0xd3);
    this.btnCancel.Name = "btnCancel";
    this.btnCancel.Size = new Size(0x4b, 0x17);
    this.btnCancel.TabIndex = 5;
    this.btnCancel.Text = "取消(&E)";
    this.btnCancel.UseVisualStyleBackColor = true;
    this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
    this.label2.AutoSize = true;
    this.label2.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
    this.label2.Location = new Point(0x26, 0x4f);
    this.label2.Name = "label2";
    this.label2.Size = new Size(0x35, 12);
    this.label2.TabIndex = 6;
    this.label2.Text = "机器码:";
    this.label3.AutoSize = true;
    this.label3.Font = new Font("宋体", 12f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
    this.label3.Location = new Point(0x68, 0x7d);
    this.label3.Name = "label3";
    this.label3.Size = new Size(0, 0x10);
    this.label3.TabIndex = 7;
    this.pictureBox1.Image = (Image) manager.GetObject("pictureBox1.Image");
    this.pictureBox1.Location = new Point(40, 11);
    this.pictureBox1.Name = "pictureBox1";
    this.pictureBox1.Size = new Size(0x13c, 0x37);
    this.pictureBox1.TabIndex = 9;
    this.pictureBox1.TabStop = false;
    this.textboxMachinCode.Location = new Point(0x26, 0x6a);
    this.textboxMachinCode.Name = "textboxMachinCode";
    this.textboxMachinCode.ReadOnly = true;
    this.textboxMachinCode.Size = new Size(0x123, 0x15);
    this.textboxMachinCode.TabIndex = 10;
    base.AutoScaleDimensions = new SizeF(6f, 12f);
    base.AutoScaleMode = AutoScaleMode.Font;
    this.BackColor = Color.White;
    base.ClientSize = new Size(0x17a, 0x10d);
    base.Controls.Add(this.textboxMachinCode);
    base.Controls.Add(this.pictureBox1);
    base.Controls.Add(this.label3);
    base.Controls.Add(this.label2);
    base.Controls.Add(this.btnCancel);
    base.Controls.Add(this.btnOK);
    base.Controls.Add(this.textBox1);
    base.Controls.Add(this.label1);
    base.FormBorderStyle = FormBorderStyle.FixedSingle;
    base.MaximizeBox = false;
    base.MinimizeBox = false;
    base.Name = "RegForm";
    base.StartPosition = FormStartPosition.CenterScreen;
    this.Text = "软件注册";
    base.Load += new EventHandler(this.Reg_Load);
    ((ISupportInitialize) this.pictureBox1).EndInit();
    base.ResumeLayout(false);
    base.PerformLayout();
}

在registerBLOCK.dll中的btnOK_Click找到这样一段信息:
private void btnOK_Click(object sender, EventArgs e)
{
    if (this.textBox1.Text.TrimEnd(new char[0]).Equals(this.m_RegCode))
    {
        base.DialogResult = DialogResult.OK;
    }
    else
    {
        MessageBox.Show("注册码输入错误!");
        this.textBox1.Text = "";
    }
}

可是好像没有什么可用到的,怀疑这个DLL是不是加密了,还是注册代码在别的程式中,大大帮忙分析一下,谢谢了!!!

[招生]系统0day安全班,企业级设备固件漏洞挖掘,Linux平台漏洞挖掘!

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//