[ { "comment": "获取loginhash,formhash", "request": { "method": "GET", "url": "https://club.fnnas.com/member.php?mod=logging&action=login", "headers": [ { "name": "Host", "value": "club.fnnas.com" }, { "name": "Connection", "value": "keep-alive" }, { "name": "sec-ch-ua", "value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\"" }, { "name": "sec-ch-ua-mobile", "value": "?0" }, { "name": "sec-ch-ua-platform", "value": "\"Windows\"" }, { "name": "Upgrade-Insecure-Requests", "value": "1" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36" }, { "name": "Accept", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, { "name": "Sec-Fetch-Site", "value": "same-origin" }, { "name": "Sec-Fetch-Mode", "value": "navigate" }, { "name": "Sec-Fetch-User", "value": "?1" }, { "name": "Sec-Fetch-Dest", "value": "document" }, { "name": "Referer", "value": "https://club.fnnas.com/forum.php" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br" }, { "name": "Accept-Language", "value": "zh-CN,zh;q=0.9" } ], "cookies": [], "data": "", "mimeType": "" }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "name": "loginhash", "re": "loginhash=(.*?)\"", "from": "content" }, { "name": "formhash", "re": "name=\"formhash\" value=\"(.*?)\"", "from": "content" } ] } }, { "comment": "登录", "request": { "method": "POST", "url": "https://club.fnnas.com/member.php?mod=logging&action=login&loginsubmit=yes&loginhash={{loginhash|urlencode}}&inajax=1", "headers": [ { "name": "Host", "value": "club.fnnas.com" }, { "name": "Connection", "value": "keep-alive" }, { "name": "Cache-Control", "value": "max-age=0" }, { "name": "sec-ch-ua", "value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\"" }, { "name": "sec-ch-ua-mobile", "value": "?0" }, { "name": "sec-ch-ua-platform", "value": "\"Windows\"" }, { "name": "Upgrade-Insecure-Requests", "value": "1" }, { "name": "Origin", "value": "https://club.fnnas.com" }, { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36" }, { "name": "Accept", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, { "name": "Sec-Fetch-Site", "value": "same-origin" }, { "name": "Sec-Fetch-Mode", "value": "navigate" }, { "name": "Sec-Fetch-User", "value": "?1" }, { "name": "Sec-Fetch-Dest", "value": "iframe" }, { "name": "Referer", "value": "https://club.fnnas.com/member.php?mod=logging&action=login" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br" }, { "name": "Accept-Language", "value": "zh-CN,zh;q=0.9" } ], "cookies": [], "data": "formhash={{formhash|urlencode}}&referer=https%3A%2F%2Fclub.fnnas.com%2Fforum.php&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=", "mimeType": "application/x-www-form-urlencoded" }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [ { "re": "登录失败", "from": "content" }, { "re": "您当前的访问请求当中含有非法字符,已经被系统拒绝", "from": "content" } ], "extract_variables": [] } }, { "comment": "获取formhash", "request": { "method": "GET", "url": "https://club.fnnas.com/plugin.php?id=zqlj_sign", "headers": [ { "name": "Host", "value": "club.fnnas.com" }, { "name": "Connection", "value": "keep-alive" }, { "name": "sec-ch-ua", "value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\"" }, { "name": "sec-ch-ua-mobile", "value": "?0" }, { "name": "sec-ch-ua-platform", "value": "\"Windows\"" }, { "name": "Upgrade-Insecure-Requests", "value": "1" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36" }, { "name": "Accept", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, { "name": "Sec-Fetch-Site", "value": "same-origin" }, { "name": "Sec-Fetch-Mode", "value": "navigate" }, { "name": "Sec-Fetch-User", "value": "?1" }, { "name": "Sec-Fetch-Dest", "value": "document" }, { "name": "Referer", "value": "https://club.fnnas.com/forum.php" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br" }, { "name": "Accept-Language", "value": "zh-CN,zh;q=0.9" } ], "cookies": [], "data": "", "mimeType": "" }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "name": "formhash1", "re": "name=\"formhash\" value=\"(.*?)\"", "from": "content" } ] } }, { "comment": "签到", "request": { "method": "GET", "url": "https://club.fnnas.com/plugin.php?id=zqlj_sign&sign={{formhash1|urlencode}}", "headers": [ { "name": "Host", "value": "club.fnnas.com" }, { "name": "Connection", "value": "keep-alive" }, { "name": "sec-ch-ua", "value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\"" }, { "name": "sec-ch-ua-mobile", "value": "?0" }, { "name": "sec-ch-ua-platform", "value": "\"Windows\"" }, { "name": "Upgrade-Insecure-Requests", "value": "1" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36" }, { "name": "Accept", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, { "name": "Sec-Fetch-Site", "value": "same-origin" }, { "name": "Sec-Fetch-Mode", "value": "navigate" }, { "name": "Sec-Fetch-User", "value": "?1" }, { "name": "Sec-Fetch-Dest", "value": "document" }, { "name": "Referer", "value": "https://club.fnnas.com/plugin.php?id=zqlj_sign" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br" }, { "name": "Accept-Language", "value": "zh-CN,zh;q=0.9" } ], "cookies": [], "data": "", "mimeType": "" }, "rule": { "success_asserts": [ { "re": "200", "from": "status" }, { "re": "您今天已经打过卡了,请勿重复操作!", "from": "content" } ], "failed_asserts": [], "extract_variables": [ { "name": "msg", "re": "
[\\s|\\S]*?

(.*?)