qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.09k stars 294 forks source link

飞牛私有云论坛 评论区 #733

Open loveyanglove opened 2 months ago

loveyanglove commented 2 months ago

HAR 模板名称

飞牛私有云论坛

作者信息

loveyanglove

模板备注及说明

账号密码登录签到

HAR 文件名

飞牛私有云论坛.har

其他信息

No response

HAR 模板内容

[{"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":"<div id=\"messagetext\" class=\"alert_info\">[\\s|\\S]*?<p>(.*?)<script type=\"text/javascript\" reload=\"1\">","from":"content"},{"name":"msg1","re":"<div id=\"messagetext\" class=\"alert_error\">[\\s|\\S]*?<p>(.*?)</p>","from":"content"}]}},{"comment":"签到页","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":"zjdk","re":"<li>最近打卡:(.+)</li>","from":"content"},{"name":"bydk","re":"<li>本月打卡:(\\d+)","from":"content"},{"name":"lxdk","re":"<li>连续打卡:(\\d+)","from":"content"},{"name":"ljdk","re":"<li>累计打卡:(\\d+)","from":"content"},{"name":"dkdj","re":"<li>当前打卡等级:(.+)</li>","from":"content"}]}},{"comment":"积分页","request":{"method":"GET","url":"https://club.fnnas.com/home.php?mod=spacecp&ac=credit&showcredit=1","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":"none"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"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":[{"re":"您需要先登录才能继续本操作","from":"content"}],"extract_variables":[{"name":"fnb","re":"<em> 飞牛币: </em>(\\d+)","from":"content"},{"name":"dlts","re":"<li><em> 登陆天数: </em>(\\d+)","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=签到状态:【{{msg}} {{msg1}}】\\r\\n飞牛币:【{{fnb}}】,登录天数:【{{dlts}}】\\r\\n最近打卡:【{{zjdk}}】,\\r\\n本月打卡:【{{bydk}}】天,连续打卡:【{{lxdk}}】天,累计打卡:【{{ljdk}}】天,\\r\\n当前打卡等级:【{{dkdj}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
Melody-Test commented 2 months ago

刚想问问 没想到真有了 谢谢大佬

yalidabuda commented 2 months ago

我这提示运行成功,但是实际没有签到😂 image

Melody-Test commented 2 months ago

我这提示运行成功,但是实际没有签到😂 image

我也一样 自动签到是这样 手动执行也不行

Wxlcs commented 1 month ago

希望作者修一修,显示成功实际上没有成功,信息也显示不出来