' UNION SELECT NULL-- ' UNION SELECT NULL,NULL-- ' UNION SELECT NULL,NULL,NULL-- etc. Finding the vulnerable column where information are stored using 'UNION SELECT' query. Using char() for 0, null, false values.

  github.com

Use union select null, null, null is the same. information_schema mysql greater than 5.0 of the library version of the database and stores all information mysql table structure, it is possible using information_schema library was quickly injected.

  programmersought.com

So three NULLs were reduced to just one NULL. We can use the ALL keyword to include all duplicates, and that includes duplicate NULLs: Select null union all select null union all select null

  database.guide

Selecting NULL and NOT NULL values in MySQL. select all including null and not null values.

  stackoverflow.com

Select more and more null values until the query is correct The ON DUPLICATE KEY UPDATE clause in MySQL is utilized to specify actions for the database to take when an attempt is made to insert a row that would result in a duplicate value in a UNIQUE index or PRIMARY KEY.

  book.hacktricks.xyz

?id=1' union select null,null,table_name,null from information_schema.tables Это стало возможным благодаря добавлению таблицы information_schema в MySQL 5.0+ и по ее наличию также можно косвенно определить версию используемой БД.

  habr.com

Select column_name from information_schema.columns where table_schema=database() and table_name='tablenamehere'. SELECT is_srvrolemember(‘sysadmin’); — is your account a sysadmin? returns 1 for true, 0 for false, NULL for invalid role.

  vk9-sec.com

Union select null, null, null, null, null, null, null from information_schema.tables. for a small database containing three tables. The hacker starts with adding a " UNION SELECT ALL 1

  www.codeproject.com

  codeby.net

  muhammad-asad.gitbook.io

Page generated - 1.8914520741 (c1209c57ff204cd2d1c6c83f54a53371)