当前位置:网站首页>[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
边栏推荐
- Learning practice: comprehensive application of cycle and branch structure (I)
- 2022 P cylinder filling test content and P cylinder filling simulation test questions
- 7. Integrated learning
- data2vec! New milestone of unified mode
- Ffmpeg tanscoding transcoding
- [fxcg] market analysis today
- Mount NFS in kubesphere
- MC Layer Target
- UiPath实战(08) - 选取器(Selector)
- Internationalization and localization, dark mode and dark mode in compose
猜你喜欢

Use the benchmarksql tool to perform a data prompt on kingbases. The jdbc driver cannot be found

Bugku CTF daily question baby_ flag. txt
![[USACO 2009 Dec S]Music Notes](/img/e6/282a8820becdd24d63dcff1b81fcaf.jpg)
[USACO 2009 Dec S]Music Notes

A outsourcing boy's mid-2022 summary

使用BENCHMARKSQL工具对KingbaseES执行测试时报错funcs sh file not found

JVM原理简介

带有注意力RPN和多关系检测器的小样本目标检测网络(提供源码和数据及下载)...

Integration of Android high-frequency interview questions (including reference answers)

使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver

2022 t elevator repair simulation examination question bank and t elevator repair simulation examination question bank
随机推荐
After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
A outsourcing boy's mid-2022 summary
Triangular rasterization
MC Layer Target
Handling record of electric skateboard detained by traffic police
[fairseq] error: typeerror:_ broadcast_ coalesced(): incompatible function arguments
Human resource management system based on JSP
Number of 1 in binary (simple difficulty)
智能合约安全审计公司选型分析和审计报告资源下载---国内篇
How to choose cross-border e-commerce multi merchant system
金仓数据库KingbaseES 插件kdb_date_function
Network security textual research recommendation
2022 registration examination for safety production management personnel of hazardous chemical production units and examination skills for safety production management personnel of hazardous chemical
arthas watch 抓取入参的某个字段/属性
带有注意力RPN和多关系检测器的小样本目标检测网络(提供源码和数据及下载)...
【SQL注入】联合查询(最简单的注入方法)
Some information about the developer environment in Chengdu
Introduction of pointer variables in function parameters
Youdao cloud notes
金仓KFS数据双向同步场景部署