-
Notifications
You must be signed in to change notification settings - Fork 87
/
攻城狮论坛.har
1 lines (1 loc) · 2.63 KB
/
攻城狮论坛.har
1
[{"comment":"获取formhash\n","request":{"method":"GET","url":"http://bbs.vlan5.com/","headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"Accept-Encoding","value":"gzip, deflate"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"Cache-Control","value":"no-cache"},{"name":"Connection","value":"keep-alive"},{"name":"Cookie","value":"{{cookie}}"},{"name":"Pragma","value":"no-cache"},{"name":"Referer","value":"http://bbs.vlan5.com/"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 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"},{"name":"uid","re":"uid=(\\d+)\"","from":"content"}]}},{"comment":"个人信息页","request":{"method":"GET","url":"http://bbs.vlan5.com/home.php?mod=space&uid={{uid|urlencode}}","headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"Accept-Encoding","value":"gzip, deflate"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"Cache-Control","value":"no-cache"},{"name":"Connection","value":"keep-alive"},{"name":"Pragma","value":"no-cache"},{"name":"Referer","value":"http://bbs.vlan5.com/"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"<li><em>积分</em>(\\d+)</li>","from":"content"},{"name":"js","re":"<li><em>技术</em>(\\d+) </li>","from":"content"},{"name":"jb","re":"<li><em>金币</em>(\\d+) </li>","from":"content"},{"name":"gx","re":"<li><em>贡献</em>(\\d+) </li>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=积分:【{{jf}}】,技术:【{{js}}】,金币:【{{jb}}】,贡献:【{{gx}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]