-
Notifications
You must be signed in to change notification settings - Fork 87
/
SolidWorks机械工程师网.har
1 lines (1 loc) · 4.85 KB
/
SolidWorks机械工程师网.har
1
[{"comment":"获取formhash","request":{"method":"GET","url":"https://www.swbbsc.com/","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Origin","value":"https://www.swbbsc.com"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"},{"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":"Referer","value":"https://www.swbbsc.com/home.php?mod=spacecp&ac=credit&op=base"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"formhash.*\"(.+?)\"","from":"content"}]}},{"comment":"GB2312编码","request":{"method":"GET","url":"api://util/gb2312?content={{username|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"user","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"登录","request":{"method":"POST","url":"https://www.swbbsc.com/member.php?mod=logging&action=login&loginsubmit=yes&frommessage=&loginhash=LZJMK&inajax=1","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Origin","value":"https://www.swbbsc.com"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"},{"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":"Referer","value":"https://www.swbbsc.com/home.php?mod=spacecp&ac=credit&op=base"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"formhash={{formhash}}&referer=https%3A%2F%2Fwww.swbbsc.com%2Fhome.php%3Fmod%3Dspacecp%26ac%3Dcredit%26op%3Dbase&loginfield=username&username={{user}}&password={{password}}&questionid=0&answer=&cookietime=2592000","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"欢迎您回来","from":"content"}],"failed_asserts":[{"re":"登录失败","from":"content"}],"extract_variables":[]}},{"comment":"获取用户信息","request":{"method":"GET","url":"https://www.swbbsc.com/","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Origin","value":"https://www.swbbsc.com"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"},{"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":"Referer","value":"https://www.swbbsc.com/home.php?mod=spacecp&ac=credit&op=base"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"积分: .*?>(.*?)<\\/a?","from":"content"},{"name":"ww","re":"威望: .*?>(.*?)<\\/a?","from":"content"},{"name":"jb","re":"金币: .*?>(.*?)<\\/a?","from":"content"},{"name":"gx","re":"贡献: .*?>(.*?)<\\/a?","from":"content"},{"name":"yhz","re":"用户组: .*?>(.*?)<\\/a?","from":"content"}]}},{"comment":"生成日志","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E5%BD%93%E5%89%8D%E8%B4%A6%E6%88%B7%EF%BC%9A%E7%94%A8%E6%88%B7%E7%BB%84%E3%80%90{{yhz|urlencode}}%E3%80%91---%20%E7%A7%AF%E5%88%86%E3%80%90{{jf|urlencode}}%E3%80%91---%E5%A8%81%E6%9C%9B%E3%80%90{{ww|urlencode}}%E3%80%91---%20%E9%87%91%E5%B8%81%E3%80%90{{jb|urlencode}}%E3%80%91---%20%E8%B4%A1%E7%8C%AE%E3%80%90{{gx|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}]