templates/ysqbbs.com.har
github-actions[bot] 779ddee81e
Add HAR: 源社区 (#845)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
2025-01-15 22:55:26 +08:00

897 lines
24 KiB
JSON

[
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{ Domain | default(\"https://ysqbbs.com\") }}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "",
"re": "\"转换后\": \"(.*)\"",
"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": "sid",
"re": "",
"from": "content"
},
{
"name": "doid",
"re": "",
"from": "content"
},
{
"name": "blogid",
"re": "",
"from": "content"
}
]
}
},
{
"comment": "取 formhash",
"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"
}
]
}
},
{
"comment": "签到",
"request": {
"method": "GET",
"url": "{{Domain}}/plugin.php?id=k_misign%3Asign&operation=qiandao&inajax=1&ajaxtarget=JD_sign&formhash={{formhash|urlencode}}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "发起一次分享",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=share&type=thread&id=839&inajax=1",
"headers": [],
"cookies": [],
"data": "sharesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "发起二次分享",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=share&type=thread&id=193&inajax=1",
"headers": [],
"cookies": [],
"data": "sharesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "发起三次分享",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=share&type=thread&id=9&inajax=1",
"headers": [],
"cookies": [],
"data": "sharesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "获取分享 ID",
"request": {
"method": "GET",
"url": "{{Domain}}/home.php?mod=space&do=share&view=me",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "sids",
"re": "/delete.+sid=(\\d+)/g",
"from": "content"
}
]
}
},
{
"comment": "For 循环开始 删除分享",
"request": {
"method": "GET",
"url": "{% for sid in sids %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "删除分享",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=share&op=delete&sid={{sid|urlencode}}&type=&inajax=1",
"headers": [],
"cookies": [],
"data": "deletesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": []
}
},
{
"comment": "For 循环开始 发表记录",
"request": {
"method": "GET",
"url": "{% for value in range(0, 5, 1) %} ",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=doing&view=me",
"headers": [],
"cookies": [],
"data": "message={{date_time(1,1,0)}}&add=&addsubmit=true&topicid=&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "301",
"from": "status"
},
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "获取记录 ID",
"request": {
"method": "GET",
"url": "{{Domain}}/home.php?mod=space&do=doing&view=me&from=space",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "doids",
"re": "/doid=(\\d+)/g",
"from": "content"
}
]
}
},
{
"comment": "For 循环开始 删除记录",
"request": {
"method": "GET",
"url": "{% for doid in doids %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "删除记录",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=doing&op=delete&doid={{doid|urlencode}}",
"headers": [],
"cookies": [],
"data": "handlekey=register&formhash={{formhash}}&deletesubmit=true"
},
"rule": {
"success_asserts": [
{
"re": "302",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环开始 发表日志",
"request": {
"method": "GET",
"url": "{% for value in range(0, 3, 1) %} ",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "发表日志",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=blog&blogid=",
"headers": [
{
"name": "Content-Type",
"value": "multipart/form-data; boundary=---------------------------"
}
],
"cookies": [],
"data": "-----------------------------\nContent-Disposition: form-data; name=\"subject\"\n\n{{date_time(1,1,0)}}\n-----------------------------\nContent-Disposition: form-data; name=\"savealbumid\"\n\n0\n-----------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"view_albumid\"\n\nnone\n-----------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"message\"\n\n{{date_time(1,1,0)}}\n-----------------------------\nContent-Disposition: form-data; name=\"classid\"\n\n0\n-----------------------------\nContent-Disposition: form-data; name=\"tag\"\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"friend\"\n\n3\n-----------------------------\nContent-Disposition: form-data; name=\"blogsubmit\"\n\ntrue\n-----------------------------\nContent-Disposition: form-data; name=\"formhash\"\n\n{{formhash}}\n-------------------------------"
},
"rule": {
"success_asserts": [
{
"re": "301",
"from": "status"
},
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": []
}
},
{
"comment": "获取日志 ID",
"request": {
"method": "GET",
"url": "{{Domain}}/home.php?mod=space&do=blog&view=me&from=space",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "blogids",
"re": "/blog_delete_(\\d+)/g",
"from": "content"
}
]
}
},
{
"comment": "For 循环开始 删除日志",
"request": {
"method": "GET",
"url": "{% for blogid in blogids %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "删除日志",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=blog&op=delete&blogid={{blogid|urlencode}}",
"headers": [],
"cookies": [],
"data": "deletesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "301",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环开始 留言",
"request": {
"method": "GET",
"url": "{% for value in range(0, 20, 1) %} ",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "留言",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=comment&inajax=1",
"headers": [],
"cookies": [],
"data": "message={{date_time(1,1,0)}}&id={{random(1111,6666,0)|urlencode}}&idtype=uid&commentsubmit=true&quickcomment=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "cid",
"re": "cid':'(\\d+)",
"from": "content"
}
]
}
},
{
"comment": "删除留言",
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=comment&op=delete&cid={{cid|urlencode}}&inajax=1",
"headers": [],
"cookies": [],
"data": "deletesubmit=true&formhash={{formhash}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "延时",
"request": {
"method": "GET",
"url": "api://util/delay/8",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": []
}
},
{
"comment": "For 循环开始 打招呼",
"request": {
"method": "GET",
"url": "{% for value in range(0, 12, 1) %} ",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/home.php?mod=spacecp&ac=poke&op=send&uid={{random(1111,6666,0)|urlencode}}&inajax=1",
"headers": [],
"cookies": [],
"data": "pokesubmit=true&formhash={{formhash}}&from=&handlekey=a_poke_{{random(1111,6666,0)|urlencode}}&iconid=0&note="
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "For 循环结束",
"request": {
"method": "GET",
"url": "{% endfor %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"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": "__log__",
"re": "(源币: </em>\\d+)",
"from": "content"
}
]
}
}
]