mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
409 lines
12 KiB
JSON
409 lines
12 KiB
JSON
[
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "html_unescape=false&content=invalid"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "s",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://4khdr.cn/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "formhash",
|
||
"re": "name=\"formhash\" value=\"(.+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "idhash",
|
||
"re": "seccode_(.+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "loginhash",
|
||
"re": "loginhash=(.+)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "While 循环开始",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "{% while int(loop_index0) < 10 and s == \"invalid\" %}",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [],
|
||
"failed_asserts": [],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.4khdr.cn/misc.php?mod=seccode&action=update&idhash={{idhash}}&{{random(0,1,16)}}=&modid=member%3A%3Alogging",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/member.php?mod=logging&action=login"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "sec",
|
||
"re": "updateseccode.*src=\"(.+?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://4khdr.cn/{{sec}}",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/member.php?mod=logging&action=login"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "sec",
|
||
"re": ".*",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "OCR识别",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/dddd/ocr",
|
||
"headers": [
|
||
{
|
||
"name": "Content-Type",
|
||
"value": "application/json"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "{\"img\":\"{{sec}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"OK\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "seccodeverify",
|
||
"re": "\"Result\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://4khdr.cn/misc.php?mod=seccode&action=check&inajax=1&modid=member%3A%3Alogging&idhash={{idhash}}&secverify={{seccodeverify}}",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "s",
|
||
"re": "succeed",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "While 循环结束",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "{% endwhile %}",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://4khdr.cn/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash}}&inajax=1",
|
||
"headers": [
|
||
{
|
||
"name": "Origin",
|
||
"value": "https://4khdr.cn"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/member.php?mod=logging&action=login"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "formhash={{formhash}}&Referer=https%3A%2F%2F4khdr.cn%2F&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&seccodehash={{idhash}}&seccodemodid=member%3A%3Alogging&seccodeverify={{seccodeverify}}&cookietime=2592000",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "您当前的访问请求当中含有非法字符,已经被系统拒绝",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "登录失败",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "抱歉,验证码填写错误",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "抱歉,密码空或包含非法字符",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "uid",
|
||
"re": "'uid':'(\\d+)'",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://4khdr.cn/space-uid-{{uid}}.html",
|
||
"headers": [
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://4khdr.cn/"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4636.4 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "立即注册",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "请先登录后才能继续浏览",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "yhz",
|
||
"re": "target=\"_blank\">(.*)</a></span>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "sj",
|
||
"re": "tip=\"(.*?)\">",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "jf",
|
||
"re": "积分</em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "ww",
|
||
"re": "威望</em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "jq",
|
||
"re": "金钱</em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "gx",
|
||
"re": "贡献</em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "name",
|
||
"re": "title=\"访问我的空间\">(.+?)<",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "content=用户名:{{name}}\\r\\n 金钱:{{jq}},威望:{{ww}},贡献:{{gx}}\\r\\n 用户组:{{yhz}},{{sj}}"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "__log__",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
] |