templates/t00ls论坛.har
github-actions[bot] 6c5afdc974
Add HAR: T00ls (#404)
Co-authored-by: chethP <chethP@users.noreply.github.com>
2023-07-31 13:28:02 +08:00

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__"
}
]
}
}
]