3GQQ 协议分析


登陆(Post请求方式):
http://pt.3g.qq.com/handleLogin
Post数据:
"qq=" + qq + "&pwd=" + pwd + "&q_from=&modifySKey=0&loginType=" + loginType;

Sid登陆(心跳,Get请求方式):
http://pt.3g.qq.com/s?aid=nLogin3gqqbysid&3gqqsid=" + sid;

验证码(vdata:"9D0407BDF1B6F702CD5A2C4F06F218D9"),各种参数在获取验证码的页面获得):
 "http://pt.3g.qq.com/handleLogin?sid=" + sid + "&vdata=" + vdata;
Post数据:
"qq=" + qqNum + "&u_token=" + qqNum + "&hexpwd=" + hexPwd + "&sid=" + sid + "&hexp=true&auto=0&loginTitle=%E6%89%8B%E6%9C%BA%E8%85%BE%E8%AE%AF%E7%BD%91&q_from=&modifySKey=0&q_status=10&r=" + r + "&loginType=1&login_url=http%3A%2F%2Fpt.3g.qq.com%2Fs%3Faid%3DnLoginnew%26q_from%3D3GQQ&extend=http%3A%2F%2Fnvcsz.gtimg.com%2F1981342882%2F688031498109271914&r_sid=" + r_sid + "&bid_code=3GQQ&bid=0&toQQchat=true&rip=" + rip + "&verify=" + vercode + "&submitlogin=%E9%A9%AC%E4%B8%8A%E7%99%BB%E5%BD%95";

加好友(Get请求方式)
"http://q16.3g.qq.com/g/s?sid=" + sid + "&aid=addFriend&uin=" + uin + "&KqqWap_Act=7&qqId=" + uin;

加好友请求验证(Post请求方式):
"http://q16.3g.qq.com/g/s?sid="+sid+"&aid=addFriendVerify";
Post数据:
"verify="+ver+"&uin="+uin;

修改资料(Post请求方式):
"http://q32.3g.qq.com/g/s?sid="+sid+"&aid=chgQqSetting"
Post数据:
"nick=" + nick + "&signname=" + signName + "&gender=" + gender + "&age="+age+"&phoneNo="+phoneNo+"&address="+address+"&email="+email;

发送消息(Post请求方式):
 "http://q32.3g.qq.com/g/s?sid=" + sid;
Post数据
"msg=" + msg+ "&u=" + dfqqNum + "&saveURL=0&do=send&on=1&saveURL=0&aid=%E5%8F%91%E9%80%81&num=" + dfqqNum + "&do=sendsms";

注意:参数URL编码 ,vdata无关紧要的东东,传神马都OK



本问转载的,忘记转谁的了

评论
文章信息
作者: admin
目录: qq
创建: 2013-12-08
更新: 2013-12-08
如果文章对你有帮助,请博主喝杯咖啡:-)