QloginPCode
腾讯WEB登陆协议p值算法,node.js编写
更新日志
2020/07/19
1.修复p值失效
2.增加md5加密选项
3.更改返回值为json
使用方法
安装node环境
node service.js
项目即可运行
点击下载
接口文档
以下为部署过的接口,可直接使用
密码为明文时:
https://qlogin.clwl.online/?uin=账号&pwd=密码&vcode=安全码&md5=false密码为md5加密后时:
https://qlogin.clwl.online/?uin=账号&pwd=密码&vcode=安全码
/**
* QQ登陆p值算法
* Author:流逝中沉沦
* @QQ:1178710004
* Blog:https://www.clwl.online
*/
var http = require('http');
var RequestUrl = require('url');
var login = require('./login');
http.createServer(function (request, response) {
var obj = RequestUrl.parse(request.url, true);
var get = obj.query;
response.setHeader("Content-type","text/json;charset=utf8");
response.setHeader("status",200);
if (get.uin == undefined || get.uin == '') {
response.end(JSON.stringify({ code: 0, msg: "QQ不能为空!" }));
}
if (get.pwd == undefined || get.pwd == '') {
response.end(JSON.stringify({ code: 0, msg: "密码不能为空!" }));
}
if (get.vcode == undefined || get.vcode == '') {
response.end(JSON.stringify({ code: 0, msg: "VCODE不能为空!" }));
}
if (get.md5 == undefined || get.md5 == '') {
var ismd5 = false;
}else{
var ismd5 = true;
}
var uin = get.uin;
var pwd = get.pwd;
var vcode = get.vcode;
try {
var p = login.getmd5(uin, pwd, vcode,ismd5);
} catch (error) {
var p = error;
}
response.end(JSON.stringify({ code: 1, msg: "获取成功",data:p }));
}).listen(1234);//端口号
Precast Concrete Pipes : Manufactured off-site, these pipes are used for efficient large-scale installations. ElitePipe Factory in Iraq offers reliable precast concrete pipe solutions.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/ar-BH/register?ref=53551167
Your article helped me a lot, is there any more related content? Thanks!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://www.binance.com/en-IN/register?ref=UM6SMJM3
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Your article helped me a lot, is there any more related content? Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
you are in reality a good webmaster. The website loading velocity is amazing. It sort of feels that you’re doing any distinctive trick. Also, The contents are masterwork. you have done a fantastic job in this topic!
Elitepipe Plastic Factory’s HDPE fittings are renowned for their versatility, allowing for secure and efficient connections in diverse applications such as water supply, gas distribution, and industrial pipelines. Elitepipe Plastic Factory
大佬,你好,我想知道vcode,是填verifycode的值还是填pt_verifysession_v1的值呢
我两个值都试了,都是账号密码错误
人少
啊哈
10000
???
作者能出个宝塔搭建p值教程吗
安装pm管理器即可,然后把文件上传任意目录,启动service文件,反代一下,非常简单
可用pm2部署的不显示端口
可能是端口占用问题,程序写死了1234端口,可以修改service.js文件里的端口试下,实在不会加我帮你看下,https://qlogin.clwl.online 这是部署好的接口
api文档能提供一下吗
get参数uin pwd vcode,md5加密可选
已经用不了,失效了
好的,修复好会上传到git
已修复
直接上传服务器即可对接使用吗
需要node环境
服务端源码是怎么使用的
这个怎么搭建成api
使用node运行即可