ACG-Q / qd-templates

基于开源新版 QD 框架站发布的公共har模板库
1 stars 0 forks source link

[Cookie] 老刘弹互联网 #8

Open ACG-Q opened 7 months ago

ACG-Q commented 7 months ago

HAR 模板名称

老刘弹互联网

作者信息

六记

模板备注及说明

网站地址: https://www.mmsto.com/ 模板功能: 每日自动签到,积攒积分 需要填写: wordpress_logged 值的含义: 登录账号后,可以从【下图】中所示找到名为wordpress_logged_in开头的字段名称,请将符合wordpress_logged_in.*的值填写到模板当中即可

image

值的示例: wordpress_logged_in_马赛克马赛克马赛克=对应的值

每隔一段时间,需要自行更新cookie

HAR 文件名

[Cookie] 老刘弹互联网.har

其他信息

No response

HAR 模板内容

[{"comment":"获取新的dr_check_nonce","request":{"method":"POST","url":"https://www.mmsto.com/wp-admin/admin-ajax.php","headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"name":"Cookie","value":"{{wordpress_logged}}\n"},{"name":"Host","value":"www.mmsto.com"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Accept","value":"application/json"},{"name":"Referer","value":"https://www.mmsto.com/"},{"name":"Origin","value":"https://www.mmsto.com/"}],"cookies":[],"data":"action=daily_sign&nonce=123"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"nonce","re":"dr_check_nonce=(.*?)%2","from":"header"}]}},{"comment":"实现签到","request":{"method":"POST","url":"https://www.mmsto.com/wp-admin/admin-ajax.php","headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"name":"Cookie","value":"{{wordpress_logged}}"}],"cookies":[],"data":"action=daily_sign&nonce={{nonce}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"result","re":"(.*)","from":"content"}]}},{"comment":"实现签到","request":{"method":"GET","url":"api://util/unicode?content={{result|urlencode}}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"msg\\\\\":\\\\\"(.*?)\\\\\"","from":"content"},{"name":"credit","re":"credit\\\\\":\\\\\"?(\\d+)\\\\\"?","from":"content"}]}},{"comment":"判断模块:签到成功","request":{"method":"GET","url":"{% if credit %}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"打印日志","request":{"method":"GET","url":"api://util/unicode?content=%E6%81%AD%E5%96%9C%E4%BD%A0{{msg|urlencode}}%EF%BC%8C%E7%9B%AE%E5%89%8D%E4%BD%A0%E5%B7%B2%E6%8B%A5%E6%9C%89{{credit|urlencode}}%E6%9E%9A","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断模块 else","request":{"method":"GET","url":"{% else %}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"打印日志","request":{"method":"GET","url":"api://util/unicode?content={{msg|urlencode}}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"请登录先","from":"content"}],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断模块结束","request":{"method":"GET","url":"{% endif %}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}}]