From d572c34ced87123367d647491bedd93bcf5e266f Mon Sep 17 00:00:00 2001 From: loveqianool Date: Thu, 5 Dec 2024 23:19:00 +0800 Subject: [PATCH] =?UTF-8?q?Add=20HAR:=20=E5=A5=B6=E5=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- naiquan.har | 135 ++++++++++++++++++++++++++++++++++++++++++++++ tpls_history.json | 12 +++++ 2 files changed, 147 insertions(+) create mode 100644 naiquan.har diff --git a/naiquan.har b/naiquan.har new file mode 100644 index 0000000000..8b40c2445b --- /dev/null +++ b/naiquan.har @@ -0,0 +1,135 @@ +[ + { + "request": { + "method": "GET", + "url": "https://naiq.cc/", + "headers": [], + "cookies": [], + "data": "" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "Domain", + "re": "href=\"(http.+?)\"", + "from": "content" + } + ] + } + }, + { + "request": { + "method": "POST", + "url": "{{Domain}}/wp-admin/admin-ajax.php", + "headers": [ + { + "name": "User-Agent", + "value": "{{UA | default(\"Mozilla/5.0 (Android 14; Mobile; rv:130.0) Gecko/130.0 Firefox/133.0\") }}" + } + ], + "cookies": [], + "data": "username={{username}}&password={{password}}&remember=forever&action=user_signin" + }, + "rule": { + "success_asserts": [ + { + "re": "\\\\u6210\\\\u529f\\\\u767b\\\\u5f55", + "from": "content" + } + ], + "failed_asserts": [], + "extract_variables": [] + } + }, + { + "request": { + "method": "POST", + "url": "{{Domain}}/wp-admin/admin-ajax.php", + "headers": [ + { + "name": "User-Agent", + "value": "{{UA}}" + } + ], + "cookies": [], + "data": "action=user_checkin" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [] + } + }, + { + "request": { + "method": "GET", + "url": "{{Domain}}/wp-admin/admin-ajax.php?action=checkin_details_modal", + "headers": [ + { + "name": "User-Agent", + "value": "{{UA}}" + } + ], + "cookies": [], + "data": "" + }, + "rule": { + "success_asserts": [ + { + "re": "200", + "from": "status" + } + ], + "failed_asserts": [], + "extract_variables": [ + { + "name": "__log__", + "re": "[\\s\\S]+", + "from": "content" + } + ] + } + }, + { + "comment": "Unicode转换", + "request": { + "method": "POST", + "url": "api://util/unicode", + "headers": [], + "cookies": [], + "data": "html_unescape=false&content={{__log__ | 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 ea4d9a3f4c..4dd0361698 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -3792,6 +3792,18 @@ "date": "2024-12-01 12:04:49", "version": "20241201", "commenturl": "https://github.com/qd-today/templates/issues/810" + }, + "奶圈": { + "name": "奶圈", + "author": "NSFW", + "url": "https://raw.githubusercontent.com/qd-today/templates/master/naiquan.har", + "update": false, + "comments": "https://naiq.cc/
账户内密码", + "filename": "naiquan.har", + "content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly9uYWlxLmNjLyIsICJoZWFkZXJzIjogW10sICJjb29raWVzIjogW10sICJkYXRhIjogIiJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiMjAwIiwgImZyb20iOiAic3RhdHVzIn1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJEb21haW4iLCAicmUiOiAiaHJlZj1cIihodHRwLis/KVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19LCB7InJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJ7e0RvbWFpbn19L3dwLWFkbWluL2FkbWluLWFqYXgucGhwIiwg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ItQWdlbnQiLCAidmFsdWUiOiAie3tVQX19In1dLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICIifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICJbXFxzXFxTXSsiLCAiZnJvbSI6ICJjb250ZW50In1dfX0sIHsiY29tbWVudCI6ICJVbmljb2Rl6L2s5o2iIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3VuaWNvZGUiLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJodG1sX3VuZXNjYXBlPWZhbHNlJmNvbnRlbnQ9e3tfX2xvZ19fIHwgc3RyaXB0YWdzfX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==", + "date": "2024-12-05 23:19:00", + "version": "20241205", + "commenturl": "https://github.com/qd-today/templates/issues/813" } } } \ No newline at end of file