当前位置:网站首页>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
边栏推荐
- [Sun Yat sen University] information sharing of postgraduate entrance examination and re examination
- F200 - UAV equipped with domestic open source flight control system based on Model Design
- std::true_ Type and std:: false_ type
- SQL优化问题的简述
- Transport layer congestion control - slow start and congestion avoidance, fast retransmission, fast recovery
- With the implementation of MapReduce job de emphasis, a variety of output folders
- C language exchanges two numbers through pointers
- epoll()无论涉及wait队列分析
- STM32+ESP8266+MQTT协议连接OneNet物联网平台
- Automatic reservation of air tickets in C language
猜你喜欢
[Sun Yat sen University] information sharing of postgraduate entrance examination and re examination
Excellent open source fonts for programmers
Breadth first traversal of graph
UDP协议:因性善而简单,难免碰到“城会玩”
std::true_ Type and std:: false_ type
Jerry is the custom background specified by the currently used dial enable [chapter]
Declval (example of return value of guidance function)
Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learning 论文阅读
30 minutes to understand PCA principal component analysis
重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用
随机推荐
Declval (example of return value of guidance function)
【剑指 Offer】 60. n个骰子的点数
AFNetworking框架_上传文件或图像server
MS-TCT:Inria&SBU提出用于动作检测的多尺度时间Transformer,效果SOTA!已开源!(CVPR2022)...
Transfer data to event object in wechat applet
celery最佳实践
Using block to realize the traditional values between two pages
A method of sequentially loading Unity Resources
图之广度优先遍历
Introduction and case analysis of Prophet model
【LeetCode第 300 场周赛】
Recursive way
2022暑期项目实训(三)
None of the strongest kings in the monitoring industry!
复现Thinkphp 2.x 任意代码执行漏洞
CSRF漏洞分析
【.NET CORE】 请求长度过长报错解决方案
Ms-tct: INRIA & SBU proposed a multi-scale time transformer for motion detection. The effect is SOTA! Open source! (CVPR2022)...
Cocos2d Lua 越来越小样本 内存游戏
Easy to use PDF to SVG program