Thread: CrackME #18
View Single Post
  #2  
Old 10-11-2008, 11:08 PM
high6 high6 is offline
Member
 
Join Date: Sep 2008
Posts: 14
Default

Does the crackme work?

I edited the crackme to remove the try/catch and it gives an exception when checking the key(when run from the loader, nothing changed except the try/catch removed).

************** Exception Text **************
System.BadImageFormatException: Signature is not IMAGE_CEE_CS_CALLCONV_LOCAL_SIG.
at CrackME.Form_Main.CheckLicense()

the only thing I changed was

Code:
private void CMD_Reg_Click(object sender, EventArgs e)
{
    try
    {
        if (this.CheckLicense())
        {
            Interaction.MsgBox("Well done !! Now write the tutor !", MsgBoxStyle.Information, null);
        }
        else
        {
            Interaction.MsgBox("Invalid License Key", MsgBoxStyle.Critical, null);
        }
    }
    catch (Exception exception1)
    {
        ProjectData.SetProjectError(exception1);
        Exception exception = exception1;
        Interaction.MsgBox("Invalid License Key", MsgBoxStyle.Critical, null);
        ProjectData.ClearProjectError();
    }
}
to

Code:
private void CMD_Reg_Click(object sender, EventArgs e)
{
    if (this.CheckLicense())
    {
        Interaction.MsgBox("Well done !! Now write the tutor !", MsgBoxStyle.Information, null);
    }
    else
    {
        Interaction.MsgBox("Invalid License Key", MsgBoxStyle.Critical, null);
    }
}
Do you protect against this or did you miss something?

Last edited by high6 : 10-11-2008 at 11:38 PM.
Reply With Quote