[置顶] 烁空(SOCUT.COM)开发的网络课堂系统的破解(socut.data.dll)

今天看到烁空(SOCUT.COM)开发的网络课堂系统,把他破解出来,现在把代码贴出来。
namespace  Socut_Ver3.xx.Server
{
    
using Socut;
    
using System;
    
using System.Data;
    
using System.Web.UI.HtmlControls;
    
using System.Web.UI.WebControls;

    
public class Help : SocutPage
    
{
        
protected DataGrid DGHelp;
        
public DataSet ds = new DataSet();
        
protected Label Info;
        
public CSocut mySocut = new CSocut();
        
public string strError = null;
        
public string strInfo;
        
protected HtmlTable T1;

        
private void InitializeComponent()
        
{
            
base.Load += new EventHandler(this.Page_Load);
        }


        
protected override void OnInit(EventArgs e)
        
{
            
this.InitializeComponent();
            
base.OnInit(e);
        }


        
private void Page_Load(object sender, EventArgs e)
        
{
            
base.Skin = this.mySocut.GetCookie("Skin");
            
base.Announce = "欢迎使用帮助手册!";
            
base.Welcome = this.mySocut.GetCookie("Welcome");
            
this.strError = base.Request["Error"];
            
this.strInfo = base.Request["Info"];
            
if (this.strError == "0")
            
{
                
this.ds = this.mySocut.GetDataSet("SELECT * FROM socut_help"00"Help");
                
this.DGHelp.DataSource = this.ds;
                
this.DGHelp.DataBind();
                
if (this.strInfo == "Index")
                
{
                    
this.Info.Text = "点击下面主题可查看详细信息!";
                }

                
else
                
{
                    
this.ds = this.mySocut.GetDataSet("SELECT * FROM socut_help WHERE h_id='" + this.strInfo + "'"00"HelpContent");
                    
this.Info.Text = this.ds.Tables["HelpContent"].Rows[0][1].ToString() + "<br>" + this.ds.Tables["HelpContent"].Rows[0][2].ToString();
                }

            }

            
else
            
{
                
switch (this.strInfo)
                
{
                    
case "NoVIP":
                        
this.Info.Text = "抱歉,你还未得到此课室的认证!";
                        
return;

                    
case "NoAdd":
                        
this.Info.Text = "此页正在制作中……";
                        
return;

                    
case "NoRightVIP":
                        
this.Info.Text = "虽然你是VIP,但您还未得到此课室的认证!";
                        
return;

                    
case "NoPage":
                        
this.Info.Text = "很抱歉:无法找到您所要页面,此页面可能被删除或是您提交的参数不正确!";
                        
return;

                    
case "Expire":
                        
this.Info.Text = "您的在这间课室的使用期已满,请冲值以便继续享受此课室服务!";
                        
return;

                    
case "NoLogin":
                        
this.Info.Text = "您还未登陆,所以无法执行此操作!";
                        
return;

                    
case "NoGroup":
                        
this.Info.Text = "你所在的用户组无此权限!";
                        
return;

                    
case "Cookie":
                        
this.Info.Text = "Cookie产生致命错误,请先退出再登陆!";
                        
return;

                    
case "NoAdmin":
                        
this.Info.Text = "超时,请以管理员身份重新登陆!";
                        
return;

                    
case "ClassIDError":
                        
this.Info.Text = "您所要观看的分节在此课室中无共享!";
                        
return;

                    
case "LimitView":
                        
this.Info.Text = "抱歉:您今天的教程有效观看次数已满,请明天再接着学习!";
                        
return;

                    
case "TeachList":
                        
this.Info.Text = "读取用户信息出现异常,请检查用户是否已被删除!";
                        
return;

                    
case "Mac":
                        
this.Info.Text = "检测到你当前计算机的网卡(Mac)序列号跟会员数据库中的数据不一致!";
                        
return;
                }

            }

        }

    }

}



namespace  Socut_Ver3.xx.Server
{
    
using Socut;
    
using System;
    
using System.Web.UI.WebControls;

    
public class Index234 : SocutPage
    
{
        
public CCopyright CR = new CCopyright();
        
protected Label LCopyright;
        
public CSocut mySocut = new CSocut();

        
private void InitializeComponent()
        
{
            
base.Load += new EventHandler(this.Page_Load);
        }


        
protected override void OnInit(EventArgs e)
        
{
            
this.InitializeComponent();
            
base.OnInit(e);
        }


        
private void Page_Load(object sender, EventArgs e)
        
{
            
this.LCopyright.Text = "烁空";
            
base.Copyright = "&copy; " + this.mySocut.GetInfo("Year"+ "-" + this.mySocut.Time(this.mySocut.NowTime.ToString(), 3+ " " + this.mySocut.GetLimitChar(this.mySocut.GetInfo("SiteName"), 7+ "<br>" + this.CR.CopyRight().ToString();
            
base.Title = this.mySocut.GetInfo("SiteName"+ " - " + this.mySocut.GetInfo("Slogan");
            
base.Frame = "Index";
            
base.Skin = this.mySocut.GetCookie("Skin");
            
base.Welcome = this.mySocut.GetCookie("Welcome");
            
base.SetHome = this.mySocut.GetInfo("URL");
        }

    }

}

如有需要CS源代码者可以联系本人。跟紫薇星破解的socut.data.dll 配套使用呀。全套源代码。
紫薇星破解socut.data.dll地址为:http://blog.csdn.net/pupstar/archive/2006/11/13/1382353.aspx

你可能感兴趣的:(网络,object,String,System,破解,dataset)