当前位置:网站首页>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
边栏推荐
- 2022暑期项目实训(一)
- 【LeetCode第 300 场周赛】
- 2019阿里集群数据集使用总结
- 44所高校入选!分布式智能计算项目名单公示
- Numerical analysis: least squares and ridge regression (pytoch Implementation)
- Jdbc driver, c3p0, druid and jdbctemplate dependent jar packages
- Interesting - questions about undefined
- Reproduce ThinkPHP 2 X Arbitrary Code Execution Vulnerability
- ADB common commands
- Test 1234
猜你喜欢
随机推荐
AFNetworking框架_上传文件或图像server
node の SQLite
Execution process of MySQL query request - underlying principle
Cobra 快速入门 - 专为命令行程序而生
Cocos2d Lua 越来越小样本 内存游戏
2022 Summer Project Training (II)
UFIDA OA vulnerability learning - ncfindweb directory traversal vulnerability
Cocos2d Lua smaller and smaller sample memory game
44 colleges and universities were selected! Publicity of distributed intelligent computing project list
Maixll dock camera usage
Top command details
SQL优化问题的简述
Atcoder a mountaineer
F200 - UAV equipped with domestic open source flight control system based on Model Design
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer
Stm32+esp8266+mqtt protocol connects onenet IOT platform
First, look at K, an ugly number
Interview shock 62: what are the precautions for group by?
Unity资源顺序加载的一个方法
Using block to realize the traditional values between two pages









