mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Update HAR: 色花堂 (#889)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
parent
bc570bd564
commit
790afc4ae5
|
@ -1,81 +1,12 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{ Domain | default(\"https://sehuatang.org\") }}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "_safe="
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "safeid",
|
||||
"re": "'\\w{16}'",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "字符串替换",
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/string/replace",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "r=json&p='&s={{safeid}}&t="
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"OK\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "safeid",
|
||||
"re": "\"处理后字符串\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{ Domain | default(\"https://sehuatang.org\") }}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "_safe={{safeid}}"
|
||||
}
|
||||
],
|
||||
"cookies": [
|
||||
{
|
||||
"name": "_safe",
|
||||
"value": "{{safeid}}"
|
||||
}
|
||||
],
|
||||
"data": ""
|
||||
"data": "html_unescape=false&content={{ Domain | default(\"https://sehuatang.org\") }}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
|
@ -89,12 +20,12 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{Domain}}/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1",
|
||||
"url": "{{Domain}}",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
|
@ -106,13 +37,8 @@
|
|||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "loginhash",
|
||||
"re": "loginhash=(\\w+)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "formhash",
|
||||
"re": "formhash\" value=\"(\\w+)\"",
|
||||
"name": "safeid",
|
||||
"re": "safeid='(\\w+)'",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
|
@ -122,7 +48,12 @@
|
|||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://2fa.run/2fa/{{totp}}",
|
||||
"headers": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "_safe={{safeid}}"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
|
@ -147,10 +78,10 @@
|
|||
"comment": "登录",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&loginhash={{loginhash|urlencode}}&inajax=1",
|
||||
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&inajax=1",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "formhash={{formhash|urlencode}}&username={{username|urlencode}}&password={{password|urlencode}}&gacode={{totp|urlencode}}",
|
||||
"data": "username={{username|urlencode}}&password={{password|urlencode}}&gacode={{totp|urlencode}}&questionid={{questionid}}&answer={{answer}}",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user