// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/qmj.js // # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/qmj.js // # Repo: Wenmoux/checkbox // # Path: scripts/qmj.js // # UploadedAt: 2021-10-04T11:58:52Z // # SHA256: eaedf8062aee0a296d103fcb892f519d757704aaaebd1093361270da8f77322a // # Category: web版/账密 // # Evidence: web/H5关键词 + username/password/login // const rules = { name: "【阡陌居】: ", cookie: config.qmj.cookie, url: "http://www.1050qm.com/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=0&inajax=0&mobile=yes", //用于获取formhash的链接 formhash: 'formhash=(.+?)\&', //formhash正则 verify: "您需要先登录才能继续本操作", //验证cookie状态 op: [{ name: "签到", method: "post", url: "http://www.1050qm.com/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=0&inajax=0", //签到链接 data: "formhash=@formhash&qdxq=wl" }, { name: "申请威望红包任务", ua: "pc", charset: "gb2312", method: "get", url: "http://www.1000qm.vip/home.php?mod=task&do=apply&id=1" }] }; async function togamemod() { const template = require("../Template"); return rules.name + await template(rules) } module.exports = togamemod