Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-15-2011, 03:47
Maltese
 
Posts: n/a
Found the solution.

I tricked the program into pop-ing up a MessageBox::Show(string). W00T!

Original Code
Code:
    IL_005b:  /* 03   |                  */ ldarg.1
    IL_005c:  /* 08   |                  */ ldloc.2
    IL_005d:  /* 28   | (0A)000027       */ call       bool [mscorlib]System.String::op_Equality(string,
                                                                                                 string)
I had to NOP out the ldarg.1 (bad serial I typed in) so MessageBox call would not crash.

ldloc.2 held proper serial#.

Then I byte changed the 27 to 25 (which is the reference location of MessageBox used elsewhere in the program (looking at IL dump).

So now the code reads:
Code:
    IL_005b:  /* 00   |                  */ nop
    IL_005c:  /* 08   |                  */ ldloc.2
    IL_005d:  /* 28   | (0A)000025       */ call valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.MessageBox::Show(string)
Viola. No need for keygen. Just let the program pop out the answer for you.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help for create loader with packed program mcr4ck General Discussion 27 09-22-2021 12:27
need help making a keygen for a vds program chad1111 General Discussion 2 12-29-2004 03:56


All times are GMT +8. The time now is 23:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )