骗了1200多位朋友,实在惭愧,现在公开我自己的源码实现。本人新人,代码很烂,请凑合看吧O(∩_∩)O~

Form1.cs

using System;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using SkinSharp;
using Microsoft.Win32;
using System.Xml.Linq; namespace XunYing
{
public partial class Form1 : Form
{
public SkinH_Net skinh;
public string isActive = "N";
public string isReg = "N";
public string XMLCONFIG = "Interop.dll";
public string KFQQ = "";
Form2 form2 = new Form2();
Form3 form3 = new Form3();
public Form1()
{
skinh = new SkinH_Net();
skinh.Attach();
this.StartPosition = FormStartPosition.CenterScreen;
InitializeComponent();
this.MaximizeBox = false;
} private void Form1_Load(object sender, EventArgs e)
{
axWindowsMediaPlayer1.uiMode = "None";
axWindowsMediaPlayer1.stretchToFit = true;
axWindowsMediaPlayer1.enableContextMenu = false;
form2.Owner = this;
form3.Owner = this;
try
{
XElement config = XElement.Load(XMLCONFIG);
XElement c = config.Element("c");
isActive = c.Attribute("a").Value;
isReg = c.Attribute("r").Value;
if ("Y".Equals(isActive))
{
this.Text = "迅影QQ视频偷窥王V2.0(已激活) 官方网站 http://qq.makajing.com/";
}
if ("Y".Equals(isReg))
{
this.Text = "迅影QQ视频偷窥王V2.0(高级版) 官方网站 http://qq.makajing.com/";
}
}
catch (Exception ex)
{ }
} private void button1_Click(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = "";
if (String.IsNullOrEmpty(textBox_qq.Text))
{
MessageBox.Show("请输入QQ号码!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (textBox_qq.Text.Length <=)
{
MessageBox.Show("请输入正确的QQ号码!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
label_msg.Text = "获取IP协议,检测P2P服务,正在获取对方QQ的视频,请稍后……";
MessageBox.Show("开始获取IP协议通道和P2P加速服务……检测目标QQ:" + textBox_qq.Text, "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
progressBar1.Maximum = ;
progressBar1.Step = ;
for (int i = ; i < ; i++)
{
progressBar1.Value += progressBar1.Step;
Thread.Sleep();
}
progressBar1.Value = ;
if (!"Y".Equals(isActive))
{
MessageBox.Show("软件未激活,请激活后使用!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
label_msg.Text = "连接失败,软件未激活;";
button2_Click(sender, e);
}
else
{
label_msg.Text = "连接成功!!!";
Random random = new Random();
int r = random.Next(, );
axWindowsMediaPlayer1.URL = "http://www.makajing.com/qq/v/"+r+".wmv";
}
} private void button4_Click(object sender, EventArgs e)
{
MessageBox.Show("软件只为娱乐,禁止非法使用传播,迅影QQ视频偷窥王唯一官方网站 http://qq.makajing.com/", "关于软件", MessageBoxButtons.OK, MessageBoxIcon.Information);
} private void button2_Click(object sender, EventArgs e)
{
form2.ShowDialog();
} private void button5_Click(object sender, EventArgs e)
{
if (!"Y".Equals(isReg))
{
MessageBox.Show("这是高级版功能,请联系客服QQ:"+KFQQ+",获取注册码!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
form3.ShowDialog();
}
else
{
MessageBox.Show("检测到您的电脑不符合在线录制视频的条件,建议下载屏幕录像专家录制!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error); RegistryKey keyCommand = Registry.ClassesRoot.OpenSubKey(@"http\shell\open\command\");
string commandStr = keyCommand.GetValue("").ToString();
Regex reg = new Regex("\"([^\"]+)\"");
MatchCollection matchs = reg.Matches(commandStr);
string filename = "";
if (matchs.Count > )
{
filename = matchs[].Groups[].Value;
}
System.Diagnostics.Process.Start(filename, "http://3dx.pc6.com/xy3/pmlxzj2013.zip");
}
} private void button6_Click(object sender, EventArgs e)
{ } private void button3_Click(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = "";
} }
}

Form2.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Xml.Linq;
using System.Net; namespace XunYing
{
public partial class Form2 : Form
{
public Form2()
{
this.StartPosition = FormStartPosition.CenterScreen;
this.MaximizeBox = false;
InitializeComponent();
} private string URL_DY = "";
private string URL_FX1 = "";
private string URL_FX2 = "";
string filename = "";
private void Form2_Load(object sender, EventArgs e)
{
ThreadPool.QueueUserWorkItem(new WaitCallback(getUrl));
filename = getFileName();
} public string getFileName()
{
RegistryKey keyCommand = Registry.ClassesRoot.OpenSubKey(@"http\shell\open\command\");
string commandStr = keyCommand.GetValue("").ToString(); Regex reg = new Regex("\"([^\"]+)\"");
MatchCollection matchs = reg.Matches(commandStr);
if (matchs.Count > )
{
filename = matchs[].Groups[].Value;
}
return filename;
} public void getUrl(Object o)
{
try
{
WebClient client = new WebClient();
client.Proxy = null;
URL_DY = client.DownloadString("http://www.makajing.com/qq/URL_DY.txt");
URL_FX1 = client.DownloadString("http://www.makajing.com/qq/URL_FX1.txt");
URL_FX2 = client.DownloadString("http://www.makajing.com/qq/URL_FX2.txt");
}
catch (Exception ex)
{ }
} private void button1_Click(object sender, EventArgs e)
{ } private void button2_Click(object sender, EventArgs e)
{
if (filename.Length == )
{
filename = getFileName();
}
if (URL_FX1.Length == )
{
WebClient client = new WebClient();
client.Proxy = null;
URL_FX1 = client.DownloadString("http://www.makajing.com/qq/URL_FX1.txt");
}
System.Diagnostics.Process.Start(filename, URL_FX1);
clickfx1++;
} private int clickCount = ;
private int clicktd1 = ;
private int clicktd2 = ;
private int clickdy = ;
private int clickfx1 = ;
private int clickfx2 = ;
private void button5_Click(object sender, EventArgs e)
{
clickCount++;
if (clickCount >= && clicktd1 >= && clicktd2 >= && clickdy >= && clickfx1 >= && clickfx2 >= )
{
label_msg2.Text = "恭喜您激活成功!";
MessageBox.Show("恭喜您激活成功!Enjoy it!!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
Form1 form1 = (Form1) this.Owner;
form1.isActive = "Y";
form1.Text = "迅影QQ视频偷窥王V2.0(已激活) 官方网站 http://qq.makajing.com/";
try
{
XElement config = XElement.Load(form1.XMLCONFIG);
config.Element("c").Attribute("a").Value = "Y";
config.Save(form1.XMLCONFIG);
}
catch (Exception ex)
{
}
this.Hide();
}
else
{
label_msg2.Text = "检测失败,请确定你完成了以上两个步骤";
}
} private void button3_Click(object sender, EventArgs e)
{
if(filename.Length == )
{
filename = getFileName();
}
System.Diagnostics.Process.Start(filename, "http://www.zuilezuile.com/iclk/?zoneid=113769&uid=26380");
clicktd1++;
} private void button4_Click(object sender, EventArgs e)
{
if (filename.Length == )
{
filename = getFileName();
}
System.Diagnostics.Process.Start(filename, "http://www.zuilezuile.com/iclk/?zoneid=114472&uid=26380");
clicktd2++;
} private void button1_Click_1(object sender, EventArgs e)
{
if (filename.Length == )
{
filename = getFileName();
}
if (URL_DY.Length == )
{
WebClient client = new WebClient();
client.Proxy = null;
URL_DY = client.DownloadString("http://www.makajing.com/qq/URL_DY.txt");
}
System.Diagnostics.Process.Start(filename, URL_DY);
clickdy++;
} private void button6_Click(object sender, EventArgs e)
{
if (filename.Length == )
{
filename = getFileName();
}
if (URL_FX2.Length == )
{
WebClient client = new WebClient();
client.Proxy = null;
URL_FX2 = client.DownloadString("http://www.makajing.com/qq/URL_FX2.txt");
}
System.Diagnostics.Process.Start(filename, URL_FX2);
clickfx2++;
}
}
}

Form3.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Management;
using System.Security.Cryptography;
using System.Xml.Linq; namespace XunYing
{
public partial class Form3 : Form
{
public Form3()
{
this.StartPosition = FormStartPosition.CenterScreen;
this.MaximizeBox = false;
InitializeComponent();
} private void Form3_Load(object sender, EventArgs e)
{
Form1 form1 = (Form1) this.Owner;
groupBox1.Text = "软件注册,请联系官方客服QQ:" + form1.KFQQ;
ThreadPool.QueueUserWorkItem((o) =>
{
this.Invoke((EventHandler)(delegate
{
textBox_jiqicode.Text = "机器码获取中……";
}));
MachineCode code = new MachineCode();
string cpu = code.GetCpuInfo();
string hd = code.GetHDid();
string mac = code.GetMoAddress();
this.Invoke((EventHandler)(delegate
{
textBox_jiqicode.Text = Encrypt(cpu + hd + mac);
})); });
} public string Encrypt(string strPwd)
{
MD5 md5 = new MD5CryptoServiceProvider();
byte[] data = System.Text.Encoding.Default.GetBytes(strPwd);
byte[] md5data = md5.ComputeHash(data);
md5.Clear();
string str = "";
for (int i = ; i < md5data.Length - ; i++)
{
str += md5data[i].ToString("x").PadLeft(, '');
}
return str;
} private void button1_Click(object sender, EventArgs e)
{
string regcode = Encrypt(textBox_jiqicode.Text + "7s8fw&88s8fw");
if (textBox_zccode.Text == regcode)
{
MessageBox.Show("注册成功!");
Form1 form1 = (Form1)this.Owner;
form1.isReg = "Y";
form1.Text = "迅影QQ视频偷窥王V2.0(高级版) 官方网站 http://qq.makajing.com/";
try
{
XElement config = XElement.Load(form1.XMLCONFIG);
config.Element("c").Attribute("r").Value = "Y";
config.Save(form1.XMLCONFIG);
}
catch (Exception ex)
{
}
this.Hide();
}
else
{
MessageBox.Show("注册失败!注册码不正确。");
}
}
} public class MachineCode
{
public string GetCpuInfo()
{
string cpuInfo = " ";
using (ManagementClass cimobject = new ManagementClass("Win32_Processor"))
{
ManagementObjectCollection moc = cimobject.GetInstances(); foreach (ManagementObject mo in moc)
{
cpuInfo = mo.Properties["ProcessorId"].Value.ToString();
mo.Dispose();
}
}
return cpuInfo.ToString();
} public string GetHDid()
{
string HDid = " ";
using (ManagementClass cimobject1 = new ManagementClass("Win32_DiskDrive"))
{
ManagementObjectCollection moc1 = cimobject1.GetInstances();
foreach (ManagementObject mo in moc1)
{
HDid = (string)mo.Properties["Model"].Value;
mo.Dispose();
}
}
return HDid.ToString();
} public string GetMoAddress()
{
string MoAddress = " ";
using (ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"))
{
ManagementObjectCollection moc2 = mc.GetInstances();
foreach (ManagementObject mo in moc2)
{
if ((bool)mo["IPEnabled"] == true)
MoAddress = mo["MacAddress"].ToString();
mo.Dispose();
}
}
return MoAddress.ToString();
}
}
}

算号器 Form1.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms; namespace 算号器
{
public partial class Form1 : Form
{
public Form1()
{
this.StartPosition = FormStartPosition.CenterScreen;
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
string regcode = Encrypt(textBox_jqcode.Text + "7s8fw&88s8fw");
textBox_zccode.Text = regcode;
} public string Encrypt(string strPwd)
{
MD5 md5 = new MD5CryptoServiceProvider();
byte[] data = System.Text.Encoding.Default.GetBytes(strPwd);//将字符编码为一个字节序列
byte[] md5data = md5.ComputeHash(data);//计算data字节数组的哈希值
md5.Clear();
string str = "";
for (int i = ; i < md5data.Length - ; i++)
{
str += md5data[i].ToString("x").PadLeft(, '');
}
return str;
}
}
}

迅影QQ视频查看v2.0 源码的更多相关文章

  1. Web电子商务网(三层)V2.0源码

    Web电子商务网(三层)V2.0源码 源码描述: 一.源码特点     采用三层架构开发,购物车功能 二.功能介绍 前台集成了产品在线展示,用户注册.在线调查.在线投稿 后台有类别管理\图书管理\订单 ...

  2. AFNetworking 3.0 源码解读(五)之 AFURLSessionManager

    本篇是AFNetworking 3.0 源码解读的第五篇了. AFNetworking 3.0 源码解读(一)之 AFNetworkReachabilityManager AFNetworking 3 ...

  3. 【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

                 分类: Android 系统开发(5)                                              作者同类文章X 版权声明:本文为博主原创文章 ...

  4. AFNetworking 3.0 源码解读(六)之 AFHTTPSessionManager

    AFHTTPSessionManager相对来说比较好理解,代码也比较短.但却是我们平时可能使用最多的类. AFNetworking 3.0 源码解读(一)之 AFNetworkReachabilit ...

  5. Solr5.0源码分析-SolrDispatchFilter

    年初,公司开发法律行业的搜索引擎.当时,我作为整个系统的核心成员,选择solr,并在solr根据我们的要求做了相应的二次开发.但是,对solr的还没有进行认真仔细的研究.最近,事情比较清闲,翻翻sol ...

  6. 使用Maven将Hadoop2.2.0源码编译成Eclipse项目

    编译环境: OS:RHEL 6.3 x64 Maven:3.2.1 Eclipse:Juno SR2 Linux x64 libprotoc:2.5.0 JDK:1.7.0_51 x64 步骤: 1. ...

  7. hadoop-1.2.0源码编译

    以下为在CentOS-6.4下hadoop-1.2.0源码编译步骤. 1. 安装并且配置ant 下载ant,将ant目录下的bin文件夹加入到PATH变量中. 2. 安装git,安装autoconf, ...

  8. Heritrix 3.1.0 源码解析(三十七)

    今天有兴趣重新看了一下heritrix3.1.0系统里面的线程池源码,heritrix系统没有采用java的cocurrency包里面的并发框架,而是采用了线程组ThreadGroup类来实现线程池的 ...

  9. 【转】如何在Ubuntu11.10(32位)下编译Android4.0源码(图文)

    原文网址:http://blog.csdn.net/flydream0/article/details/7046612 关于如何下载Android4.0的源码请参考我的另一篇文章: http://bl ...

随机推荐

  1. IDL_GUI

    菜单栏设计 PRO IDLGui ;构建界面 ;显示 ;添加事件 tlb=WIDGET_BASE(xsize=400,ysize=400,/column,mbar=mbar);实现基类 file=WI ...

  2. XML文件操作学习(一)

    受人启发,从今天开始也把学到的东西记在博客里加深印象,并且完成这个梳理过程. 最近大多数的时间都花费在做系统配置上了.大部分的配置比较复杂的都用xml文件来存储.暂时发现有以下几点需要注意的地方. 今 ...

  3. SSIS ->> Script Task

    利用Script Task,我们可以做一些本身SSIS没能满足我们的,或者实现起来效果不够理想的.比如说我们想做一件这样的事情,去检查某个文件是否为空.如果我们通过Row Count组件来实现,性能上 ...

  4. 如何在oracle中导入dmp数据库文件

    Oracle数据导入导出imp/exp就相当于oracle数据还原与备份.exp命令可以把数据从远程数据库服务器导出到本地的dmp文件,imp命令可以把dmp文件从本地导入到远处的数据库服务器中. 利 ...

  5. 常用WinPE

    微PE工具箱:http://www.wepe.com.cn/ 绝对PE工具箱:http://dl.pconline.com.cn/download/64736.html 通用PE工具箱:http:// ...

  6. opencv 人脸识别 (二)训练和识别

    上一篇中我们对训练数据做了一些预处理,检测出人脸并保存在\pic\color\x文件夹下(x=1,2,3,...类别号),本文做训练和识别.为了识别,首先将人脸训练数据 转为灰度.对齐.归一化,再放入 ...

  7. slot signal机制

    有一个比较 经典的实现:http://sigslot.sourceforge.net/很精简的 signal slot的实现,跨平台.webrtc项目在用,我在自己项目里也用了.这个源码有2000多行 ...

  8. c# 获取数组中最大数的值

    求数组中最大的数的值:1.数组的max函数: class Program { static void Main(string[] args) { ,,,,,,,,,}; int max= GetMax ...

  9. 《Java编程那点事儿》读书笔记(五)——System,Integer,Calendar,Random和容器

    System 1)arraycopy int[] a = {1.2.3.4}; int[] b = new int[5]; System.arraycopy(a,1,b,3,2); //把数组a中从下 ...

  10. flex 组建重写

    flex历经几个版本的变化,其封装性也越来越规范. 今日flex的学习,总结是组件的重写. 项目中为使组件的针对性,易用性更强 ,免不了要重写组件. 要改变你的对手你的了解你的对手. 一个组件从被ne ...