当前位置:网站首页>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()--+

边栏推荐
- Bug --- redis deserialization failed
- 批量下载视频小技巧
- 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
- 同条网线电脑正常上网,手机连接wifi成功,但是无法访问互联网
- Concepts of phase velocity and phase in transmission line theory
- Zhanrui's first 5g baseband chip was officially released and successfully ranked among the first tier of 5g!
- C Programming -- the solution of dynamic programming of "the sum of the largest subarray"
- What should testers do if they encounter a bug that is difficult to reproduce?
- Unity中使用UniRx入门总结
- The difference between function and task in SystemVerilog
猜你喜欢

自己实现is_base_of

sqlilabs less-29

Single sign on (one sign on, available everywhere)

Talk about how redis handles requests

Game 302 of leetcode

C编程 --“最大子数组的和” 的动态规划的解法

Leetcode 202. happy number (not happy at all)

Realsense d435i depth map optimization_ High precision mode

Programming hodgepodge (I)

自己实现is_convertible
随机推荐
C编程 --“最大子数组的和” 的动态规划的解法
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
Add transition layer to JS page
[typescript manual]
微信小程序相关操作示例
typora+PicGo+阿里云OSS 搭建以及报错解决【转载】
I have seven schemes to realize web real-time message push, seven!
Game 302 of leetcode
Leetcode 237. 删除链表中的节点
LCP插件创建对等VLAN接口
Realsense D435i 深度图优化_高精度模式
HTB-Beep
Microservices and related component concepts
The price is 17300! Why does Huawei mate x face Samsung fold?
Implement is by yourself_ class
flex布局常用属性总结
聊聊 Redis 是如何进行请求处理
The difference between function and task in SystemVerilog
Flexible layout summary
Leetcode 237. delete nodes in the linked list