Files
qinglong/脚本库/APP版/抓包/鱼C论坛_,/2021-09-25_fishc_2fcb72b6.js
2026-05-24 03:53:42 +00:00

29 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/fishc.js
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/fishc.js
// # Repo: Wenmoux/checkbox
// # Path: scripts/fishc.js
// # UploadedAt: 2021-09-25T00:15:59Z
// # SHA256: 2fcb72b6b50e8095d2fbe70f2e3fc123bb687b34ac7d77f189d7bbd37f4a7a09
// # Category: APP版/抓包
// # Evidence: cookie/token/authorization/header
//
const rules = {
name: "【鱼C论坛】 ",
url: "https://fishc.com.cn/plugin.php?id=k_misign:sign", //用于获取formhash的链接
cookie: config.fishc.cookie,
formhash: 'formhash=(.+?)\\"', //formhash正则
verify: "您需要先登录才能继续本操作", //验证cookie状态
op: [{
name: "签到",
charset: "gbk",
method: "get", //签到请求方式 get/post
url: "https://fishc.com.cn/plugin.php?id=k_misign:sign&operation=qiandao&format=text&formhash=@formhash"
}]
};
async function fishc() {
const template = require("../Template");
return rules.name + await template(rules)
}
module.exports = fishc