mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
100 lines
3.0 KiB
JSON
100 lines
3.0 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://www.t00ls.com/login.json",
|
|
"headers": [
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "action=login&username={{username}}&password={{password}}&questionid={{questionid}}&answer={{answer}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"re": "\\\"cookie\\\"\\:{(.+)}}",
|
|
"from": "content",
|
|
"name": "cookie"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.t00ls.com/members-profile.json",
|
|
"headers": [
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"re": "\\\"uid\\\"\\:\\\"(\\d+)\\\"",
|
|
"from": "content",
|
|
"name": "uid"
|
|
},
|
|
{
|
|
"re": "\\\"formhash\\\"\\:\\\"(.+)\\\"",
|
|
"from": "content",
|
|
"name": "formhash"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://www.t00ls.com/ajax-sign.json",
|
|
"headers": [
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://www.t00ls.com/members-profile-{{uid}}.html"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "signsubmit=apply&formhash={{formhash}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"re": ".+",
|
|
"from": "content",
|
|
"name": "__log__"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |