当前位置:网站首页>SQL injection Foundation
SQL injection Foundation
2022-07-06 18:35:00 【Aspirin. two thousand and two】
SQL Inject the foundation
Access Inject +Access Offset Injection
Digital SQL Inject
Pure number , example :id=1
Search type SQL Inject
Directly inject... Into the search box
Character SQL Inject
The argument is a string ,id=shangpin1
Be careful : Injection is based on the database, not the scripting language
SQL The principle of injection generation is analyzed in detail
Controllable variable , Bring in the database query , The variable does not exist or the filtering is not rigorous
The following existence injection is
www.abc.com/index.php?id=10
www.abc.com/?id=10
www.abc.com/?id=10&x=1
www.abc.com/index.php
All possible , however www.abc.com/index.php May be post Inject
Parameters x There is injection , Which of the following injection tests is correct
www.abc.com/news.php?y=1 and 1=1&x=2
www.abc.com/news.php?y=1&x=1 and 1=1
www.abc.com/news.php?y=1 and 1=1&x=2 and 1=1
www.abc.com/news.php?xx=1 and 1=1&xxx=2 and 1=1
b and c correct
because x Injection of being , So the injection statement should be given to x Back
Various databases
Access,MySQL,msSQL,MongoDB,postgresql,sqlite,Oracle,sybase Such as the database , except access The composition of other databases is roughly the same
Access
Table name
Name
data
MySQL,msSQL etc.
Database name A
Table name
Name
data
Database name
Table name
Name
data
No matter what database , It needs to be injected step by step , Data cannot be injected directly
边栏推荐
- Implementation of queue
- [.Net core] solution to error reporting due to too long request length
- 监控界的最强王者,没有之一!
- 当保存参数使用结构体时必备的开发技巧方式
- FMT open source self driving instrument | FMT middleware: a high real-time distributed log module Mlog
- SAP Fiori 应用索引大全工具和 SAP Fiori Tools 的使用介绍
- Excellent open source fonts for programmers
- 使用block实现两个页面之间的传统价值观
- Rb157-asemi rectifier bridge RB157
- 图片缩放中心
猜你喜欢

徐翔妻子应莹回应“股评”:自己写的!

44 colleges and universities were selected! Publicity of distributed intelligent computing project list

巨杉数据库首批入选金融信创解决方案!

30 分钟看懂 PCA 主成分分析

Xu Xiang's wife Ying Ying responded to the "stock review": she wrote it!

C language exchanges two numbers through pointers

Alibaba cloud international ECS cannot log in to the pagoda panel console

Execution process of MySQL query request - underlying principle

递归的方式

推荐好用的后台管理脚手架,人人开源
随机推荐
首先看K一个难看的数字
287. Find duplicates
Automatic reservation of air tickets in C language
Grafana 9.0 正式发布!堪称最强!
SAP Fiori 应用索引大全工具和 SAP Fiori Tools 的使用介绍
Cobra 快速入门 - 专为命令行程序而生
Echart simple component packaging
30 分钟看懂 PCA 主成分分析
epoll()无论涉及wait队列分析
阿里云国际版ECS云服务器无法登录宝塔面板控制台
图片缩放中心
Blue Bridge Cup real question: one question with clear code, master three codes
First, look at K, an ugly number
D binding function
Jerry is the custom background specified by the currently used dial enable [chapter]
十、进程管理
Declval (example of return value of guidance function)
C language exchanges two numbers through pointers
Afnetworking framework_ Upload file or image server
Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learning 论文阅读