templates/9DM玖大猫.har
github-actions[bot] b3588aeb17
Update HAR: 9DM玖大猫 (#376)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
2023-06-27 16:05:05 +08:00

848 lines
27 KiB
JSON

[
{
"comment": "获取 loginhash formhash",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/member.php?mod=logging&action=login",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "loginhash",
"re": "loginhash=(.+)\"",
"from": "content"
},
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
},
{
"name": "idhash",
"re": "seccode_(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/misc.php?mod=seccode&action=update&idhash={{idhash}}&{{random(0,1,16)}}=&modid=member::logging",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/member.php?mod=logging&action=login"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "CaptchaUrl",
"re": "updateseccode.*src=\"(.+?)\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/{{CaptchaUrl}}",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/member.php?mod=logging&action=login"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "CaptchaBase64",
"re": ".*",
"from": "content"
}
]
}
},
{
"comment": "OCR识别",
"request": {
"method": "POST",
"url": "api://util/dddd/ocr",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"cookies": [],
"data": "{\"img\":\"{{CaptchaBase64}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "Captcha",
"re": "\"Result\": \"(.*)\"",
"from": "content"
}
]
}
},
{
"comment": "登录",
"request": {
"method": "POST",
"url": "http://www.9damaogames.com/member.php?mod=logging&action=login&loginsubmit=yes&loginhash={{loginhash}}&inajax=1",
"headers": [
{
"name": "Origin",
"value": "http://www.9damaogames.com"
},
{
"name": "Referer",
"value": "http://www.9damaogames.com/member.php?mod=logging&action=login"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": "formhash={{formhash}}&referer=http%3A%2F%2Fwww.9damaogames.com%2F&loginfield=email&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&seccodehash={{idhash}}&seccodemodid=member%3A%3Alogging&seccodeverify={{Captcha}}&cookietime=2592000",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "欢迎您回来",
"from": "content"
}
],
"failed_asserts": [
{
"re": "登录失败",
"from": "content"
},
{
"re": "验证码填写错误",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "首页",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "name",
"re": "<strong>(.*)</strong>",
"from": "content"
},
{
"name": "uid",
"re": "discuz_uid = '(.*?)'",
"from": "content"
}
]
}
},
{
"comment": "返回当前时间戳和时间",
"request": {
"method": "GET",
"url": "api://util/timestamp",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "posttime",
"re": "\"时间戳\": (\\d+)",
"from": "content"
}
]
}
},
{
"comment": "论坛帖子类任务领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=apply&id=4",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=4"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "任务申请成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "论坛签到任务领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=apply&id=7",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=7"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "任务申请成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "进行 论坛签到任务",
"request": {
"method": "POST",
"url": "http://www.9damaogames.com/forum.php?mod=post&action=reply&fid=591&tid=253827&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1",
"headers": [
{
"name": "Origin",
"value": "http://www.9damaogames.com"
},
{
"name": "Referer",
"value": "http://www.9damaogames.com/thread-253827-1-1.html"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": "message=666666&file=&posttime={{posttime}}&formhash={{formhash}}&usesig=&subject=%20%20",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "非常感谢,回复发布成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "表单验证串不符",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "论坛帖子类任务奖励领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=draw&id=4",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=4"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "恭喜您,任务已成功完成",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "论坛签到任务奖励领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=draw&id=7",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=7"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "恭喜您,任务已成功完成",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "延时16秒",
"request": {
"method": "GET",
"url": "api://util/delay/16",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "晒妹视频区回帖任务领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=apply&id=13",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=13"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "任务申请成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "进行晒妹视频区回帖任务",
"request": {
"method": "POST",
"url": "http://www.9damaogames.com/forum.php?mod=post&action=reply&fid=76&tid=21247&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1",
"headers": [
{
"name": "Origin",
"value": "http://www.9damaogames.com"
},
{
"name": "Referer",
"value": "http://www.9damaogames.com/thread-21247-1-1.html"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": "message=666666&file=&posttime={{posttime}}&formhash={{formhash}}&usesig=&subject=%20%20",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "非常感谢,回复发布成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "表单验证串不符",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "晒妹视频区回帖任务奖励领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=draw&id=13",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=13"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "恭喜您,任务已成功完成",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "延时16秒",
"request": {
"method": "GET",
"url": "api://util/delay/16",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "每月工资任务领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=apply&id=46",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=46"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "恭喜您,任务已成功完成",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "进行每月工资任务",
"request": {
"method": "POST",
"url": "http://www.9damaogames.com/forum.php?mod=post&action=reply&fid=462&tid=155106&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1",
"headers": [
{
"name": "Origin",
"value": "http://www.9damaogames.com"
},
{
"name": "Referer",
"value": "http://www.9damaogames.com/thread-155106-1-1.html"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": "message=666666&file=&posttime={{posttime}}&formhash={{formhash}}&usesig=&subject=%20%20",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "非常感谢,回复发布成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "表单验证串不符",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "每月工资任务奖励领取",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=task&do=draw&id=46",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=task&do=view&id=46"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "任务申请成功",
"from": "content"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "统计信息",
"request": {
"method": "GET",
"url": "http://www.9damaogames.com/home.php?mod=space&uid={{uid|urlencode}}&do=profile",
"headers": [
{
"name": "Referer",
"value": "http://www.9damaogames.com/home.php?mod=space"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "jf",
"re": "tip=\"积分 (.*)\"><a",
"from": "content"
},
{
"name": "gx",
"re": "贡献</em>(\\d+)",
"from": "content"
},
{
"name": "jy",
"re": "金元</em>(\\d+)",
"from": "content"
},
{
"name": "dz",
"re": "点赞</em>(\\d+)",
"from": "content"
},
{
"name": "mb",
"re": "猫币</em>(\\d+)",
"from": "content"
},
{
"name": "yhz",
"re": "<font color=\".*\">(.*)</font>",
"from": "content"
}
]
}
},
{
"comment": "输出日志",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "content={{name}},恭喜你签到成功\\r\\n 用户组:{{yhz}}\\r\\n 积分:{{jf}}\\r\\n 贡献:{{gx}}\\r\\n 金元:{{jy}}\\r\\n 点赞:{{dz}}\\r\\n 猫币:{{mb}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]