求助模拟QQ登录,并强制获取qq好友列表好友与群信息

更多数码资讯,请关注南窗数码
“好友消息”相关经验查看: 9803|回复: 283
QQ登录获取好友及群列表
阅读权限10
在线时间 小时
是否带模块:
调用了模块
9a504fc2d4a6ef63eb.jpg (4.31 KB, 下载次数: 0)
12:44 上传
a9d3fd1feb1d12996cad1c8a6865df2.jpg (14.25 KB, 下载次数: 0)
12:44 上传
2f738bd4b31cef0608ffe0.jpg (19.18 KB, 下载次数: 0)
12:44 上传
(592.08 KB, 下载次数: 1272)
12:45 上传
点击文件名下载附件
下载积分: 精币 -1 枚
欢迎骚年们加入群 : 。
源码详情请看图。
下面的,如果你说你看不懂那可以原谅,但你瞎说,就无法原谅了。&
功能全在封在模块中,这也叫开源???&
支持开源~!感谢分享
支持开源~!感谢分享
支持开源~!感谢分享
您可以选择打赏方式支持楼主
本帖被以下淘专辑推荐:
& |主题: 5, 订阅: 0
阅读权限10
在线时间 小时
有点儿用哦!
阅读权限10
在线时间 小时
怎么源码下载不了啦
阅读权限10
在线时间 小时
支持支持还好
阅读权限20
在线时间 小时
这个好像不准确,网页版需要 验证码,你这不行哈。抓包....0的是可以登录上去的,而且得到cookies,但1就不行咯
阅读权限90
在线时间 小时
签到天数: 1 天结帖率: (0/1)
汉,虽然是分过期源码,但是已鉴定,确实是真实开源,而且写的很详细.包括JS也直接用易语言来写的
阅读权限20
在线时间 小时
签到天数: 1 天
感谢大神分享 谢谢
阅读权限10
在线时间 小时
感谢大神分享 谢谢
阅读权限10
在线时间 小时
学习了,源码已经下好了
阅读权限10
在线时间 小时
认真学心下
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
揭阳精易科技有限公司申明:我公司所有的培训课程版权归精易所有,任何人以任何方式翻录、盗版、破解本站培训课程,我们必将通过法律途径解决!
公司简介:揭阳市揭东区精易科技有限公司致力于易语言教学培训/易语言学习交流社区的建设与软件开发,多年来为中小企业编写过许许多多各式软件,并把多年积累的开发经验逐步录制成视频课程供学员学习,让学员全面系统化学习易语言编程,少走弯路,减少对相关技术的研究与摸索时间,从而加快了学习进度!
防范网络诈骗,远离网络犯罪
违法和不良信息举报电话,企业QQ: ,邮箱:@
Powered by
粤公网安备 25查看: 12537|回复: 5
求助模拟QQ登录,并获取好友与群信息
该用户从未签到
今天组长给个任务,估计是为了推广产品用.
要求大概是:
1.创建一个web程序,模拟QQ登录,获取个人信息。
2.获取好友信息
3.获取群信息。
求助,没做过此类程序.
Asp.net的.
哪有类似的源码.比如QQ机器人web版本的.
&&&&&&&&&&&&&&&&
TA的每日心情开心3&天前签到天数: 242 天[LV.8]以坛为家I
这个不好实现,没程序,有也是一以前的,可以参考下。你直接搜索,QQ登录
&&&&&&&&&&&&&&&&
该用户从未签到
[C#] 纯文本查看 复制代码
using System.C
using System.Collections.G
using System.L
using System.N
using System.T
using System.Text.RegularE
namespace QQLogin
public class Login
public static string referer = &https://xui./cgi-bin/xlogin?appid=&daid=4&s_url=/cgi-bin/login?vt=passport%26vm=wpt%26ft=loginpage%26target=&style=25&low_login=1&proxy_url=/proxy.html&need_qr=0&hide_border=1&border_radius=0&self_regurl=/chs/index.html?type=1&app_id=11005?t=regist&pt_feedback_link=/discuss/350_1.shtml&css=https://res./zh_CN/htmledition/style/ptlogin_input1dd8c7.css&;
/// &summary&
/// 初始化Cookie
/// &/summary&
/// &param name=&tbCookieCollection&&cookie&/param&
public static string InitDefaultCookie(CookieCollection cookieCollection)
string accept = &text/html, application/xhtml+xml, */*&;
string treferer = &/cgi-bin/loginpage&;
HttpHelper helper = new HttpHelper();
HttpItem item = new HttpItem()
URL = referer,
Accept = accept,
Referer = treferer,
ResultCookieType = ResultCookieType.CookieCollection
HttpResult result = helper.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
string login_sig = Regex.Match(result.Html, &(?is)(?&=login_sig\&:\&)[^\&]+(?=\&)&).V
return login_
/// &summary&
/// 判断是否需要验证码
/// &/summary&
/// &param name=&username&&QQ账号&/param&
/// &param name=&cookieCollection&&Cokie&/param&
/// &returns&false/需要验证码 其他为默认验证码&/returns&
public static Hashtable CheckIfNeedCode(string username, string login_sig, CookieCollection cookieCollection)
Hashtable ht = new Hashtable();
Random r = new Random();
string url = string.Format(&https://ssl./check?regmaster=&uin={0}&appid=&js_ver=10082&js_type=1&login_sig={1}&u1=https%3A%2F%%2Fcgi-bin%2Flogin%3Fvt%3Dpassport%26vm%3Dwpt%26ft%3Dloginpage%26target%3D&r={2}&, username, login_sig,r.NextDouble());
HttpHelper helper = new HttpHelper();
HttpItem item = new HttpItem()
URL = url,
Accept = &application/javascript, */*;q=0.8&,
Referer = referer,
ResultCookieType = ResultCookieType.CookieCollection,
CookieCollection = cookieCollection
HttpResult result = helper.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
string retString = result.H
//得验证吗
if (retString.Contains(&ptui_checkVC('0','&))
ht.Add(&state&,false);
ht.Add(&code&, retString.Replace(&ptui_checkVC('0','&, &&).Replace(&'&, &&).Replace(&)&, &&).Replace(&;&, &&).Substring(0, 4));
//不需要手动输入
ht.Add(&state&,true);
retString = retString.Replace(&ptui_checkVC(&, &&).Replace(&)&, &&);
string[] data = retString.Split(new char[] { ',' });
ht.Add(&code&,data[1].Replace(&'&,&&));
ht.Add(&state&, true);
/// &summary&
/// 获取验证码图片的二进制值
/// &/summary&
/// &param name=&cap_cd&&&/param&
/// &returns&&/returns&
public static byte[] getVerfycodeImage(string username, string cap_cd, CookieCollection cookieCollection)
Random rand = new Random();
string url = string.Format(&https://ssl./getimage?uin={0}&aid=&cap_cd={1}&{2}&, username, cap_cd,rand.NextDouble());
HttpHelper help = new HttpHelper();
HttpItem item = new HttpItem()
URL = url,
ResultType = ResultType.Byte,
ResultCookieType = ResultCookieType.CookieCollection,
CookieCollection = cookieCollection
HttpResult result = help.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
return result.ResultB
/// &summary&
/// 正式登陆
/// &/summary&
/// &param name=&username&&&/param&
/// &param name=&password&&&/param&
/// &param name=&code&&&/param&
/// &param name=&login_sig&&&/param&
/// &param name=&cookieCollection&&&/param&
/// &returns&&/returns&
public static Hashtable login(string username, string password, string code, string login_sig, CookieCollection cookieCollection)
Hashtable ht = new Hashtable();
StringBuilder sb = new StringBuilder();
sb.Append(&https://ssl./login?&);
sb.Append(&u=&).Append(username).Append(&&&);
sb.Append(&verifycode=&).Append(code).Append(&&&);
sb.Append(&p=&).Append(PasswordHelper.GetPassword(username,password,code)).Append(&&&);
sb.Append(&login_sig=&).Append(login_sig).Append(&&&);
sb.Append(string.Format(&&pt_rsa=0&u1=https%3A%2F%%2Fcgi-bin%2Flogin%3Fvt%3Dpassport%26vm%3Dwpt%26ft%3Dloginpage%26target%3D%26account%3D{0}&ptredirect=1&h=1&t=1&g=1&from_ui=1&ptlang=2052&action=&js_ver=10082&js_type=1&pt_uistyle=25&aid=&daid=4&&,username));
HttpHelper help = new HttpHelper();
HttpItem item = new HttpItem()
URL = sb.ToString(),
Accept = &application/javascript, */*;q=0.8&,
Referer = referer,
CookieCollection = cookieCollection,
ResultCookieType = ResultCookieType.CookieCollection
HttpResult result = help.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
string retString = result.H
ht.Add(&html1&, retString);
if (retString.Contains(&登录成功&))
ht.Add(&nick&, Regex.Match(retString, &(?is)(?&=登录成功!', ')[^']+(?=')&).Value);
retString = retString.Replace(&ptuiCB(&, &&).Replace(&)&,&&);
string[] data = retString.Split(new char[]{','});
string url = data[2].Replace(&'&,&&);
item = new HttpItem()
URL = url,
Accept = &text/html, application/xhtml+xml, */*&,
Referer = referer,
CookieCollection = cookieCollection,
ResultCookieType = ResultCookieType.CookieCollection
result = help.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
//这里要捕获302跳转
string wburl = result.Header[&Location&];
while (!string.IsNullOrWhiteSpace(wburl))
item = new HttpItem()
URL = wburl,
ResultCookieType = ResultCookieType.CookieCollection,
CookieCollection = cookieCollection
result = help.GetHtml(item);
cookieCollection.Add(result.CookieCollection);
wburl = result.Header[&Location&];
string sid = Regex.Match(result.Html, &(?is)(?&=sid=)[^\&]+(?=\&)&).V
ht.Add(&html&,result.Html);
ht.Add(&state&, true);
ht.Add(&sid&,sid);
ht.Add(&msg&, &登陆成功&);
ht.Add(&state&, false);
ht.Add(&msg&, string.IsNullOrWhiteSpace(Regex.Match(retString, &[\u4e00-\u9fa5]+&).Value) ? &连接超时,请重试!& : Regex.Match(retString, &[\u4e00-\u9fa5]+&).Value);
ht.Add(&state&, false);
ht.Add(&msg&, string.IsNullOrWhiteSpace(Regex.Match(retString, &[\u4e00-\u9fa5]+&).Value) ? &连接超时,请重试!& : Regex.Match(retString, &[\u4e00-\u9fa5]+&).Value);
#region 时间转换成时间戳
/// &summary&
/// 将时间转换成时间戳
/// &/summary&
/// &returns&&/returns&
public static string UnixStamp(DateTime time)
System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(, 0, 0, 0, 0));
long t = (time.Ticks - startTime.Ticks) / 10000; //除10000调整为13位
return t.ToString();
#endregion
&&&&&&&&&&&&&&&&
该用户从未签到
[C#] 纯文本查看 复制代码using S
using System.Collections.G
using System.L
using System.T
using System.Threading.T
using System.Security.C
namespace QQLogin
class PasswordHelper
/// &summary&
/// 根据QQ号码和验证码加密密码
/// &/summary&
/// &param name=&qqNum&&QQ号码&/param&
/// &param name=&password&&QQ密码&/param&
/// &param name=&verifycode&&验证码&/param&
/// &returns&密码密文&/returns&
public static string GetPassword(string qqNum, string password, string verifycode)
//uin为QQ号码转换为16位的16进制
int.TryParse(qqNum, out qq);
qqNum = qq.ToString(&x&);
qqNum = qqNum.PadLeft(16, '0');
String P = hexchar2bin(md5(password));
String U = md5(P + hexchar2bin(qqNum)).ToUpper();
String V = md5(U + verifycode.ToUpper()).ToUpper();
public static string md5(string input)
byte[] buffer = MD5.Create().ComputeHash(Encoding.GetEncoding(&ISO-8859-1&).GetBytes(input));
return binl2hex(buffer);
public static string binl2hex(byte[] buffer)
StringBuilder builder = new StringBuilder();
for (int i = 0; i & buffer.L i++)
builder.Append(buffer[i].ToString(&x2&));
return builder.ToString();
public static string hexchar2bin(string passWord)
StringBuilder builder = new StringBuilder();
for (int i = 0; i & passWord.L i = i + 2)
builder.Append(Convert.ToChar(Convert.ToInt32(passWord.Substring(i, 2), 16)));
return builder.ToString();
&&&&&&&&&&&&&&&&
该用户从未签到
[C#] 纯文本查看 复制代码
使用方法:
//新建Cookie
cookieCollection = new CookieCollection();
string login_sig = Login.InitDefaultCookie(cookieCollection);
//判断是否需要验证码
Hashtable ht = Login.CheckIfNeedCode(username, login_sig, cookieCollection);
bool state = Boolean.Parse(ht[&state&].ToString());
string cap_cd = ht[&code&].ToString();
//需要验证码
if (state)
while (true)
this.BeginInvoke(updateLog, &需要验证码,正在查询……&);
Hashtable imght = VerfycodeImage(username, cap_cd);
bool imgState = Boolean.Parse(imght[&state&].ToString());
if (imgState)
code = imght[&code&].ToString();
codenum = imght[&codenum&].ToString();
this.BeginInvoke(updateLog, &验证码查询成功:& + code);
this.BeginInvoke(updateLog,imght[&msg&].ToString());
Thread.Sleep(2000);
code = cap_
//开始登陆
Hashtable loginResult = Login.login(username, password, code, login_sig, cookieCollection);
bool loginState = Boolean.Parse(loginResult[&state&].ToString());
&&&&&&&&&&&&&&&&
该用户从未签到
非常感谢你帮了我的大忙,真的太感谢你啦!
&&&&&&&&&&&&&&&&
( 豫ICP备号-1)&&C#实现 模拟QQ 添加好友、发消息、群发消息、查看好友资料、登陆、退出,删除好友等操作【附源码,已测试通过】
C#网络编程
开发语言:C#
实例大小:0.07M
下载次数:
浏览次数:
发布时间:
实例类别:C#网络编程
发 布 人:
所需积分:2
&相关标签:
同类人气实例
实例下载地址
C#实现 模拟QQ 添加好友、发消息、群发消息、查看好友资料、登陆、退出,删除好友等操作【附源码,已测试通过】
不能下载?内容有错? 点击这里报错
好例子网口号:伸出你的我的手 & 分享!
1 楼 jake123 发表于:
2 楼 chamlien 发表于:
添加好友在哪里呢?
....................666666
....................666666
....................666666
....................666666
8 楼 ainizhao315 发表于:
别下了 已经过时了,没用了
9 楼 a 发表于:
10 楼 a 发表于:
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
Copyright &
好例子网(www.haolizi.net).All Rights Reserved备案编号:冀ICP备号 石公备号(10)在10个鸡蛋上坐了3星期后,终于成功孵化出第一颗鸡蛋。
但礼仪小姐、导购小姐依然是场内的一道风景线。
声明:本文由入驻搜狐公众平台的作者撰写,除搜狐官方账号外,观点仅代表作者本人,不代表搜狐立场。
  QQ好友及群成员提取软件介绍和使用方法
  软件可批量提取QQ好友,可批量提取群成员(必须先进群),多线程,速度快,可宽带拔号,也可以导入代理IP。
  一、QQ好友及群成员提取软件软件功能
  (1)可批量提取QQ好友;
  (2)可批量提取QQ群成员(必须先加群);
  (3)可导入代理IP快速查询;
  (4)宽带拔号自动换IP;
  (5)可使用远程打码,已接入UU,知码平台;
  (6)软件多线程,速度快;
  二、QQ好友及群成员提取软件运行环境
  (1)windows XP或windows 7操作系统环境;
  (2)电脑须安装net framework 2.0或以上版本,若运行软件不成功,请安装;
  (3)开通远程打码账号,若未开通,必须人工自己输入;
  三、软件截图
  图1 软件登录主界面
  图2 远程打码账号输入
  图3 免责声明
软件不懂的地方可以随时咨询QQ软件客服QQ: ,进行指导。
欢迎举报抄袭、转载、暴力色情及含有欺诈和虚假信息的不良文章。
请先登录再操作
请先登录再操作
微信扫一扫分享至朋友圈
搜狐公众平台官方账号
生活时尚&搭配博主 /生活时尚自媒体 /时尚类书籍作者
搜狐网教育频道官方账号
全球最大华文占星网站-专业研究星座命理及测算服务机构
微信公众号:huolit
小编微信号:...
主演:黄晓明/陈乔恩/乔任梁/谢君豪/吕佳容/戚迹
主演:陈晓/陈妍希/张馨予/杨明娜/毛晓彤/孙耀琦
主演:陈键锋/李依晓/张迪/郑亦桐/张明明/何彦霓
主演:尚格?云顿/乔?弗拉尼甘/Bianca Bree
主演:艾斯?库珀/ 查宁?塔图姆/ 乔纳?希尔
baby14岁写真曝光
李冰冰向成龙撒娇争宠
李湘遭闺蜜曝光旧爱
美女模特教老板走秀
曝搬砖男神奇葩择偶观
柳岩被迫成赚钱工具
大屁小P虐心恋
匆匆那年大结局
乔杉遭粉丝骚扰
男闺蜜的尴尬初夜
客服热线:86-10-
客服邮箱:

我要回帖

更多关于 qq好友真实姓名获取器 的文章

 

随机推荐