Add HAR: 尚香书苑 sxsy.org (#812)

Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-12-06 08:13:16 +08:00 committed by GitHub
parent 3207eecaa7
commit ad67a4a6b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 9 deletions

View File

@ -2,7 +2,7 @@
{
"request": {
"method": "GET",
"url": "{{ Domain | default(\"https://sxsy.org/\") }}",
"url": "https://sxsy.org/",
"headers": [],
"cookies": [],
"data": ""
@ -20,6 +20,11 @@
"name": "Domain",
"re": "href=\"(.+)\"",
"from": "content"
},
{
"name": "idhash",
"re": "",
"from": "content"
}
]
}
@ -57,10 +62,10 @@
{
"request": {
"method": "POST",
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&password={{password}}"
"data": "username={{username}}&seccodehash={{idhash}}&password={{password}}"
},
"rule": {
"success_asserts": [
@ -82,7 +87,32 @@
{
"request": {
"method": "GET",
"url": "{{Domain}}/misc.php?mod=seccode",
"url": "{{Domain}}/member.php?mod=logging&action=login&inajax=1",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "idhash",
"re": "seccode_(\\w+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "{{Domain}}/misc.php?mod=seccode&idhash={{idhash|urlencode}}",
"headers": [
{
"name": "Referer",
@ -150,7 +180,7 @@
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&inajax=1",
"headers": [],
"cookies": [],
"data": "auth={{auth}}&seccodeverify={{seccode}}"
"data": "auth={{auth}}&seccodehash={{idhash}}&seccodeverify={{seccode}}"
},
"rule": {
"success_asserts": [

File diff suppressed because one or more lines are too long