Collect authenticated Qinglong scripts batch

This commit is contained in:
Hermes Agent
2026-05-24 03:53:42 +00:00
parent 0d80b33d25
commit 28d62fef03
86 changed files with 18420 additions and 5 deletions

View File

@@ -0,0 +1,42 @@
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/hsy.js
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/hsy.js
// # Repo: Wenmoux/checkbox
// # Path: scripts/hsy.js
// # UploadedAt: 2022-02-22T20:29:28Z
// # SHA256: e824ae285da7e27d573d4a6dae4a328df6fde28e563cbe905df3dd88e126e272
// # Category: web版/抓包
// # Evidence: web/H5关键词 + cookie/token/header
//
const rules = {
name: "【好书友论坛】: ",
url: "http://www.58shuyou.com/plugin.php?id=k_misign:sign", //用于获取formhash的链接
cookie: config.hsy.cookie,
ua: "pc",
formhash: 'formhash=(.+?)\\"', //formhash正则
verify: "你还没登录,确定登录", //验证cookie状态
op: [{
name: "签到",
ua: "pc",
charset: "gb2312",
method: "get", //签到请求方式 get/post
url: "http://www.58shuyou.com/plugin.php?id=k_misign:sign&operation=qiandao&format=text&formhash=@formhash", //签到链接
},
{
name: "在线奖励",
ua: "pc",
charset: "gb2312",
method: "get", //签到请求方式 get/post
url: "http://www.58shuyou.com/plugin.php?id=gonline:index&action=award&formhash=@formhash", //签到链接
reg2: "没", //重复签到判断
reg3: "parent", //签到成功判断
info: "\\(\\'(.+?)\\'", //签到成功返回信息
}
]
};
async function hsy() {
const template = require("../Template");
return rules.name + await template(rules)
}
module.exports = hsy