mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 12:11:52 +00:00
Update HAR: 4KHDR (#433)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
parent
57249aa6e1
commit
1a8bb94504
110
4KHDR.har
110
4KHDR.har
|
@ -1,4 +1,34 @@
|
|||
[
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=invalid"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "s",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
|
@ -45,11 +75,26 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环开始",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% while int(loop_index0) < 10 and s == 'invalid' %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.4khdr.cn/misc.php?mod=seccode&action=update&idhash={{idhash|urlencode}}&{{random(0,1,16)|urlencode}}=&modid=member%3A%3Alogging",
|
||||
"url": "https://www.4khdr.cn/misc.php?mod=seccode&action=update&idhash={{idhash}}&{{random(0,1,16)}}=&modid=member%3A%3Alogging",
|
||||
"headers": [
|
||||
{
|
||||
"name": "User-Agent",
|
||||
|
@ -74,7 +119,7 @@
|
|||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "CaptchaUrl",
|
||||
"name": "sec",
|
||||
"re": "updateseccode.*src=\"(.+?)\"",
|
||||
"from": "content"
|
||||
}
|
||||
|
@ -85,7 +130,7 @@
|
|||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://4khdr.cn/{{CaptchaUrl}}",
|
||||
"url": "https://4khdr.cn/{{sec}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "User-Agent",
|
||||
|
@ -110,7 +155,7 @@
|
|||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "CaptchaBase64",
|
||||
"name": "sec",
|
||||
"re": ".*",
|
||||
"from": "content"
|
||||
}
|
||||
|
@ -129,7 +174,7 @@
|
|||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"img\":\"{{CaptchaBase64}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
|
||||
"data": "{\"img\":\"{{sec}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
|
@ -145,13 +190,62 @@
|
|||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "Captcha",
|
||||
"name": "seccodeverify",
|
||||
"re": "\"Result\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://4khdr.cn/misc.php?mod=seccode&action=check&inajax=1&modid=member%3A%3Alogging&idhash={{idhash}}&secverify={{seccodeverify}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://4khdr.cn/"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "s",
|
||||
"re": "succeed",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endwhile %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
|
@ -172,7 +266,7 @@
|
|||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "formhash={{formhash}}&Referer=https%3A%2F%2F4khdr.cn%2F&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&seccodehash={{idhash}}&seccodemodid=member%3A%3Alogging&seccodeverify={{Captcha}}&cookietime=2592000",
|
||||
"data": "formhash={{formhash}}&Referer=https%3A%2F%2F4khdr.cn%2F&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&seccodehash={{idhash}}&seccodemodid=member%3A%3Alogging&seccodeverify={{seccodeverify}}&cookietime=2592000",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
|
@ -256,7 +350,7 @@
|
|||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://4khdr.cn/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&format=empty&inajax=1&ajaxtarget=",
|
||||
"url": "https://4khdr.cn/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash}}&format=empty&inajax=1&ajaxtarget=",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Referer",
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user