Skip to content

Commit

Permalink
Add HAR: 深信服社区
Browse files Browse the repository at this point in the history
  • Loading branch information
FellBan authored Oct 12, 2024
1 parent 6c8eafc commit 2655993
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -3684,6 +3684,18 @@
"date": "2024-10-11 09:15:10",
"version": "20241011",
"commenturl": "https://github.com/qd-today/templates/issues/761"
},
"深信服社区": {
"name": "深信服社区",
"author": "李大爷",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/深信服社区.har",
"update": false,
"comments": "cookie 日志",
"filename": "深信服社区.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly9iYnMuc2FuZ2Zvci5jb20uY24vc2YucGhwP21vZD1keW5hbWljX21vZHVsZSZtb2R1bGU9Y29tbW9uJmFjdGlvbj1zaWduLWluIiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICJ0ZXh0L2h0bWwsYXBwbGljYXRpb24veGh0bWwreG1sLGFwcGxpY2F0aW9uL3htbDtxPTAuOSxpbWFnZS9hdmlmLGltYWdlL3dlYnAsaW1hZ2UvYXBuZywqLyo7cT0wLjgsYXBwbGljYXRpb24vc2lnbmVkLWV4Y2hhbmdlO3Y9YjM7cT0wLjcifSwgeyJuYW1lIjogIkFjY2VwdC1FbmNvZGluZyIsICJ2YWx1ZSI6ICJnemlwLCBkZWZsYXRlLCBiciJ9LCB7Im5hbWUiOiAiQWNjZXB0LUxhbmd1YWdlIiwgInZhbHVlIjogInpoLUNOLHpoO3E9MC45In0sIHsibmFtZSI6ICJDYWNoZS1Db250cm9sIiwgInZhbHVlIjogIm1heC1hZ2U9MCJ9LCB7Im5hbWUiOiAiQ29ubmVjdGlvbiIsICJ2YWx1ZSI6ICJrZWVwLWFsaXZlIn0sIHsibmFtZSI6ICJDb29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dHVzIn1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJtc2ciLCAicmUiOiAiXCJtc2dcIjpcIiguKylcIiwiLCAiZnJvbSI6ICJjb250ZW50In1dfX0sIHsiY29tbWVudCI6ICJVbmljb2Rl6L2s5o2iIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3VuaWNvZGUiLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJodG1sX3VuZXNjYXBlPWZhbHNlJmNvbnRlbnQ954q25oCBOnt7bXNnfX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2024-10-12 10:42:45",
"version": "20241012",
"commenturl": "https://github.com/qd-today/templates/issues/767"
}
}
}
228 changes: 228 additions & 0 deletions 深信服社区.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
[
{
"request": {
"method": "GET",
"url": "https://bbs.sangfor.com.cn/sf.php?mod=dynamic_module&module=common&action=sign-in",
"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.7"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cookie",
"value": "{{cookie}}"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Host",
"value": "bbs.sangfor.com.cn"
},
{
"name": "Sec-Fetch-Dest",
"value": "document"
},
{
"name": "Sec-Fetch-Mode",
"value": "navigate"
},
{
"name": "Sec-Fetch-Site",
"value": "none"
},
{
"name": "Sec-Fetch-User",
"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/122.0.6261.95 Safari/537.36"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "haha",
"re": "hash\":\"(.+)\",",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://bbs.sangfor.com.cn/plugin.php?id=sign%3Aindex&op=sign",
"headers": [
{
"name": "Accept",
"value": "application/json, text/plain, */*"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded;charset=UTF-8"
},
{
"name": "Cookie",
"value": "{{cookie}}"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Host",
"value": "bbs.sangfor.com.cn"
},
{
"name": "Origin",
"value": "https://bbs.sangfor.com.cn"
},
{
"name": "Referer",
"value": "https://bbs.sangfor.com.cn/plugin.php?id=info:index"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
},
{
"name": "X-Tingyun-Id",
"value": "_jEJpwY16AA;r=699704271"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
}
],
"cookies": [],
"data": "hash={{haha|urlencode}}&ajaxdata=json",
"mimeType": "application/x-www-form-urlencoded;charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.+)\",",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=状态:{{msg}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]

0 comments on commit 2655993

Please sign in to comment.