solved new crackme

This commit is contained in:
Chenx221 2024-09-16 16:36:33 +08:00
parent 4af70f9253
commit 2ca11d508a
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
dnSpy
private void InitializeComponent()
{
...
this.TextBox1.TabIndex = 0;
this.Button1.Enabled = false; --> true
Control button = this.Button1;
...
}
private void Button1_Click(object sender, EventArgs e)
{
int num;
int num3;
object obj;
try
{
ProjectData.ClearProjectError();
num = 2;
long num2 = Conversions.ToLong(this.TextBox1.Text);
bool flag = (Strings.Len(this.TextBox1.Text) != 10) | (num2 != 3L); <--
if (!flag)
{
Interaction.MsgBox("Make a solution and explain how the crackme works", MsgBoxStyle.OkOnly, "Good!");
goto IL_00AA;
}
...
}
...
}
length = 10
num2 = 3
=> password:
3.00000000
0000000003