当前位置:网站首页>[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
边栏推荐
- MC Layer Target
- 【工具跑SQL盲注】
- 使用BENCHMARKSQL工具对KingbaseES执行测试时报错funcs sh file not found
- arthas watch 抓取入参的某个字段/属性
- How to use kotlin to improve productivity: kotlin tips
- The simple problem of leetcode: dismantling bombs
- Integration of Android high-frequency interview questions (including reference answers)
- Leetcode simple problem delete an element to strictly increment the array
- Dive Into Deep Learning——2.1数据操作&&练习
- RSRS index timing and large and small disc rotation
猜你喜欢

金仓KFS数据双向同步场景部署
![[PCL self study: filtering] introduction and use of various filters in PCL (continuously updated)](/img/36/53886b9d3b98f744be2b6aa6b5d3eb.jpg)
[PCL self study: filtering] introduction and use of various filters in PCL (continuously updated)

联发科技2023届提前批IC笔试(题目)

Two drawing interfaces - 1 Matlab style interface
![[pat (basic level) practice] - [simple simulation] 1063 calculate the spectral radius](/img/01/c118725f74e39742df021b5dbcc33b.jpg)
[pat (basic level) practice] - [simple simulation] 1063 calculate the spectral radius

Know that Chuangyu cloud monitoring - scanv Max update: Ecology OA unauthorized server request forgery and other two vulnerabilities can be detected
![[Thesis Writing] how to write the overall design of JSP tourism network](/img/02/841e8870c2ef871c182b9bb8252a83.jpg)
[Thesis Writing] how to write the overall design of JSP tourism network

Function introduction of member points mall system

2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination

BMZCTF simple_ pop
随机推荐
FFMpeg example
How to use kotlin to improve productivity: kotlin tips
[set theory] Cartesian product (concept of Cartesian product | examples of Cartesian product | properties of Cartesian product | non commutativity | non associativity | distribution law | ordered pair
《牛客刷verilog》Part II Verilog进阶挑战
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN
Integration of Android high-frequency interview questions (including reference answers)
RSRS index timing and large and small disc rotation
FuncS sh file not found when using the benchmarksql tool to test kingbases
The simple problem of leetcode: dismantling bombs
因子选股-打分模型
Priv app permission exception
逆袭大学生的职业规划
Small program animation realizes the running lantern and animation object
使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
Asp access teaching management system design finished product
Youdao cloud notes
GFS分布式文件系统(光是遇见已经很美好了)
Sdl2 + OpenGL glsl practice (Continued)
GFS distributed file system (it's nice to meet it alone)
[BMZCTF-pwn] 18-RCTF-2017-Recho