amCharts 的完整使用及破解[我弄过的]

<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/main.master" AutoEventWireup="true"
    CodeBehind="KeyInfoStatistics.aspx.cs" Inherits="Yuqing.Web.Administration.KeyInfoStatistics" %>

<%@ Register Assembly="am.Charts" Namespace="am.Charts" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="SCRIPTS" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph1" runat="server">
    <div style="float: inherit; padding-top: 0px; margin-top: 15px; text-align: center;
        height: auto; width: 100%;">
        <asp:PlaceHolder runat="server" ID="ph_main">
            <table width="50%">
                <tr align="left">
                    <td>
                        <h2>
                            <asp:LinkButton runat="server" ID="lbtn_PagesByKey" OnClick="lbtn_PagesByKey_Click">关键字对应的网页信息统计</asp:LinkButton>
                        </h2>
                    </td>
                </tr>
                <tr align="left">
                    <td>
                        <h2>
                            <asp:LinkButton runat="server" ID="lbtn_KeysUseInfo" OnClick="lbtn_KeysUseInfo_Click">关键字使用情况统计</asp:LinkButton></h2>
                    </td>
                </tr>
                <tr align="center">
                    <td align="justify">
                        <asp:Label runat="server" ID="lbl_keyword"></asp:Label>
                    </td>
                </tr>
            </table>
            <table width="100%" cellpadding="0" cellspacing="0" style="table-layout: fixed; text-align: center;">
                <tr>
                    <td>
                        <cc1:PieChart ID="PieChart1" runat="server">
                        </cc1:PieChart>
                    </td>
                </tr>
            </table>
        </asp:PlaceHolder>
    </div>
</asp:Content>

2,然后再把相关文件放到目录里即amcharts放到根目录

3,在工具箱上选择项,把 amcharts.dll加入。 

破解:建一个amcharts_key.txt 内容:AMCHART-LNKS-1966-6679-1965-1082

 文件放到amcharts下面的各个有swf里面的文件夹中。 

于是用Lutz Reader's .net reflector,反编译了控件,找到加密算法

private bool CheckKey(string keyString)
{
    try
    {
        string[] parts = keyString.Split(new char[] { '-' });
        if (parts.Length != 6)
        {
            return false;
        }
        if (parts[0].ToUpper() != "AMCHART")
        {
            return false;
        }
        if (parts[1].ToUpper() != "NETL")
        {
            return false;
        }
        int n1 = int.Parse(parts[3]);
        int n2 = int.Parse(parts[4]);
        int n3 = int.Parse(parts[5]);
        return (Math.Abs((int) ((((n1 * 8) - (n2 * 7)) + 0x4d2) % 0x2710)) == n3);
    }
    catch
    {
        return false;
    }
} 然后找一个满足条件的注册号也不难了,

例如:AMCHART-NETL-Cracked-10-10-1244

最后写入在web.config里面即可 

<configuration>

<appSettings>  

           <add key="amcharts_net_key" value="AMCHART-NETL-Cracked-10-10-1244"  />

</appSettings> 

<configuration>

在这里感谢网上的各位好友的分享:我分享我自己所写的代码连同各位前辈的呈上:希望给大家帮助;

后台:

