2021-01-23 12:48:50 +01:00
|
|
|
[
|
|
|
|
{
|
2021-01-23 15:26:56 +01:00
|
|
|
"url": "http://localhost/mysite/",
|
|
|
|
"method": "GET",
|
2021-01-23 12:48:50 +01:00
|
|
|
"headers": null,
|
2021-01-23 15:26:56 +01:00
|
|
|
"body": null,
|
2021-01-23 12:48:50 +01:00
|
|
|
"header-regexp": [
|
|
|
|
{
|
|
|
|
"cookie": "/Set-Cookie: (.+?)$/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body-regexp": null
|
|
|
|
},
|
2021-01-23 15:26:56 +01:00
|
|
|
{
|
|
|
|
"url": "http://localhost/mysite/",
|
|
|
|
"method": "POST",
|
|
|
|
"headers": {
|
|
|
|
"Cookie": "§cookie§",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
|
|
},
|
|
|
|
"body": "username=admin&password=s3cr3t",
|
|
|
|
"header-regexp": [
|
|
|
|
{
|
|
|
|
"next_url": "/Location: (.+)/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body-regexp": null,
|
|
|
|
"extra_guzzle_options": [
|
|
|
|
{
|
|
|
|
"allow_redirects": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-23 12:48:50 +01:00
|
|
|
{
|
|
|
|
"url": "http://localhost§next_url§",
|
|
|
|
"method": "GET",
|
|
|
|
"headers": {
|
|
|
|
"Cookie": "§cookie§"
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"header-regexp": null,
|
|
|
|
"body-regexp": [
|
|
|
|
{
|
2021-01-23 15:26:56 +01:00
|
|
|
"email": "/<p>Your email is (.+)!<\\/p>/"
|
2021-01-23 12:48:50 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-01-23 15:26:56 +01:00
|
|
|
"url": "http://localhost§next_url§?email=§email§",
|
|
|
|
"method": "GET",
|
2021-01-23 12:48:50 +01:00
|
|
|
"headers": {
|
|
|
|
"Cookie": "§cookie§"
|
|
|
|
},
|
2021-01-23 15:26:56 +01:00
|
|
|
"body": null,
|
|
|
|
"header-regexp": [
|
|
|
|
{
|
|
|
|
"flag1": "/Set-Cookie: flag2=(.+?);/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body-regexp": [
|
|
|
|
{
|
|
|
|
"flag2": "/<p>Congratulations, the flag is: (.+?)<\\/p>/"
|
|
|
|
}
|
|
|
|
]
|
2021-01-23 12:48:50 +01:00
|
|
|
}
|
|
|
|
]
|