qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.08k stars 294 forks source link

NeoACG 评论区 #492

Open chen8945 opened 11 months ago

chen8945 commented 11 months ago

HAR 模板名称

NeoACG

作者信息

chen8945

模板备注及说明

用户名 + 密码 https://neoacg.com/

HAR 文件名

NeoACG.har

其他信息

暂无

HAR 模板内容

[{"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"}]}}]
qwazx commented 6 months ago

会提示验证码错误,无法登录

17huiwei commented 3 weeks ago

2024-10-22 17:51:02 日志:Failed at 2/13 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Moved Temporarily, Request URL: https://neoacg.com/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login

报错

chen8945 commented 3 weeks ago

2024-10-22 17:51:02 日志:Failed at 2/13 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Moved Temporarily, Request URL: https://neoacg.com/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login

报错

明天你再看看,我刚刚试了下没问题