当前位置:网站首页>[SQL injection] joint query (the simplest injection method)
[SQL injection] joint query (the simplest injection method)
2022-07-03 04:38:00 【Black zone (rise)】
Catalog
One 、 Introduce :
Is the simplest injection method
Joint query injection Error reporting query injection Boolean Injection Delay Injection Stack query Injection
Two 、 principle :
It is a collection of results that can merge multiple queries , seeing the name of a thing one thinks of its function , Is to append one table to another table , So as to realize the combination of query results .
stay URL In the parameter position of , Inject the constructed statement into the parameter position
select ( Original query content ) union select ( The content of the structure )
3、 ... and 、 Prerequisite
① There are injection points , That is, it is not filtered
② There are display bits , The result can be echoed
③ The number of columns in the two tables is the same , namely order by or union select To judge column Count
④ Same data type
Four 、 Use process
1、 Determine if there is an injection point
(1) Modify the parameter value at the parameter position ,eg:id=1 It is amended as follows 2 Whether the data changes after
(2) Insert sheet 、 Detection method of double quotation marks ( Commonly used ), Unclosed single quotation marks cause SQL Statement single quotation mark unclosed error prompt
2、 Determine whether the injection point is plastic or character
(1) Digital : adopt and 1=1
(2) String type : Closed single quotation mark test statement 'and'1'='1 Judge
3、 Determine the number of query Columns
order by or union select
4、 Judge the display bit
Error echo , Use the nonexistent id=-1 add union select……
perhaps and1=2 add union select……
The following are all through the error report , Construct the information to be found in the display bit
5、 Get all database names
6、 Get all the table names in the database
7、 Get field name
8、 Get the data in the field
边栏推荐
- [BMZCTF-pwn] 20-secret_ file
- GFS distributed file system (it's nice to meet it alone)
- Matplotlib -- save graph
- SSM based campus part-time platform for College Students
- Integration of Android high-frequency interview questions (including reference answers)
- Games101 Lesson 9 shading 3 Notes
- 普通本科大学生活避坑指南
- Crazy scientist
- Kingbasees plug-in KDB of Jincang database_ database_ link
- Jincang KFS data bidirectional synchronization scenario deployment
猜你喜欢

Small sample target detection network with attention RPN and multi relationship detector (provide source code, data and download)

Jincang KFS data bidirectional synchronization scenario deployment

Handling record of electric skateboard detained by traffic police

Youdao cloud notes

GFS分布式文件系统(光是遇见已经很美好了)

SSM based campus part-time platform for College Students

逆袭大学生的职业规划

【工具跑SQL盲注】

Design and implementation of JSP logistics center storage information management system

Smart contract security audit company selection analysis and audit report resources download - domestic article
随机推荐
多板块轮动策略编写技巧----策略编写学习教材
Why does I start with =1? How does this code work?
关于开学的准备与专业认知
Small sample target detection network with attention RPN and multi relationship detector (provide source code, data and download)
Dive Into Deep Learning——2.1数据操作&&练习
Joint search set: the number of points in connected blocks (the number of points in a set)
The simple problem of leetcode: dismantling bombs
Day 51 - tree problem
Matplotlib -- save graph
Number of uniform strings of leetcode simple problem
JVM原理简介
2022 new examination questions for the main principals of hazardous chemical business units and examination skills for the main principals of hazardous chemical business units
【SQL注入】联合查询(最简单的注入方法)
Asp access teaching management system design finished product
Reptile exercise 03
MC Layer Target
Php+mysql registration landing page development complete code
FFMpeg filter
Introduction to JVM principle
I've seen a piece of code in the past. I don't know what I'm doing. I can review it when I have time