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,29 @@
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/ugsnx.js
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/ugsnx.js
// # Repo: Wenmoux/checkbox
// # Path: scripts/ugsnx.js
// # UploadedAt: 2021-09-25T00:15:59Z
// # SHA256: 62534dd85b6f24116fc614bca2846afa150ea0a8351dabb0de54e53be897dbef
// # Category: web版/抓包
// # Evidence: web/H5关键词 + cookie/token/header
//
const rules = {
name: "【ug爱好者】 ",
url: "http://www.ugsnx.com/forum.php?mod=guide&view=newthread&mobile=2", //用于获取formhash的链接
cookie: config.ugsnx.cookie,
formhash: 'formhash=(.+?)"', //formhash正则
verify: "有你更精彩!",
op: [{
name: "签到",
charset: "gb2312",
method: "get", //签到请求方式 get/post
url: "http://www.ugsnx.com/plugin.php?id=dsu_amupper&ppersubmit=true&nogoto=1&formhash=@formhash&mobile=2&inajax=1"
}]
};
async function ugsnx() {
const template = require("../Template");
return rules.name + await template(rules)
}
module.exports = ugsnx