-
-
[原创]爆破dotnet编写的CM,如何通过SEA+Reflector修改复杂型条件判断
-
发表于:
2011-11-29 15:30
5324
-
[原创]爆破dotnet编写的CM,如何通过SEA+Reflector修改复杂型条件判断
private void button1_Click(object sender, EventArgs e)
{
if ((this.checkedit(this.textBox1.Text, this.textBox2.Text) > 0) && this.crack)
{
this.Text = "Form1";
new Form2(this.crack).Show();
base.Hide();
}
}
private string ck(string str1, string str2)
{
string str = this.reg(str1, str2);
string str3 = "";
for (int i = 0; i < (str.Length / 2); i++)
{
str3 = str3 + str.Substring((str.Length / 2) + i, 1);
}
this.crack = true;
return str3;
}
0 L_0000: nop
1 L_0001: ldarg.0
2 L_0002: ldarg.0
3 L_0003: ldfld System.Windows.Forms.TextBox _1.Form1::textBox1
4 L_0008: callvirt System.String System.Windows.Forms.Control::get_Text()
5 L_000d: ldarg.0
6 L_000e: ldfld System.Windows.Forms.TextBox _1.Form1::textBox2
7 L_0013: callvirt System.String System.Windows.Forms.Control::get_Text()
8 L_0018: call System.Int32 _1.Form1::checkedit(System.String,System.String)
9 L_001d: ldc.i4.0
10 L_001e: ble.s 16 -> ldc.i4.1
11 L_0020: ldarg.0
12 L_0021: ldfld System.Boolean _1.Form1::crack
13 L_0026: ldc.i4.0
14 L_0027: ceq
15 L_0029: br.s 17 -> stloc.1
16 L_002b: ldc.i4.1
17 L_002c: stloc.1
18 L_002d: ldloc.1
19 L_002e: brtrue.s 36 -> ret
20 L_0030: nop
21 L_0031: ldarg.0
22 L_0032: ldstr "Form1"
23 L_0037: callvirt System.Void System.Windows.Forms.Control::set_Text(System.String)
24 L_003c: nop
25 L_003d: ldarg.0
26 L_003e: ldfld System.Boolean _1.Form1::crack
27 L_0043: newobj System.Void _1.Form2::.ctor(System.Boolean)
28 L_0048: stloc.0
29 L_0049: ldloc.0
30 L_004a: callvirt System.Void System.Windows.Forms.Control::Show()
31 L_004f: nop
32 L_0050: ldarg.0
33 L_0051: call System.Void System.Windows.Forms.Control::Hide()
34 L_0056: nop
35 L_0057: nop
36 L_0058: ret
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课