-
Notifications
You must be signed in to change notification settings - Fork 87
/
hostloc主机论坛.har
1 lines (1 loc) · 3.88 KB
/
hostloc主机论坛.har
1
[{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content={{random(0,1,n)}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"nums","re":"\"转换后\": \"0.(.*)\"","from":"content"},{"name":"log","re":"","from":"content"},{"name":"num","re":"","from":"content"},{"name":"x","re":"","from":"content"}]}},{"request":{"method":"GET","url":"https://hostloc.com/forum.php","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"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/108.0.0.0 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":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"自动登录","from":"content"}],"extract_variables":[]}},{"comment":"循环开始","request":{"method":"GET","url":"{% for num in nums %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"访问空间","request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,13500,0)}}.html","headers":[{"name":"Connection","value":"keep-alive"},{"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/108.0.0.0 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://hostloc.com/forum.php"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时3秒","request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"循环块结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[]}},{"comment":"积分页","request":{"method":"GET","url":"https://hostloc.com/home.php?mod=spacecp&ac=credit&showcredit=1","headers":[{"name":"dnt","value":"1"},{"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/108.0.0.0 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":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"金钱: </em>(\\d+)","from":"content","name":"jq"},{"re":"威望: </em>(\\d+)","from":"content","name":"ww"},{"re":"<em>积分: </em>(\\d+)","from":"content","name":"jf"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=金币:{{jq}} | 威望:{{ww}} | 积分:{{jf}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]