forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 3
/
OpenFRP.har
1 lines (1 loc) · 7 KB
/
OpenFRP.har
1
[{"comment":"登录","request":{"method":"POST","url":"https://console.openfrp.net/web/user/login","headers":[{"name":"Host","value":"console.openfrp.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/json"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://console.openfrp.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://console.openfrp.net/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"{\"user\":\"{{username}}\",\"password\":\"{{password}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"flag\":true","from":"content"}],"failed_asserts":[{"re":"\"flag\":false","from":"content"}],"extract_variables":[{"name":"session","re":"\"data\":\"(.+?)\",","from":"content"},{"name":"auth","re":"Authorization: (.+)","from":"header"}]}},{"request":{"method":"POST","url":"https://console.openfrp.net/web/frp/api/getUserInfo","headers":[{"name":"Host","value":"console.openfrp.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/json"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"Authorization","value":"{{auth}}"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://console.openfrp.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://console.openfrp.net/home/dashboard"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"{\"session\":\"{{session}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://console.openfrp.net/web/frp/api/getSignInfo","headers":[{"name":"Host","value":"console.openfrp.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/json"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"Authorization","value":"{{auth}}"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://console.openfrp.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://console.openfrp.net/home/user"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"{\"session\":\"{{session}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://console.openfrp.net/web/frp/api/userSign","headers":[{"name":"Host","value":"console.openfrp.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/json"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"Authorization","value":"{{auth}}"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://console.openfrp.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://console.openfrp.net/home/user"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"{\"session\":\"{{session}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://console.openfrp.net/web/frp/api/getSignInfo","headers":[{"name":"Host","value":"console.openfrp.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/json"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"Authorization","value":"{{auth}}"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://console.openfrp.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://console.openfrp.net/home/user"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"{\"session\":\"{{session}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"log_totalsign","re":"\"totalsign\":\"(.+?)\"","from":"content"},{"name":"log_totaltraffic","re":"\"totaltraffic\":\"(.+?)\"","from":"content"},{"name":"raw_signdate","re":"\"signdate\":(.+?)}","from":"content"}]}},{"comment":"生成日志","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content=累计签到: {{log_totalsign}} , 累计流量: {{log_totaltraffic}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]