Let me start by giving thanks to AUDI for this awesome labs :
LAB LINK : SQLI LAB by AUDI with all videos
DOWNLOAD LAB HERE : SQLI LAB by AUDI8 (GIT)
1. Download the lab from above.
2. Unzip it and copy to the directory :: /var/www (I renamed it to sqli-labs for easy use )
![[Image: 22n98j.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_toz5ObliUvAwIz2cqVpQwIQV0LLNlYhy2ZW--HliOkipMn2-SgPP8VqXZLaexEuI3pZ_hf8z7wY35USM_yo2tRD--C=s0-d)
3. Now type in terminal su (if not using backtrack or not in root mode)
4. Then type start mysql and /etc/init.d/apache2 start
![[Image: xcvjpk.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_swcmaInp2Ou-6IKK26O0K7pbK57KNkbLnwseNM4qf_8aA96vgMRbiHL81l6klL3m3Brbj1FIGu8TTQOK4aIDQ8daT86Q=s0-d)
5. Type cd /var/www/sqli-labs/sql-connections and then type ......
6. nano db-creds.inc
![[Image: 5ewfbr.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sJ1jNVv7athIfJebkHcPntNiHKugK8yWwg87WdP_TVKYi3DA_EwJp_piGvyspFj35UtNrkRvjy6mxBusA7B6vzh9VHLA=s0-d)
7. Replace ROOT and TOOR with your username and password (Root and Toor are default user & pass for BT)
![[Image: 29y1ogj.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uXNbOqstrOFws4jhjw1WT1epeRjiwdaAQXDnxkw7G40pyGmIJennnhY4mkbIgxdZ9ByJXKfndzE_0D4dVyEA5rpHqYd00=s0-d)
8. Save it by Hitting Ctrl+X .
9. Now in browser type http://localhost/sqli-labs and hit enter .
10. Click on Setup/reset Database for labs .
11. Now in browser type http://localhost/sqli-labs/Less-1
12. It will say to input id parameter so type http://localhost/sqli-labs/Less-1/?id=1 change the value ahead of id (1,2,3 so on....)
LAB LINK : SQLI LAB by AUDI with all videos
DOWNLOAD LAB HERE : SQLI LAB by AUDI8 (GIT)
1. Download the lab from above.
2. Unzip it and copy to the directory :: /var/www (I renamed it to sqli-labs for easy use )
3. Now type in terminal su (if not using backtrack or not in root mode)
4. Then type start mysql and /etc/init.d/apache2 start
5. Type cd /var/www/sqli-labs/sql-connections and then type ......
6. nano db-creds.inc
7. Replace ROOT and TOOR with your username and password (Root and Toor are default user & pass for BT)
8. Save it by Hitting Ctrl+X .
9. Now in browser type http://localhost/sqli-labs and hit enter .
10. Click on Setup/reset Database for labs .
11. Now in browser type http://localhost/sqli-labs/Less-1
12. It will say to input id parameter so type http://localhost/sqli-labs/Less-1/?id=1 change the value ahead of id (1,2,3 so on....)
0 comments:
Post a Comment