diff --git a/404ba.har b/404ba.har new file mode 100644 index 0000000..f94b859 --- /dev/null +++ b/404ba.har @@ -0,0 +1,196 @@ +[ + { + "request": { + "method": "GET", + "url": "https://www.404ba.org/misc.php?mod=seccode", + "headers": [ + { + "name": "Referer", + "value": "https://www.404ba.org" + } + ], + "cookies": [], + "data": "" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "sec", + "re": ".+", + "from": "content" + } + ] + } + }, + { + "comment": "OCR识别", + "request": { + "method": "POST", + "url": "api://util/dddd/ocr", + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "cookies": [], + "data": "{\"img\":\"{{sec}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + }, + { + "re": "\"状态\": \"OK\"", + "from": "content" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "sec", + "re": "\"Result\": \"(.*)\"", + "from": "content" + } + ] + } + }, + { + "comment": "", + "request": { + "method": "POST", + "url": "https://www.404ba.org/member.php?mod=logging&action=login&loginsubmit=yes&inajax=1", + "headers": [], + "cookies": [], + "data": "username={{username}}&password={{password}}&seccodeverify={{sec}}" + }, + "rule": { + "success_asserts": [ + { + "re": "欢迎您", + "from": "content" + } + ], + "failed_asserts": [], + "extract_variables": [] + } + }, + { + "request": { + "method": "GET", + "url": "https://www.404ba.org/dsu_paulsign-sign.html", + "headers": [], + "cookies": [], + "data": "" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "formhash", + "re": "formhash=(\\w+)", + "from": "content" + } + ] + } + }, + { + "request": { + "method": "POST", + "url": "https://www.404ba.org/plugin.php?id=dsu_paulsign%3Asign&operation=qiandao&infloat=1&inajax=1", + "headers": [], + "cookies": [], + "data": "formhash={{formhash}}&qdxq=wl&qdmode=3&todaysay=&fastreply=0" + }, + "rule": { + "success_asserts": [ + { + "re": "签到成功", + "from": "content" + }, + { + "re": "已经签到", + "from": "content" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "c", + "re": "(签到成功!.+)<", + "from": "content" + } + ] + } + }, + { + "request": { + "method": "GET", + "url": "https://www.404ba.org/dsu_paulsign-sign.html", + "headers": [], + "cookies": [], + "data": "" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "q", + "re": "(您今天已经[\\s\\S]+)签到排行榜", + "from": "content" + } + ] + } + }, + { + "comment": "Unicode转换", + "request": { + "method": "POST", + "url": "api://util/unicode", + "headers": [], + "cookies": [], + "data": "html_unescape=false&content={{q | striptags}}" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + }, + { + "re": "\"状态\": \"200\"", + "from": "content" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "__log__", + "re": "\"转换后\": \"(.*)\"", + "from": "content" + } + ] + } + } +] \ No newline at end of file diff --git a/tpls_history.json b/tpls_history.json index 69384d3..ec6fb88 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -3576,6 +3576,18 @@ "date": "2024-09-22 09:43:04", "version": "20240922", "commenturl": "https://github.com/qd-today/templates/issues/733" + }, + "404ba.har": { + "name": "404ba.har", + "author": "NSFW", + "url": "https://raw.githubusercontent.com/qd-today/templates/master/404ba.har", + "update": false, + "comments": "暂无", + "filename": "404ba.har", + "content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly93d3cuNDA0YmEub3JnL21pc2MucGhwP21vZD1zZWNjb2RlIiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIlJlZmVyZXIiLCAidmFsdWUiOiAiaHR0cHM6Ly93d3cuNDA0YmEub3JnIn1dLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICIifSwgInJ1bGUiOiB7InN1Y2Nl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IiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=", + "date": "2024-09-23 08:30:34", + "version": "20240923", + "commenturl": "https://github.com/qd-today/templates/issues/737" } } } \ No newline at end of file