-
Notifications
You must be signed in to change notification settings - Fork 298
/
TruckGame.har
1 lines (1 loc) · 3.37 KB
/
TruckGame.har
1
[{"request":{"method":"POST","url":"https://truckgame.cn/wp-admin/admin-ajax.php","headers":[{"name":"origin","value":"https://truckgame.cn"},{"name":"referer","value":"https://truckgame.cn/"},{"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":"action=user_login&username={{username|urlencode}}&password={{password|urlencode}}&rememberme=1","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\\\\u767b\\\\u5f55\\\\u6210\\\\u529f","from":"content"},{"re":"400","from":"status"}],"failed_asserts":[{"re":"\\\\u8bf7\\\\u8f93\\\\u5165\\\\u767b\\\\u5f55\\\\u8d26\\\\u53f7\\\\u6216\\\\u5bc6\\\\u7801","from":"content"},{"re":"\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef","from":"content"}],"extract_variables":[]}},{"comment":"","request":{"method":"GET","url":"https://truckgame.cn/user","headers":[{"name":"referer","value":"https://truckgame.cn/"},{"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":"","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"nonce","re":"data-nonce=\"(.*?)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://truckgame.cn/wp-admin/admin-ajax.php","headers":[{"name":"origin","value":"https://truckgame.cn"},{"name":"referer","value":"https://truckgame.cn/user"},{"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":"action=user_qiandao&nonce={{nonce}}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\\\\u4eca\\\\u65e5\\\\u5df2\\\\u7b7e\\\\u5230\\\\uff0c\\\\u8bf7\\\\u660e\\\\u65e5\\\\u518d\\\\u6765","from":"content"}],"failed_asserts":[{"re":"\\\\u975e\\\\u6cd5\\\\u8bf7\\\\u6c42\\\\uff0c\\\\u8bf7\\\\u5237\\\\u65b0\\\\u91cd\\\\u8bd5","from":"content"}],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.*)\"","from":"content"}]}},{"comment":"","request":{"method":"GET","url":"https://truckgame.cn/user","headers":[{"name":"referer","value":"https://truckgame.cn/"},{"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":"","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"name","re":"<span class=\"mx-display-name\">(.*?)<span","from":"content"},{"name":"ye","re":"当前余额:(.*)</p>","from":"content"},{"name":"xf","re":"累计消费:(.*)</p>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=用户名:{{name}}\\r\\n 当前余额:{{ye}},累计消费:{{xf}}\\r\\n 签到结果:{{msg}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]