Update HAR: 色花堂 (#889)

Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-03-08 07:31:42 +08:00 committed by GitHub
parent bc570bd564
commit 790afc4ae5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 89 deletions

View File

@ -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