mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 22:31:32 +00:00
556 lines
17 KiB
JSON
556 lines
17 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://www.rrcg.cn/member.php?mod=logging&action=login",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "While 循环开始",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "{% while int(loop_index0) < 20 and s == 'invalid' %}",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [],
|
||
"failed_asserts": [],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/misc.php?mod=seccode&action=update&idhash=cS&{{random(0,1,16)}}=&modid=member%3A%3Alogging",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.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": "<img.*updateseccode.*src=\"(.+?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/{{sec}}",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.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\"}"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"OK\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "seccodeverify",
|
||
"re": "\"Result\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/misc.php?mod=seccode&action=check&inajax=1&modid=member%3A%3Alogging&idhash=cS&secverify={{seccodeverify}}",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"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": [],
|
||
"failed_asserts": [],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.rrcg.cn/plugin.php?id=jzsjiale_sms%3Ahomesms&act=phonemimalogin&loginsubmit=yes&inajax=1",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.cn/member.php?mod=logging&action=login"
|
||
},
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "formhash={{formhash}}&referer=https%3A%2F%2Fwww.rrcg.cn%2F&phone_login={{username|urlencode}}&phone_password={{password|urlencode}}&questionid=0&answer=&seccodehash=cS&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"
|
||
},
|
||
{
|
||
"re": "您的登录密码不正确",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "手机号格式不正确",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "您输入的图形验证码不正确",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/plugin.php?id=k_misign%3Asign",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash}}&format=empty&inajax=1&ajaxtarget=",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.cn/member.php?mod=logging&action=login"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "您当前的访问请求当中含有非法字符,已经被系统拒绝",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"re": "抱歉",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/plugin.php?id=k_misign%3Asign",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.cn/"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "lxdays",
|
||
"re": "id=\"lxdays\" value=\"(\\d+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "lxlevel",
|
||
"re": "id=\"lxlevel\" value=\"(\\d+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "lxreward",
|
||
"re": "id=\"lxreward\" value=\"(\\d+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "lxtdays",
|
||
"re": "id=\"lxtdays\" value=\"(\\d+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "qiandaobtnnum",
|
||
"re": "id=\"qiandaobtnnum\" value=\"(\\d+)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "name",
|
||
"re": "title=\"访问我的空间\">(.+)</a>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "uid",
|
||
"re": "discuz_uid = '(\\d+)'",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.rrcg.cn/space-uid-{{uid}}.html",
|
||
"headers": [
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.rrcg.cn"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.rrcg.cn/"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "cgb",
|
||
"re": "CG币</em>(.+)</li>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "hlz",
|
||
"re": "活力值</em>(.+)</li>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "slzs",
|
||
"re": "善灵指数</em>(.+)</li>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "yhz",
|
||
"re": "target=\"_blank\"><font color=\".*\">(.+)</font>",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "tip",
|
||
"re": "tip=\"(.+?)\">",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "content={{name}},你已连续签到 {{lxdays}} 天\\r\\n 签到排名:{{qiandaobtnnum}},签到等级:Lv.{{lxlevel}}\\r\\n 积分奖励:{{lxreward}},总天数:{{lxtdays}}\\r\\n CG币:{{cgb}},活力值:{{hlz}},善灵指数:{{slzs}}\\r\\n 用户组:{{yhz}},{{tip}}"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "__log__",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
] |