当前位置:网站首页>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
边栏推荐
- Declval (example of return value of guidance function)
- Cobra quick start - designed for command line programs
- Stm32+mfrc522 completes IC card number reading, password modification, data reading and writing
- Five data structures of redis
- C语言高校实验室预约登记系统
- 使用cpolar建立一个商业网站(1)
- 解读云原生技术
- Echart simple component packaging
- std::true_ Type and std:: false_ type
- Redis的五种数据结构
猜你喜欢
随机推荐
Afnetworking framework_ Upload file or image server
C language college laboratory reservation registration system
【.NET CORE】 请求长度过长报错解决方案
Declval of template in generic programming
Virtual machine VirtualBox and vagrant installation
【Swoole系列2.1】先把Swoole跑起来
DOM Brief
Coco2017 dataset usage (brief introduction)
华为0基金会——图片整理
Rb157-asemi rectifier bridge RB157
Stm32+esp8266+mqtt protocol connects onenet IOT platform
Windows连接Linux上安装的Redis
Stm32+hc05 serial port Bluetooth design simple Bluetooth speaker
Comparative examples of C language pointers *p++, * (p++), * ++p, * (++p), (*p) + +, +(*p)
Declval (example of return value of guidance function)
celery最佳实践
POJ 2208 已知边四面体六个长度,计算体积
巨杉数据库首批入选金融信创解决方案!
Five data structures of redis
Redis的五种数据结构