Add HAR: NeoACG (#493)

Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2023-12-05 01:02:08 +08:00 committed by GitHub
parent 10979fe402
commit e4082b4084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 494 additions and 0 deletions

482
NeoACG.har Normal file
View File

@ -0,0 +1,482 @@
[
{
"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://neoacg.com/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://neoacg.com/"
}
],
"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) < 15 and s == \"invalid\" %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://www.neoacg.com/misc.php?mod=seccode&action=update&idhash={{idhash}}&{{random(0,1,16)}}=&modid=member::logging",
"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://neoacg.com/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://neoacg.com/{{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://neoacg.com/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://neoacg.com/misc.php?mod=seccode&action=check&inajax=1&modid=member::logging&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://neoacg.com/"
}
],
"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://neoacg.com/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash}}&inajax=1",
"headers": [
{
"name": "Origin",
"value": "https://neoacg.com"
},
{
"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://neoacg.com/member.php?mod=logging&action=login"
}
],
"cookies": [],
"data": "formhash={{formhash}}&Referer=https%3A%2F%2Fneoacg.com%2F&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&seccodehash={{idhash}}&seccodemodid=member%3A%3Alogging&seccodeverify={{seccodeverify}}",
"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": "name",
"re": "'username':'(.+?)'",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://neoacg.com/plugin.php?id=dsu_paulsign:sign",
"headers": [
{
"name": "Referer",
"value": "https://neoacg.com/"
},
{
"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"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "POST",
"url": "https://neoacg.com/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1&inajax=1",
"headers": [
{
"name": "Referer",
"value": "https://neoacg.com/plugin.php?id=dsu_paulsign:sign"
},
{
"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": [],
"data": "formhash={{formhash}}&qdxq=yl&qdmode=3&todaysay=&fastreply=0"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "您所在用户组不允许使用",
"from": "content"
},
{
"re": "您当前的访问请求当中含有非法字符,已经被系统拒绝",
"from": "content"
},
{
"re": "未定义操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "msg",
"re": "<div class=\"c\">\\r\\n(.+)</div>",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://neoacg.com/plugin.php?id=dsu_paulsign:sign",
"headers": [
{
"name": "Referer",
"value": "https://neoacg.com/"
},
{
"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"
}
],
"extract_variables": [
{
"name": "ljqd",
"re": "您累计已签到.*",
"from": "content"
},
{
"name": "byqd",
"re": "您本月已累计签到.*",
"from": "content"
},
{
"name": "scqd",
"re": "您上次签到时间.*",
"from": "content"
},
{
"name": "zjl",
"re": "您目前获得的总奖励.*",
"from": "content"
},
{
"name": "mqdj",
"re": "您目前的等级.*",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{msg}}\\r\\n {{name}}{{ljqd|striptags}}\\r\\n {{byqd|striptags}}\\r\\n {{scqd|striptags}}\\r\\n {{zjl|striptags}}\\r\\n {{mqdj|striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]

File diff suppressed because one or more lines are too long