mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 520cc (#521)
Co-authored-by: a76yyyy <a76yyyy@users.noreply.github.com>
This commit is contained in:
parent
a473312512
commit
8a24193efd
268
520cc.cc.har
Normal file
268
520cc.cc.har
Normal file
|
@ -0,0 +1,268 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.520cc.cc/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
|
||||
"headers": [],
|
||||
"cookies": [
|
||||
{
|
||||
"name": "agree18",
|
||||
"value": "yes"
|
||||
}
|
||||
],
|
||||
"data": "username={{username}}&password={{password}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "签到",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.520cc.cc/plugin.php?id=checkin&ac=dian",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "formhash",
|
||||
"re": "formhash=(\\w+)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "uid",
|
||||
"re": "uid = '(\\d+)'",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "重复签到",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.520cc.cc/plugin.php?id=checkin&ac=dian",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "每天只能簽到一次",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "循环开始 访问他人空间",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% for value in range(0, 12, 1) %} ",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.520cc.cc/?{{random(111111,333333,0)|urlencode}}",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "循环块结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endfor %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "发表日志",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.520cc.cc/home.php?mod=spacecp&ac=blog&blogid=",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data; boundary=----------------------------"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "------------------------------\nContent-Disposition: form-data; name=\"subject\"\n\n{{date_time(1,1,0)}}\n------------------------------\nContent-Disposition: form-data; name=\"savealbumid\"\n\n0\n------------------------------\nContent-Disposition: form-data; name=\"newalbum\"\n\n請輸入相冊名稱\n------------------------------\nContent-Disposition: form-data; name=\"view_albumid\"\n\nnone\n------------------------------\nContent-Disposition: form-data; name=\"message\"\n\n{{date_time(1,1,0)}}\n------------------------------\nContent-Disposition: form-data; name=\"catid\"\n\n\n------------------------------\nContent-Disposition: form-data; name=\"classid\"\n\n0\n------------------------------\nContent-Disposition: form-data; name=\"tag\"\n\n \n------------------------------\nContent-Disposition: form-data; name=\"friend\"\n\n3\n------------------------------\nContent-Disposition: form-data; name=\"noreply\"\n\n1\n------------------------------\nContent-Disposition: form-data; name=\"password\"\n\n\n------------------------------\nContent-Disposition: form-data; name=\"selectgroup\"\n\n\n------------------------------\nContent-Disposition: form-data; name=\"target_names\"\n\n\n------------------------------\nContent-Disposition: form-data; name=\"blogsubmit\"\n\ntrue\n------------------------------\nContent-Disposition: form-data; name=\"formhash\"\n\n{{formhash}}\n--------------------------------"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "301",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "获取日志id",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.520cc.cc/home.php?mod=space&uid={{uid|urlencode}}&do=blog&view=me&from=space",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "blogid",
|
||||
"re": "blog_delete_(\\d+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "删除日志",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.520cc.cc/home.php?mod=spacecp&ac=blog&op=delete&blogid={{blogid|urlencode}}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "deletesubmit=true&formhash={{formhash}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "301",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "For 循环开始",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% for value in range(0, 12, 1) %} ",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "循环打招呼",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.520cc.cc/home.php?mod=spacecp&ac=poke&op=send&uid={{random(111111,333333,0)|urlencode}}&inajax=1",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "pokesubmit=true&formhash={{formhash}}&from=&handlekey=a_poke_{{random(111111,333333,0)|urlencode}}&iconid=0¬e="
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "For 循环结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endfor %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.520cc.cc/home.php?mod=space&do=notice&view=system",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "退出",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "(積分:.\\d+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user