mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 20:23:05 +00:00
339 lines
9.0 KiB
JSON
339 lines
9.0 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=\"(https://.+?\\/)",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "idhash",
|
|
"re": "",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{{Domain}}",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "301",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "Domain",
|
|
"re": ".+",
|
|
"from": "header-location"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "s",
|
|
"re": "",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "While 循环开始",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{% while int(loop_index0) < 66 and s != 'succeed' %}",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": [],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"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": [
|
|
{
|
|
"name": "s",
|
|
"re": "succeed",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "While 循环结束",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{% endwhile %}",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": []
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |