Forrest logo
back to the python tool

python:ai:43cd0

How to use sqlmap to inject union
$ python sqlmap.py -u ${URL} --data=${POST_DATA} --random-agent --technique=U --union-cols=1,2,3,4 --dump
try on your machine

This command injects union-based SQL injection in the given URL with POST data and retrieves data from columns 1, 2, 3, and 4 using the UNION technique. The data is dumped and displayed in the console output.

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 ?
back to the python tool