View Code

  1  public partial class KeyInfoStatistics : FrontEndPageBase  2     {  3         public DataTable dt_page = null;  4         protected void Page_Load(object sender, EventArgs e)  5         {  6             if (!IsPostBack)  7             {  8   9                 if (this.UserInfo != null) 10                 { 11                     dt_page = this.PageSnapsServicer.GetKeygrpcountByClient(this.UserInfo.Id); 12                     this.lbtn_PagesByKey_Click(sender, e); 13                 } 14             } 15             else 16             { 17                 this.lbl_keyword.Text = String.Empty; 18             } 19         } 20         /// <summary> 21         /// 关键字使用情况统计 22         /// </summary> 23         /// <param name="source"></param> 24         /// <param name="e"></param> 25         protected void lbtn_KeysUseInfo_Click(object source, EventArgs e) 26         { 27             PieChart1.Labels.Clear(); 28             int used = this.ClientKeywordsServicer.GetClientKeyWordByClientid(this.UserInfo.Id).Rows.Count; 29             int all = this.ClientServicer.GetClientsById(this.UserInfo.Id).MaxKeyCount; 30  31             DataView dv_value = new System.Data.DataView(this.PageSnapsServicer.GetKeygrpcountByClient(this.UserInfo.Id)); 32  33             System.Text.StringBuilder str = new System.Text.StringBuilder(); 34             for (int i = 0; i < dv_value.Count; i++) 35             { 36                 str.Append(string.Format("{0}:{1}\r\n", dv_value[i]["Value"].ToString(), dv_value[i]["PsCount"].ToString())); 37             } 38  39             int[] yValues = { used, all - used }; 40             string[] xValues = { str.ToString(), "未使用" }; 41             this.PieChart1.Items.Clear();          42  43             for (int i = 0; i < xValues.Length; i++) 44             {             45                 PieChartDataItem pcd1 = new PieChartDataItem(); 46                 pcd1.Description = "Description" + yValues[i]; 47                 pcd1.Title = String.Format("{0}{1};", xValues[i], yValues[i]); 48                 //设置点击时候的链接 49                 //pcd1.Url = String.Format("SearchPages.aspx?KeywordId={0}",); 50                 pcd1.LabelRadius = 1; 51                 pcd1.Value = yValues[i].ToString(); 52                 pcd1.PullOut = true; 53                 PieChart1.Items.Add(pcd1); 54             } 55           56              57             PieChart1.Width = 600; 58             PieChart1.Height = 600; 59             //设置链接的跳转方式 60             //PieChart1.SliceLinkTarget = "_blank"; 61             PieChart1.ScientificMax = 0; 62             PieChart1.Labels.Add(new ChartLabel("关键字使用情况", new Unit(100), new Unit(20))); 63  64         } 65         /// <summary> 66         /// 关键字对应的网页信息统计 67         /// </summary> 68         /// <param name="source"></param> 69         /// <param name="e"></param> 70         protected void lbtn_PagesByKey_Click(object source, EventArgs e) 71         { 72             DataView dv_int = new DataView(this.PageSnapsServicer.GetKeygrpcountByClient(this.UserInfo.Id)); 73             if (dv_int.Count > 0) 74             { 75                 PieChart1.Labels.Clear(); 76                 this.PieChart1.Items.Clear(); 77                 for (int i = 0; i < dv_int.Count; i++) 78                 { 79                     int PsCount = Convert.ToInt32(dv_int[i]["PsCount"]); 80                     string Value = Convert.ToString(dv_int[i]["Value"]); 81                     PieChartDataItem pcd1 = new PieChartDataItem(); 82                     pcd1.Description = "Description" + PsCount; 83                     pcd1.Title = String.Format("{0}{1};", Value, PsCount); 84                     //设置点击时候的链接 85                      pcd1.Url = String.Format("SearchPages.aspx?KeywordId={0}",dv_int[i]["Id"].ToString()); 86                     pcd1.LabelRadius = 1; 87                     pcd1.Value = PsCount; 88                     pcd1.PullOut = true; 89                     PieChart1.Items.Add(pcd1); 90                 } 91                 string lable=  String.Format("{0}:{1}关键字对应的网页信息统计!", this.UserInfo.Id == 1 ? "超级管理员" : UserInfo.IsAdmin == false ? "用户" : "管理员", this.UserInfo.username); 92                 PieChart1.Width = 700; 93                 PieChart1.Height = 700; 94                 //设置链接的跳转方式 95                 PieChart1.SliceLinkTarget = "_blank"; 96                 PieChart1.ScientificMax = 0; 97                 PieChart1.Labels.Add(new ChartLabel(lable, new Unit(100), new Unit(20)));              98             } 99             else100             {101                 this.lbl_keyword.Text = Server.HtmlDecode(String.Format("<span  style=\"font-size:12px;color:#999;margin-left:120px\">您没有建立自己关键字!无法进行统计!</span>"));102             }103         }104 105     }
时间: 2024-08-29 01:46:52

amCharts 的完整使用及破解[我弄过的]的相关文章

Excel密码破解超简单?这样加密别想破解

大家是不是还以为Excel密码破解是几乎做不到的事情?但事实刚好相反,借助Excel密码破解工具,Excel密码破解只需几秒钟的事情,"excel密码忘记了怎么办"这样的问题根本就不算问题!你还相信Excel密码破解是不可能完成的任务吗? 本文只为告诉大家一个简单的事实,Excel密码破解真的很简单.本文所提到的Excel破解工具并不提供下载,仅供笔者测试使用.请大家不要拿着这些破解工具做什么坏事,如果出问题了笔者可不负责.至于如何使用Office软件(WPS Office 2012等

一个完整的ghost盘怎么做

问题描述 一个完整的ghost盘怎么做 有哪个高手知道做个完整的ghost盘怎么弄?急求!!! 完整的操作步骤. 解决方案 首先找一张ghost的系统盘,启动计算机,运行ghost,选择partition-to image-输入保存镜像的路径.文件名,做一个系统镜像. 下载一个windows 98的启动盘,img格式. 然后启动计算机,运行nero,选择启动光盘,启动文件选择windows 98的启动盘镜像,然后将你的ghost文件和ghost.exe都放进来,如果想做成自动的,就再做一个bat

漏洞挖掘的高级方法

前言 在此文中我将讲述我在软件漏洞挖掘的实践中学到的技术及方法,不过这些内容并非那些前沿的技术,大多是基础类型的技术及方法.对于初学者而言,希望能够给予入门的指导,对于经验丰富的漏洞挖掘工作者而言,我认为也可以从中获得一些启发. 受限于我个人的知识水平及能力,这篇文章并不可能做到面面俱到,也希望阅读者能够与我积极交流,对于其中的错误不吝赐教. 我将会把此文分为三个章节,分别阐述我的观点.首先我会从一个较高的角度总结于我眼中何谓漏洞挖掘;然后详细讨论在软件漏洞挖掘过程中我们需要掌握的技能以及需要的

大数据导购 电子商务为什么要先做好导购系统

最近对雅虎前总裁谢文提出的一些大数据思想非常认同.我不但赶紧去订购了一批大数据的书籍,而且开始认识到必需抓住电子商务是个性化商业这个本质,去重新思考电商的发展路径.于是认识到一个命题:电子商务如何先做好导购系统. 导购系统其实是一个大数据的集合体.这里先分享一个案例.快鲤鱼有篇文章,有两个创业者以16万美元起步,目前市场估值达到了1亿美元.这家名叫Refinery29的公司去年http://www.aliyun.com/zixun/aggregation/32902.html">营业收入达

Xamarin For Visual Studio 3.7.165 完整离线破解版

原文 Xamarin For Visual Studio 3.7.165 完整离线破解版 Xamarin For Visual Studio就是原本的Xamarin For Android 以及 Xamarin For iOS,最新版的已经把两个独立的插件合并为一个exe安装包了. 原文:http://www.wuleba.com/25510.html Xamarin For Visual Studio 3.7.165 + iOS 8.2.0.193 完整离线破解版(Mono C#开发Andro

Android-WIFI密码破解工具编写初探

 最近,在好几个安卓手机群里面都看到有朋友寻求WIFI密码破解工具,在网上经过一番搜索后发现居然没有这样的软件,这让我感到很奇怪,难道这样的功能实现起来很难?思索再三,决定探个究竟. 安卓WIFI原理浅析     首先看SDK中查看WIFI操作的相关类.WIFI的支持是在android.net.wifi包中提供的.里面有WifiManager.WifiInfo.WifiConfiguration与ScanResult等几个常用到的类,WIFI的管理通过WifiManager暴露出来的方法来操作,

暗渡陈仓:用低功耗设备进行破解和渗透测试

信息安全技术丛书 暗渡陈仓:用低功耗设备进行 破解和渗透测试 Hacking and Penetration Testing with Low Power Devices [美]菲利普·布勒斯特拉(Philip Polstra)著 桑胜田 翁 睿 阮 鹏 译 图书在版编目(CIP)数据 暗渡陈仓:用低功耗设备进行破解和渗透测试/(美)菲利普·布勒斯特拉(Philip Polstra)著:桑胜田,翁睿,阮鹏译. -北京:机械工业出版社,2016.10 (信息安全技术丛书) 书名原文:Hacking

“不给力啊,老湿!”:RSA加密与破解

作者:Vamei 出处:http://www.cnblogs.com/vamei 欢迎转载,也请保留这段声明.谢谢!   加密和解密是自古就有技术了.经常看到侦探电影的桥段,勇敢又机智的主角,拿着一长串毫无意义的数字苦恼,忽然灵光一闪,翻出一本厚书,将第一个数字对应页码数,第二个数字对应行数,第三个数字对应那一行的某个词.数字变成了一串非常有意义的话: Eat the beancurd with the peanut. Taste like the ham. 主角喜极而泣--   这种加密方法是

记一次完整的办公网渗透到idc过程

今天我就分享分享一下我渗透自己公司办公网与公司对外的idc服务器集群网.刚进公司大家都懂的事情就是入职培训,培训时听一位领导说我们公司安全做得非常好,如硬防策略写死,交换机Acl写死,绿盟xxx洞漏洞扫描器定时扫描,企业版的卡巴每台员工机器上必装,wsus系统帮内网服务器时时打补丁,各部门用vlan隔离,定时请xxx安全公司做渗透测试,登录服务器用vnp(硬件vpn,还必需有证书才能登录),idc服务器统一用内网ip做映射,一听不错啊,安全防范应该很强.498)this.width=498;'