In this article, I will write a write-up for SQLMap: The Basics that covers SQL Injection Vulnerability, Automated SQL Injection Tool, and a Practical Exercise.
This room was a bit complicated to me so I’ll share this LinkedIn article that has clear steps to navigate the practical exercise. I wasn’t able to capture them well since we have few to the closure of the challenge.
Which language builds the interaction between a website and its database?
SQL
Which boolean operator checks if at least one side of the operator is true for the condition to be true?
or
Is 1=1 in an SQL query always true? (YEA/NAY)
YEA
Which flag in the SQLMap tool is used to extract all the databases available?
—dbs
What would be the full command of SQLMap for extracting all tables from the "members" database? (Vulnerable URL: http://sqlmaptesting.thm/search/cat=1)
sqlmap -u <http://sqlmaptesting.thm/search/cat=1> -D members --tables
How many databases are available in this web application?
6
What is the name of the table available in the "ai" database?
user
What is the password of the email test@chatai.com?
12345678
Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the THM challenges. We can also connect more on LinkedIn or X.