How to do it...

We will start analyzing RailsGoat's session cookie. We could have used any PHPSESSID or JSESSIONID cookie, but we will take advantage of this one being a custom value to review additional concepts. Configure your browser to use Burp Suite as a proxy and follow the next steps:

  1. Log in to RailsGoat and look at the proxy's history for a response setting a session cookie. You should have the header Set-Cookie and should set a cookie called _railsgoat_session.
  1. In this case, this is a request to /railsgoat/session. Right-click on the URL, or on the body of the request or response, and select Send to Sequencer:
  1. Before continuing ...

Get Kali Linux Web Penetration Testing Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.