当前位置:网站首页>SQL注入——联合查询union
SQL注入——联合查询union
2022-06-12 06:18:00 【Cwillchris】
1、 爆出字段的显示位置
使用联合查询爆出字段前,我们需要了解 union 的使用方法。
UNION 操作符用于合并两个或多个 SELECT 语句的结果集。
请注意,UNION 内部的 SELECT 语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 SELECT 语句中的列的顺序必须相同。
SQL UNION 语法:
SELECT column_name(s) FROM table_name1
UNION
SELECT column_name(s) FROM table_name2
登录sqli-labs靶机中的MySQL:
[[email protected] ~]# mysql -uroot -p123456
切换到数据库security
MariaDB [(none)]> use security;
例1:将 users 表中 id=1 和 users 表中 id=3 的两个记录合并到一个表中
MariaDB [security]> select * from users where id='1' union select * from users where id= '3';
边栏推荐
- Leetcode-1535. Find the winner of the array game
- C2w model - language model
- How do I get the date and time from the Internet- How to get DateTime from the internet?
- Word2Vec
- RNN model
- Open the camera in unity3d and display the contents of the camera in the scene as texture2d
- Sqlite Cross - compile Dynamic Library
- LeetCode-剑指Offer(第二版)个人题解完整版
- Unity3d display FPS script
- Leetcode-1043. Separate arrays for maximum sum
猜你喜欢

RNN model

Cause analysis of motion blur / smear caused by camera shooting moving objects

C2w model - language model
![Leetcode buckle -10 Regular expression matching analysis [recursion and dynamic programming]](/img/25/b3c475e2b03c39b7c576b6d01f9d56.jpg)
Leetcode buckle -10 Regular expression matching analysis [recursion and dynamic programming]

Simulateur nightGod ADB View log

MLP sensor

Leetcode personal question solution (Sword finger offer3-5) 3 Duplicate number in array, 4 Find in 2D array, 5 Replace spaces

Bert use

Piecewise Bezier curve

Houdini & UE4 programmed generation of mountains and multi vegetation scattering points
随机推荐
Understand Houdini's (heightfield) remap operation
Script for unity3d to recursively search for a node with a specific name from all child nodes of a node
Univariate linear regression model
Cv2.fillpoly coco annotator segment coordinate conversion to mask image
Image processing: image[:,:,:: -1], image[:,: -1,:], image[:,: -1,:]
PDF. JS help file
[word] word 2010 recording macro batch replacing paragraph marks in the selected text
相机图像质量概述
Jackson - how to convert the array string with only one map object to list < map >
E-book analysis
On the normalization of camera rotation interpolation
Explanation of sensor flicker/banding phenomenon
IBL of directx11 advanced tutorial PBR (3)
MNIST handwritten data recognition by CNN
Chartextcnn (Ag dataset - news topic classification)
Modifying theme styles in typora
About why GPU early-z reduces overdraw
【思维方法】之第一性原理
Performance optimization metrics and tools
MLP sensor