当前位置:网站首页>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
边栏推荐
- Atcoder a mountaineer
- MySQL查询请求的执行过程——底层原理
- Shangsilicon Valley JUC high concurrency programming learning notes (3) multi thread lock
- Specify flume introduction, installation and configuration
- 复现Thinkphp 2.x 任意代码执行漏洞
- [sword finger offer] 60 Points of N dice
- celery最佳实践
- 推荐好用的后台管理脚手架,人人开源
- SQL优化问题的简述
- Grafana 9.0 正式发布!堪称最强!
猜你喜欢
Docker安装Redis
第三季百度网盘AI大赛盛夏来袭,寻找热爱AI的你!
Transport layer congestion control - slow start and congestion avoidance, fast retransmission, fast recovery
Declval (example of return value of guidance function)
模板于泛型编程之declval
Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learning 论文阅读
44 colleges and universities were selected! Publicity of distributed intelligent computing project list
Recommend easy-to-use backstage management scaffolding, everyone open source
Grafana 9.0 is officially released! It's the strongest!
Comparative examples of C language pointers *p++, * (p++), * ++p, * (++p), (*p) + +, +(*p)
随机推荐
Using block to realize the traditional values between two pages
10、 Process management
监控界的最强王者,没有之一!
node の SQLite
Afnetworking framework_ Upload file or image server
Epoll () whether it involves wait queue analysis
Maixll dock camera usage
复现Thinkphp 2.x 任意代码执行漏洞
2022 Summer Project Training (II)
Test 123
Cobra 快速入门 - 专为命令行程序而生
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer
D binding function
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
UDP protocol: simple because of good nature, it is inevitable to encounter "city can play"
模板于泛型编程之declval
Virtual machine VirtualBox and vagrant installation
2022 Summer Project Training (I)
【中山大学】考研初试复试资料分享
Stm32+esp8266+mqtt protocol connects onenet IOT platform