Forrest logo
back to the sqlmap tool

sqlmap:ai:17338

How to use sqlmap to inject union on www.google.com
$ sqlmap -u 'http://www.google.com' --technique=U --union-cols=5 --dump-all --batch
try on your machine

This SQLMap command line injects a UNION-based SQL injection attack on www.google.com by specifying the URL with the -u parameter. The --technique=U flag instructs SQLMap to use UNION-based injection technique. The --union-cols=5 flag indicates the number of columns to be used in the UNION query. The --dump-all flag extracts all database data, and the --batch flag makes the process non-interactive.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to use sqlmap to inject union on www.google.com?
back to the sqlmap tool