Kali Linux 2018: Assuring Security by Penetration Testing - Fourth Edition
by Shiva V. N. Parasram, Alex Samm, Damian Boodoo, Gerard Johansen, Lee Allen, Tedi Heriyanto, Shakeel Ali
sqlmap
sqlmap is a tool built into Kali that can be used to identify and exploit SQLi vulnerabilities. For this example, we're going to use Burp Suite to gather some data that we'll need to give to sqlmap to work.
Launch Burp Suite and proceed to set up the browser to route all traffic through its proxy. Ensure that intercept is on. Go to the SQL Injection page on the DVWA application and enter a user ID; in this case, I'll enter 1.
Burp will catch the request. Forward it on until the request completes. You should see your result on the web page. Go to the Target tab, select the DVWA IP (192.168.0.19 in my case) and use the arrow heads to drill down through the results following the URL path, http://192.168.0.19/dvwa/vulnerabilities/sqli/ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access