Skip to content

Commit

Permalink
Add HAR: 尚香书苑 sxsy.org (#711)
Browse files Browse the repository at this point in the history
Co-authored-by: loveqianool <[email protected]>
  • Loading branch information
github-actions[bot] and loveqianool authored Aug 18, 2024
1 parent 19adb8a commit da19df6
Show file tree
Hide file tree
Showing 2 changed files with 257 additions and 0 deletions.
245 changes: 245 additions & 0 deletions sxsy.org.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
[
{
"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"
}
]
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&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}}/misc.php?mod=seccode",
"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}}&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"
}
]
}
}
]
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -3504,6 +3504,18 @@
"date": "2024-08-01 07:15:49",
"version": "20240801",
"commenturl": "https://github.com/qd-today/templates/issues/703"
},
"尚香书苑_sxsy.org": {
"name": "尚香书苑_sxsy.org",
"author": "NSFW",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/sxsy.org.har",
"update": false,
"comments": "",
"filename": "sxsy.org.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly9zeHN5Lm9yZy8iLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICIifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiRG9tYWluIiwgInJlIjogImhyZWY9JyguKyknXCI+6L+b5YWl6K665Z2bIiwgImZyb20iOiAiY29udGVudCJ9XX19LCB7InJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJ7e0RvbWFpbn19L21lbWJlci5waHA/bW9kPWxvZ2dpbmcmYWN0aW9uPWxvZ2luJmxvZ2luc3VibWl0PXllcyZpbmZsb2F0PXllcyZsc3N1Ym1pdD15ZXMmaW5hamF4PTEiLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJ1c2VybmFtZT17e3VzZXJuYW1lfX0mcGFzc3dvcmQ9e3twYXNzd29yZH19In0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbeyJyZSI6ICIyMDAiLCAiZnJvbSI6ICJzdGF0dXMifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBb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BlPWZhbHNlJmNvbnRlbnQ955So5oi35ZCNOiB7e3VzZXJuYW1lfX0ge3t1c2VyZ3JvdXB9fSB7e2pmIHwgc3RyaXB0YWdzfX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2024-08-04 00:06:17",
"version": "20240804",
"commenturl": "https://github.com/qd-today/templates/issues/710"
}
}
}

0 comments on commit da19df6

Please sign in to comment.