templates/sxsy.org.har
github-actions[bot] ad67a4a6b7
Add HAR: 尚香书苑 sxsy.org (#812)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
2024-12-06 08:13:16 +08:00

305 lines
8.2 KiB
JSON

[
{
"request": {
"method": "GET",
"url": "https://sxsy.org/",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "Domain",
"re": "href=\"(.+)\"",
"from": "content"
},
{
"name": "idhash",
"re": "",
"from": "content"
}
]
}
},
{
"comment": "字符串替换",
"request": {
"method": "POST",
"url": "api://util/string/replace",
"headers": [],
"cookies": [],
"data": "r=json&p=/forum.php&s={{Domain}}&t="
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "Domain",
"re": "\"处理后字符串\": \"(.*)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&seccodehash={{idhash}}&password={{password}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "auth",
"re": "auth=(.+)&referer",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"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",
"value": "{{Domain}}"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "seccode",
"re": ".+",
"from": "content"
}
]
}
},
{
"comment": "OCR识别",
"request": {
"method": "POST",
"url": "api://util/dddd/ocr",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"cookies": [],
"data": "{\"img\":\"{{seccode}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "seccode",
"re": "\"Result\": \"(.*)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&inajax=1",
"headers": [],
"cookies": [],
"data": "auth={{auth}}&seccodehash={{idhash}}&seccodeverify={{seccode}}"
},
"rule": {
"success_asserts": [
{
"re": "欢迎您",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "{{Domain}}/plugin.php?id=k_misign%3Asign",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "formhash",
"re": "formhash=(\\w+)",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "{{Domain}}/plugin.php?id=k_misign%3Asign&operation=qiandao&format=global_usernav_extra&formhash={{formhash|urlencode}}&inajax=1&ajaxtarget=k_misign_topb",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "{{Domain}}/home.php?mod=spacecp&ac=credit&showcredit=1",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "username",
"re": "访问我的空间\">(loveqianool)<",
"from": "content"
},
{
"name": "jf",
"re": "(金钱:[\\s\\S]+)总积分",
"from": "content"
},
{
"name": "usergroup",
"re": "(用户组: .+)<",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=用户名: {{username}} {{usergroup}} {{jf | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]