引用 Reflector.exe + ilDasm.exe + ilasm.exe 破解DundasWebChart(VS2005) 5.5 成功
2009-03-13 21:27
369 查看
Reflector.exe + ilDasm.exe + ilasm.exe 破解DundasWebChart(VS2005) 5.5 成功
1. 工具准备
.net FrameWork SDK 2.0
ILDASM反编译工具
ILASM重新编译工具
2. 安装Dundas Chart for ASP.NET - Enterprise Eval (VS2005)
3. 用Reflector.exe 找开 DundasWebChart 分析其水印的方法
public void Paint(Graphics graph, bool paintTopLevelElementOnly, RenderingType renderingType, XmlTextWriter svgTextWriter, Stream flashStream, string documentTitle, bool resizable, bool preserveAspectRatio)
{
………………………..
//注意:不管如何都会在Chart是绘制水印字符串,这很简单,将this.e=true 改为this.e=false;就可以了.
this.e = true;
if (this.e)
{
StringFormat format1 = new StringFormat();
format1.Alignment = StringAlignment.Center;
format1.LineAlignment = StringAlignment.Center;
SolidBrush brush1 = new SolidBrush(Color.FromArgb(40, 0, 0, 0xaf));
SolidBrush brush2 = new SolidBrush(Color.FromArgb(40, 200, 200, 200));
Font font1 = new Font(ChartPicture.a(), 8f);
SizeF ef3 = this.a.GetRelativeSize(new SizeF(2f, 2f));
//水印字符串
string text1 = cP.a("/u14ad/u14de/u14d7/u14cd/u14ca/u14dc/u1489/u14ac/u14d1/u14ca/u14db/u14dd/u1489/u1496/u1489/u14aa/u14bc/u14b9/u1497/u14b7/u14ae/u14bd/u1489/u14ae/u14d7/u14dd/u14ce/u14db/u14d9/u14db/u14d2/u14dc/u14ce/u1489/u14ae/u14cd/u14d2/u14dd/u14d2/u14d8/u14d7/u1476/u1473/u14ae/u14df/u14ca/u14d5/u14de/u14ca/u14dd/u14d2/u14d8/u14d7/u1489/u14b6/u14d8/u14cd/u14ce/u1489/u14ae/u14d7/u14ca/u14cb/u14d5/u14ce/u14cd/u1495/u1489/u14cf/u14d8/u14db/u1489/u14dd/u14ce/u14dc/u14dd/u14d2/u14d7/u14d0/u1489/u14d9/u14de/u14db/u14d9/u14d8/u14dc/u14ce/u14dc/u1489/u14d8/u14d7/u14d5/u14e2/u1476/u1473/u1491/u14ac/u1492/u1489/u149b/u1499/u1499/u149f/u1489/u14ad/u14de/u14d7/u14cd/u14ca/u14dc/u1489/u14bc/u14d8/u14cf/u14dd/u14e0/u14ca/u14db/u14ce/u1495/u1489/u14e0/u14e0/u14e0/u1497/u14cd/u14de/u14d7/u14cd/u14ca/u14dc/u1497/u14cc/u14d8/u14d6");
this.a.a(text1, font1, brush2, new RectangleF(0f, 0f, 100f, 100f), format1);
this.a.a(text1, font1, brush1, new RectangleF(0f, 0f, 100f - ef3.Width, 100f - ef3.Height), format1);
…………………………
}
4. 打开ILDASM 载入DundasWebChart.dll文件,然后转储到指定文件夹中
打开DundasWebchart.il 找到绘画水印的位置
如下:
// IL_0b1a: ldc.i4.0=(this.e=true); //将其改为IL_0b1a: ldc.i4.1
IL_0b1a: ldc.i4.0
IL_0b1b: callvirt instance void
[System.Drawing]System.Drawing.StringFormat::set_Alignment(valuetype
[System.Drawing]System.Drawing.StringAlignment)
IL_0b20: ldloc.s V_24
IL_0b22: ldc.i4.1
保存,重新编译
ilasm /dll /RESOURCE=DundasWebChart.res DundasWebChart.il
覆盖到D:/Program Files/Dundas Software/Charting/WebControlVS2005/Samples/bin目录
DundasWebChart.rar
1. 工具准备
.net FrameWork SDK 2.0
ILDASM反编译工具
ILASM重新编译工具
2. 安装Dundas Chart for ASP.NET - Enterprise Eval (VS2005)
3. 用Reflector.exe 找开 DundasWebChart 分析其水印的方法
public void Paint(Graphics graph, bool paintTopLevelElementOnly, RenderingType renderingType, XmlTextWriter svgTextWriter, Stream flashStream, string documentTitle, bool resizable, bool preserveAspectRatio)
{
………………………..
//注意:不管如何都会在Chart是绘制水印字符串,这很简单,将this.e=true 改为this.e=false;就可以了.
this.e = true;
if (this.e)
{
StringFormat format1 = new StringFormat();
format1.Alignment = StringAlignment.Center;
format1.LineAlignment = StringAlignment.Center;
SolidBrush brush1 = new SolidBrush(Color.FromArgb(40, 0, 0, 0xaf));
SolidBrush brush2 = new SolidBrush(Color.FromArgb(40, 200, 200, 200));
Font font1 = new Font(ChartPicture.a(), 8f);
SizeF ef3 = this.a.GetRelativeSize(new SizeF(2f, 2f));
//水印字符串
string text1 = cP.a("/u14ad/u14de/u14d7/u14cd/u14ca/u14dc/u1489/u14ac/u14d1/u14ca/u14db/u14dd/u1489/u1496/u1489/u14aa/u14bc/u14b9/u1497/u14b7/u14ae/u14bd/u1489/u14ae/u14d7/u14dd/u14ce/u14db/u14d9/u14db/u14d2/u14dc/u14ce/u1489/u14ae/u14cd/u14d2/u14dd/u14d2/u14d8/u14d7/u1476/u1473/u14ae/u14df/u14ca/u14d5/u14de/u14ca/u14dd/u14d2/u14d8/u14d7/u1489/u14b6/u14d8/u14cd/u14ce/u1489/u14ae/u14d7/u14ca/u14cb/u14d5/u14ce/u14cd/u1495/u1489/u14cf/u14d8/u14db/u1489/u14dd/u14ce/u14dc/u14dd/u14d2/u14d7/u14d0/u1489/u14d9/u14de/u14db/u14d9/u14d8/u14dc/u14ce/u14dc/u1489/u14d8/u14d7/u14d5/u14e2/u1476/u1473/u1491/u14ac/u1492/u1489/u149b/u1499/u1499/u149f/u1489/u14ad/u14de/u14d7/u14cd/u14ca/u14dc/u1489/u14bc/u14d8/u14cf/u14dd/u14e0/u14ca/u14db/u14ce/u1495/u1489/u14e0/u14e0/u14e0/u1497/u14cd/u14de/u14d7/u14cd/u14ca/u14dc/u1497/u14cc/u14d8/u14d6");
this.a.a(text1, font1, brush2, new RectangleF(0f, 0f, 100f, 100f), format1);
this.a.a(text1, font1, brush1, new RectangleF(0f, 0f, 100f - ef3.Width, 100f - ef3.Height), format1);
…………………………
}
4. 打开ILDASM 载入DundasWebChart.dll文件,然后转储到指定文件夹中
打开DundasWebchart.il 找到绘画水印的位置
如下:
// IL_0b1a: ldc.i4.0=(this.e=true); //将其改为IL_0b1a: ldc.i4.1
IL_0b1a: ldc.i4.0
IL_0b1b: callvirt instance void
[System.Drawing]System.Drawing.StringFormat::set_Alignment(valuetype
[System.Drawing]System.Drawing.StringAlignment)
IL_0b20: ldloc.s V_24
IL_0b22: ldc.i4.1
保存,重新编译
ilasm /dll /RESOURCE=DundasWebChart.res DundasWebChart.il
覆盖到D:/Program Files/Dundas Software/Charting/WebControlVS2005/Samples/bin目录
DundasWebChart.rar
相关文章推荐
- Reflector.exe + ilDasm.exe + ilasm.exe 破解DundasWebChart(VS2005) 5.5 成功
- Reflector.exe + ilDasm.exe + ilasm.exe 破解DundasWebChart(VS2005) 5.5 成功
- DundasWebChart 5.5 破解续.
- 公布:破解 DundasWebChart 4.51 版本
- dundas chart for webform 破解手记
- Dundas Chart for ASP.NET - OLAP Services Eval 5.5 破解(一)
- 将VS2005的WEB程序 安装到其他电脑上 以及引用WebService 的大概步骤
- 使用DundasWebChart展示图表时,出现异常或者跳转到错误页面
- Unable to resolve type 'Dundas.Charting.WebControl.Chart, DundasWebChart, Version=6.2.0.1740, Culture=neutral, PublicKeyToken=90d06b0c62d592d0'
- [转]VS2005 vs2010 Web引用程序打包并安装数据库
- 使用DundasWebChart.dll 版本号:4.1.0.1669 画图表
- 在Console Application项目中,引用System.Web不成功的解决方法
- 将VS2005的WEB程序 安装到其他电脑上 以及引用WebService 的大概步骤
- DundasWebChart开发实例一
- 【破解】Dundas Chart For ASP.NET Enterprise For Visual Studio 2005 v6.2
- DundasWebChart在IIS7.5 windows2008 64位版发布时不能正常显示
- Vs2005里如何移出引用?(web项目)
- Dundas Chart 5.5.1.1707 for VS2005
- [转] DundasChart 4.0 破解
- DundasWebChart.dll画3D柱形图(两个SERIES)