Ready to Start Your Career?

By: bjacharya
September 13, 2016
SQL Injection Lab Part 3 – Extracting/Obtaining PHP Cookie

By: bjacharya
September 13, 2016
Welcome back Cybrarians!Section 9: Obtain PHP Cookie
1. SQL Injection Menu- Instructions:1. Select “SQL Injection” from the left navigation menu.

- Instructions:1. Tools –> Tamper Data

- Instructions:1. Click on Start Tamper
- Instructions:1. Input “1” into the text box.2. Click Submit.
- Notes(FYI):
- The goal here is see the GET request being madeto the CGI program behind the scenes.
- Also, we will use the “Surname” output withSQLMAP to obtain database username and passwordcontents.
- Notes(FYI):

- Instructions:1. Make sure the Continue Tampering? textbox isunchecked.2. Then Click Submit

- Instructions:1. Select the second GET Request2. Right Click on the Referer Link3. Select Copy

- Instructions:1. Applications –> Wine –> Programs –>Accessories –> Notepad

- Instructions:1. Edit –> Paste

- Instructions:1. Right Click on the Cookie line2. Select Copy

- Instructions:1. Edit –> Paste
- Notes(FYI):
- Now you should have copied both the Referer andCookie lines into Notepad. (See Picture)
- Notes(FYI):
