forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 3
/
老王论坛.har
1 lines (1 loc) · 11.3 KB
/
老王论坛.har
1
[{"request":{"method":"GET","url":"https://laowang.vip/plugin.php?id=k_misign%3Asign","headers":[{"name":"Host","value":"laowang.vip"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"免费注册","from":"content"}],"extract_variables":[{"name":"formhash","re":"formhash=(.+?)&","from":"content"},{"name":"flag","re":"您今天还没有签到","from":"content"}]}},{"comment":"检查登录状态","request":{"method":"GET","url":"https://laowang.vip/home.php?mod=space&do=thread&view=me","headers":[{"name":"Host","value":"laowang.vip"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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-Dest","value":"document"},{"name":"Referer","value":"https://laowang.vip/member.php?mod=logging&action=logout&formhash=28ed610e"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"请先登录后才能继续浏览","from":"content"}],"extract_variables":[]}},{"comment":"判断条件成立","request":{"method":"GET","url":"{% if flag %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://laowang.vip/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&format=empty","headers":[{"name":"Host","value":"laowang.vip"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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://laowang.vip/plugin.php?id=k_misign:sign"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"调用 yescaptcha 创建识别任务","request":{"method":"POST","url":"https://api.yescaptcha.com/createTask","headers":[{"name":"Content-Type","value":"application/json"}],"cookies":[],"data":"{\n \"clientKey\": \"{{YesClientKey}}\",\n \"task\": {\n \"websiteURL\": \"https://laowang.recaptcha.vip/\",\n \"websiteKey\": \"6LdONL8aAAAAADzHPefXGkTtIJyTZZfR6EPmiG97\",\n \"type\": \"NoCaptchaTaskProxyless\"\n }\n}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"errorId\":0","from":"content"}],"failed_asserts":[{"re":"\"errorId\":1","from":"content"}],"extract_variables":[{"name":"taskId","re":"\"taskId\":\"(.+?)\"","from":"content"}]}},{"comment":"延时60秒","request":{"method":"GET","url":"api://util/delay/10","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"调用 yescaptcha 获取识别结果","request":{"method":"POST","url":"https://api.yescaptcha.com/getTaskResult","headers":[{"name":"Content-Type","value":"application/json"}],"cookies":[],"data":"{\n \"clientKey\":\"{{YesClientKey}}\",\n \"taskId\": \"{{taskId}}\"\n}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"errorId\":0","from":"content"}],"failed_asserts":[{"re":"\"errorId\":1","from":"content"}],"extract_variables":[{"name":"token","re":"\"gRecaptchaResponse\":\"(.+?)\"","from":"content"},{"name":"status","re":"\"status\":\"(.+?)\"","from":"content"}]}},{"comment":"While 循环开始","request":{"method":"GET","url":"{% while int(loop_index) < 15 and status == \"processing\" %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时10秒","request":{"method":"GET","url":"api://util/delay/10","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"调用 yescaptcha 获取识别结果","request":{"method":"POST","url":"https://api.yescaptcha.com/getTaskResult","headers":[{"name":"Content-Type","value":"application/json"}],"cookies":[],"data":"{\n \"clientKey\":\"{{YesClientKey}}\",\n \"taskId\": \"{{taskId}}\"\n}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"errorId\":0","from":"content"}],"failed_asserts":[{"re":"\"errorId\":1","from":"content"}],"extract_variables":[{"name":"token","re":"\"gRecaptchaResponse\":\"(.+?)\"","from":"content"},{"name":"status","re":"\"status\":\"(.+?)\"","from":"content"}]}},{"comment":"While 循环结束","request":{"method":"GET","url":"{% endwhile %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"While循环次数提取","request":{"method":"POST","url":"api://util/regex","headers":[],"cookies":[],"data":"p=(.+?)&data={{loop_index}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"loop_num","re":"\"1\": \"(.*)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://laowang.vip/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&format=empty","headers":[{"name":"Host","value":"laowang.vip"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://laowang.vip"},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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://laowang.vip/plugin.php?id=k_misign:sign&operation=qiandao&formhash=9ad301a6&format=empty"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"v2_google_recaptcha={{token|urlencode}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"302","from":"status"},{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"判断块结束","request":{"method":"GET","url":"{% endif %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[]}},{"comment":"判断签到成功+获取积分","request":{"method":"GET","url":"https://laowang.vip/plugin.php?id=k_misign%3Asign","headers":[{"name":"Host","value":"laowang.vip"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"您今天还没有签到","from":"content"}],"extract_variables":[{"name":"log_days","re":"id=\"lxdays\" value=\"(.+?)\"","from":"content"},{"name":"log_level","re":"id=\"lxlevel\" value=\"(.+?)\"","from":"content"},{"name":"log_value","re":"id=\"lxreward\" value=\"(.+?)\"","from":"content"},{"name":"log_all","re":"id=\"lxtdays\" value=\"(.+?)\"","from":"content"}]}},{"comment":"生成日志","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content=连续签到: {{log_days}} 天 , 签到等级: {{log_level}} , 积分奖励: {{log_value}} , 总天数: {{log_all}} 天 , 本次打码任务花费了 {{loop_num}}0 秒"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]