{ "configuration": { "verbose_level": 2 }, "urls": [ { "title": "First open to get the cookie", "url": "http://localhost/mysite/", "method": "GET", "headers": null, "body": null, "header-regexp": [ { "cookie": "/Set-Cookie: (.+?)$/" } ], "body-regexp": null }, { "title": "Login", "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 } ] }, { "title": "Get the email", "url": "http://localhost§next_url§", "method": "GET", "headers": { "Cookie": "§cookie§" }, "body": null, "header-regexp": [ { "content_type": "/Content-Type: (.+)/", "pragma": "/Pragma: (.+)/" } ], "body-regexp": [ { "email": "/

Your email is (.+)!<\\/p>/" } ], "header-expected": { "content_type": "text/html; charset=UTF-8", "pragma": "no-cache" }, "body-expected": { "email": "dude@dudelang.com" } }, { "title": "Get the flags", "url": "http://localhost§next_url§?email=§email§", "method": "GET", "headers": { "Cookie": "§cookie§" }, "body": null, "header-regexp": [ { "flag1": "/Set-Cookie: flag2=(.+?);/" } ], "body-regexp": [ { "flag2": "/

Congratulations, the flag is: (.+?)<\\/p>/" } ] } ] }