Collect authenticated Qinglong scripts batch
This commit is contained in:
29
脚本库/web版/抓包/ug爱好者_,/2021-09-25_ugsnx_62534dd8.js
Normal file
29
脚本库/web版/抓包/ug爱好者_,/2021-09-25_ugsnx_62534dd8.js
Normal 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
|
||||
Reference in New Issue
Block a user