Attacks and Exploits

A tester confirms that the id parameter is injectable and wants to dump the database tables automatically. Which tool should be used?

Show the answer

Correct answerD. sqlmap

AWhy not this: Gobuster brute-forces directories, files, DNS names or virtual hosts; it does not exploit injection flaws.

BWhy not this: WPScan enumerates WordPress plugins, themes and users; it does not exploit SQL injection in arbitrary parameters.

CWhy not this: TruffleHog searches repositories for leaked secrets; it does not interact with a live web parameter.

DWhy this is right: Automates SQL injection exploitation and can enumerate databases and dump tables from an injectable parameter.

sqlmap automates detecting and exploiting SQL injection, including enumerating databases and dumping tables. Gobuster is tempting because it also targets web servers, but it only brute-forces paths, DNS names or virtual hosts and cannot exploit injection.