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. This is the same as doing the following: Select null union distinct select null union distinct select null Here are examples that use data from a database.

  database.guide

  info.twitter.org.kz

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

  habr.com

  codeby.net

select null union all select null. Outputs select null union all select null. the two rows are considered duplicates of each other because the null values in first column are considered not distinct... i.e. same. And by definition UNION returns only one row from a set of duplicate rows.

  stackoverflow.com

Union select null, null, null, null, null, null, null from information_schema.tables. for a small database containing three tables. When you do a UNION query, both SELECT statements of the query must have the same number of columns.

  www.codeproject.com

  book.hacktricks.xyz

  defcon.ru

  www.youtube.com

Page generated - 0.4933848381 (49ba793f8ce74780fa3e66b6608f6683)