forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SSPANEL机场通用签到.har
1 lines (1 loc) · 2.44 KB
/
SSPANEL机场通用签到.har
1
[{"comment":"登录","request":{"method":"POST","url":"{{domain}}/auth/login","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"content-type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"x-requested-with","value":"XMLHttpRequest"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"origin","value":"{{domain}}"},{"name":"referer","value":"{{domain}}/auth/login"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"email={{username|urlencode}}&passwd={{password|urlencode}}&code=&remember_me=on","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\\\\u767b\\\\u5f55\\\\u6210\\\\u529f","from":"content"}],"failed_asserts":[{"re":"\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef","from":"content"}],"extract_variables":[{"name":"user","re":"\"user\":\"(.+?)\"","from":"content"}]}},{"comment":"签到","request":{"method":"POST","url":"{{domain}}/user/checkin","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"x-requested-with","value":"XMLHttpRequest"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"origin","value":"{{domain}}"},{"name":"referer","value":"{{domain}}/user"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.+?)\"","from":"content"}]}},{"comment":"日志","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%94%A8%E6%88%B7%EF%BC%9A%E3%80%90{{username|urlencode}}%E3%80%91%5Cr%5Cn%E7%AD%BE%E5%88%B0%E6%83%85%E5%86%B5%EF%BC%9A%E3%80%90{{unicode(msg|default('签到成功',boolean=True))|striptags|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".+","from":"content"}]}}]