User-Profile-Image
hankin
  • 5
  • 首页
  • 留言
  • 仓库
  • 云端
  • 分类
    • 随笔
    • 安卓逆向
    • php
    • node.js
    • C#
  • 页面
    • 个人技术栈
    • 留言
  • 友链
    • 沉沦云API
    • 沉沦云端
    • SinKingMusic
    • 美和易思刷课
    • 神奇的七云
    • khaos编程小站
    • 小九实验室
    • 一叶三秋
    • 青年的故事
    • :李白云博客
    • 噜阿噜-资源站
    • 小k
Help?

Please contact us on our email for need any support

Support
    首页   ›   node.js   ›   正文
node.js

QQWeb登陆P值算法

2020-05-08 13:05:04
23460  81 27

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);//端口号

如本文“对您有用”,欢迎随意打赏作者,让我们坚持创作!

27 打赏
评论 (90)

回复给 点击这里取消回复。

欢迎您 游客  

  • 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?

    3个月前
    回复
  • Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

    3个月前
    回复
  • RQsT9Q5mOHn

    3个月前
    回复
  • RzaAfXbD5YU

    3个月前
    回复
  • 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.

    3个月前
    回复
  • 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.

    3个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks!

    3个月前
    回复
  • Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

    4个月前
    回复
  • 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.

    4个月前
    回复
  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

    4个月前
    回复
  • 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?

    4个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks!

    4个月前
    回复
  • 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.

    5个月前
    回复
  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

    5个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks! https://accounts.binance.com/fr-AF/register?ref=JHQQKNKN

    5个月前
    回复
  • 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://accounts.binance.com/ro/register?ref=V3MG69RO

    5个月前
    回复
  • Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

    5个月前
    回复
  • Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

    5个月前
    回复
  • 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?

    6个月前
    回复
  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

    6个月前
    回复
  • 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?

    6个月前
    回复
  • Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

    6个月前
    回复
  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

    6个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks!

    6个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/si-LK/register?ref=V2H9AFPY

    7个月前
    回复
  • Your article helped me a lot, is there any more related content? Thanks!

    7个月前
    回复
  • Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

    7个月前
    回复
  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

    7个月前
    回复
  • Brass Pipes : Corrosion-resistant, brass pipes are used for plumbing and heating systems. ElitePipe Factory in Iraq ensures top-quality brass pipe offerings.

    8个月前
    回复
  • PEX-AL-PEX Pipes : Multi-layered, these pipes offer flexibility and durability, ideal for heating systems. ElitePipe Factory in Iraq manufactures high-quality PEX-AL-PEX pipes.

    8个月前
    回复
1 2 3
流逝中沉沦
12文章 50951评论 1470点赞 4377011浏览

随机文章
c#模拟QQ空间访问
5年前
QQ全套扫码加速
5年前
QQWeb登陆P值算法
5年前
美和易思app协议分析及功能实现(美和易思刷课)
5年前
今日校园app协议分析(自动提交问卷,自动打卡等等)
5年前
最新评论
+376
网站留言
Copyright © 2025 网站备案号: 皖ICP备18022767号-3
沉沦云网络. SinKingCloud
主页
页面
  • 个人技术栈
  • 留言
博主
流逝中沉沦
流逝中沉沦 管理员
一个热爱生活热爱技术的00后少年
12 文章 50951 评论 4377011 浏览
测试
测试
赞赏作者

请通过微信、支付宝 APP 扫一扫

感谢您对作者的支持!

 支付宝 微信支付