How to do it...

To view and edit the value of cookies, we can use the browser's developer tools or the cookies manager and the plugin that we installed in Chapter 1, Setting Up Kali Linux and the Testing Lab. Let's try both methods: 

  1. Browse to http://192.168.56.11/WackoPicko.

 

  1. Open Developer Tools and go to Storage | Cookies:

We can change any of the cookie's values by double-clicking on them and entering a new one.

  1. Now, we can also use a plugin to check and edit cookies. On Firefox's top bar, click on the Cookies Manager button:

In the preceding image, we can see all the cookies stored at that time, and the sites they belong to, with this add-on. We can also modify their values, delete them, and add new ones.

  1. Select PHPSESSID from 192.168.56.11 and click on Edit.
  2. Change the Http Only value to Yes:

The parameter we just changed (Http Only) tells the browser that this cookie is not allowed to be accessed by a client-side script.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.223.10