当前位置:网站首页>Error reporting injection of SQL injection
Error reporting injection of SQL injection
2022-06-11 06:01:00 【visionkiwi】
An error injection
There are two common error reporting injections :extractvalue , updatexml
When to use error injection ?
When there is no suitable data return point, error injection is required . When injecting, the back end is injected , But the front end doesn't get a better display .
extractvalue
payload: and extractvalue(null,concat(0x7e,(payload),0x7e))
The database is xml Intentional error reporting of documents
utilize concat Splicing in the background
Specify that the first parameter is null , Let him deliberately report mistakes , The second parameter statement is brought into the database for execution , Finally, an error is reported and the execution result is displayed

We can see that it returns a XPATH syntax error: '~security~'
This XPATH It means : stay XPATH There is an error in the implementation of , Is the first parameter we wrote null The error of , So the statement of the second parameter is executed , So you can go to the next step to get the table name , Name , data ....
Be careful : In case of error injection , We can only use it select Rather than union select

How to solve the above situation : stay payload When it's time to add limit, As shown in the figure below

Another way is to build payload When you use group_concat() Here's the picture

updatexml
payload: and 1=(updatexml(1,concat(0x7e,(payload)),1))
payload: and 1=(updatexml(1,concat(0x7e,(payload)),1))
updatexml This function is used to update xml Data . By default, the updated content is passed in , But the illegal communication made him deliberately report a mistake , And then execute sql sentence
边栏推荐
- The meaning in the status column displayed by PS aux command
- Wechat custom component - style - slot
- After adding the header layout to the recyclerview, use the adapter Notifyitemchanged (POS,'test') invalid local refresh
- 那个酷爱写代码的少年后来怎么样了——走近华为云“瑶光少年”
- Installing MySQL for Linux
- Utiliser le fichier Batch Enum
- All the benefits of ci/cd, but greener
- NDK learning notes (14) create an avi video player using avilib+window
- View controller and navigation mode
- 跨境电商测评自养号团队应该怎么做?
猜你喜欢

Wechat applet text built-in component newline character does not newline reason

NFC Development -- difference between ID card and IC card (M1 card and CPU card) (III)

AltiumDesigner2020导入3D Body-SOLIDWORKS三维模型

Summarize the five most common BlockingQueue features

Servlet
![[元数据]LinkedIn-DataHub](/img/6a/247ee77dfc219d26651e5d93b04c98.png)
[元数据]LinkedIn-DataHub
![Experimental report on information management and information system [information security and confidentiality] of Huazhong Agricultural University](/img/f6/e58196aeac85178f6603cea1962a6e.jpg)
Experimental report on information management and information system [information security and confidentiality] of Huazhong Agricultural University

ThymeleafEngine模板引擎

Free get | full function version of version control software

跨境电商测评自养号团队应该怎么做?
随机推荐
Can Amazon, express, lazada and shrimp skin platforms use the 911+vm environment to carry out production number, maintenance number, supplement order and other operations?
Do you know the functions of getbit and setbit in redis?
Super (subclass)__ init__ And parent class__ init__ ()
YOLOv5的Tricks | 【Trick8】图片采样策略——按数据集各类别权重采样
NDK learning notes (IX) POSIX sockect connection oriented communication
我们真的需要会议耳机吗?
OJDBC在Linux系统下Connection速度慢解决方案
Delegation agreement, data source agreement and advanced view in view
Yoyov5's tricks | [trick8] image sampling strategy -- Sampling by the weight of each category of the dataset
Reading the registry using batch
Yonghong Bi product experience (I) data source module
Vscode plug-in development
Elk log system practice (V): install vector and output data to es and Clickhouse cases
Solution to slow connection speed of ojdbc under Linux system
Principle of copyonwritearraylist copy on write
NDK learning notes (V)
Altiumdesigner2020 import 3D body SolidWorks 3D model
修复Yum依赖冲突
Getting started with kotlin
數組部分方法