DotnetCharting control Cracking Method

Source: Internet
Author: User

In the summary article on using the DotNetCharting control to generate a report Statistical Chart in. net, many bloggers have proposed "1. How to Deal with the generated images with hyperlinks directed to the official website? 2. After using this control, the image can be displayed. However, a small problem is found. The hyperlink is hidden in the upper left corner of the graph and below the graph. After you move the cursor to the two areas, you will click the link to http://www.dotnetcharting.com /. It's strange. Is this a line between attack and attack ?" I found some information on the Internet and cracked two versions of the DotNetCharting control, which is now available for download.

1、dotnetCHARTING_V3.2_cracked.rar
2、DotnetCharting_V4.3_cracked.rar

I. cracking tools and usage
1. Start-all programs-Microsoft Visual Studio. NET 2003-Visual Studio. NET tool-Visual Studio. NET 2003 command prompt. Enter ildasm.

2. In il dasm, open the file and select dotnetCharting. WinForms. dll. File-dump-OK, export the il file named dotnetCHARTING. Use NotePad to open the IL file, modify the cracking code, complete the modification, and save it.

3. Test the generated IL file and other files released together to C: \ Documents ents and Settings \ Administrator.

4. Start-all programs-Microsoft Visual Studio. NET 2003-Visual Studio. NET tool-Visual Studio. NET 2003 command prompt. Enter ilasm/dll/res: dotnetCHARTING. res dotnetCHARTING. il to generate a new dll file. It can be used directly.

Ii. Method of cracking
V2.5 watermark Removal Method
This control is implemented using string encryption.
After analysis, we use the log recording method to record all the following translation information.
Find the target character information and analyze the code
The modification is found in am: a (ref Bitmap A_0, Graphics A_1)
Call exists in
If (this. ay)
{
This. a (ref A_0); call the watermark processing code, remove the previous judgment conditions, and change IL_0030: br [true]. s IL_0039
}
Use ildasm for parsing and then use ilasm for assembly!

V3.0 watermark Removal Method
In 3.0, you need to deal with the following methods:
1. private void az: a (ref Bitmap A_0, Graphics A_1 );
Modify
IL_0031: ldw.bool az: aq
IL_0036: brfalse. s IL_003f
Is
IL_0031: ldw.bool az: aq
IL_0036: brtrue. s IL_003f

2. private void Chart: a (Point A_0 );
Clear the content of this method and change it
. Method private hidebysig instance void
A (valuetype [System. Drawing] System. Drawing. Point A_0) di-managed
{
// Code size: 495 (0x1ef)
. Maxstack 4
IL_01ee: ret
} // End of method Chart:

V3.1/V3.2/V3.3 watermark Removal Method 
There is a class under the Chart
Public class Key
Name: dotnetCHARTING. Key
Assembly: dotnetCHARTING, Version = 3.1.1886.22330
The following is an internal bool a (); method. If false is returned, the watermark is displayed. Otherwise, the watermark is converted to the official version.
The modification method is as follows:
1. Use ildasm to export the IL file dotcharting. dll
2. Locate this method. You can use [V3.2/3.3] Key: a, [v3.3Asp.net] dt: a to locate it.
3. modify the code of this method as follows:
. Method assembly hidebysig instance bool
A () cel managed
{
// The code size is 1165 (0x48d)
. Maxstack 6
. Locals init (string V_0)
IL_0000: ldc. i4 1
IL_048c: ret
} // End of method Key: a or dt: a [Asp.net]

V3.3 [WebForm] watermark Removal Method
Run the ildasm command to export the il file and open [Not for production use ].
There are two methods under dotnetCHARTING. WinForms. n that contain the above content. Delete the content in the method directly and only retain the last
.

V4.0 [WebForm] watermark Removal Method
1. Use ildasm to export the IL file dotcharting. dll
2. Locate dotnetCHARTING. al.
Internal bool ();
Declaring Type: dotnetCHARTING. al
Assembly: dotnetCHARTING, Version = 4.0.2377.34205
Clear the content of this method, replace it with the following statement, and re-assemble it.
. Method assembly hidebysig instance bool
A () cel managed
{
. Maxstack 6
. Locals init (string V_0)
IL_0000: ldc. i4 1
IL_048c: ret
} // End of method al:

Save, run ilasm/dll/res: dotnetCHARTING. res dotnetCHARTING. il to generate a new dll file, overwrite the original file and OK

Information Source: http://www.cnblogs.com/midea0978/articles/64684.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.