当前位置:网站首页>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
边栏推荐
- 小程序在产业互联网中的作用
- Markdown grammar - better blogging
- 递归的方式
- Wchars, coding, standards and portability - wchars, encodings, standards and portability
- The third season of Baidu online AI competition is coming in midsummer, looking for you who love AI!
- Top command details
- echart简单组件封装
- Cocos2d Lua smaller and smaller sample memory game
- Recursive way
- Coco2017 dataset usage (brief introduction)
猜你喜欢

Splay

重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用

虚拟机VirtualBox和Vagrant安装

Tree-LSTM的一些理解以及DGL代码实现
![[swoole series 2.1] run the swoole first](/img/cd/88abf7e83e9d9d416051b33263690b.png)
[swoole series 2.1] run the swoole first

【中山大学】考研初试复试资料分享

Ms-tct: INRIA & SBU proposed a multi-scale time transformer for motion detection. The effect is SOTA! Open source! (CVPR2022)...

Recommend easy-to-use backstage management scaffolding, everyone open source

2019 Alibaba cluster dataset Usage Summary

Shangsilicon Valley JUC high concurrency programming learning notes (3) multi thread lock
随机推荐
Blue Bridge Cup real question: one question with clear code, master three codes
转载:基于深度学习的工业品组件缺陷检测技术
TOP命令详解
44所高校入选!分布式智能计算项目名单公示
node の SQLite
Specify flume introduction, installation and configuration
With the implementation of MapReduce job de emphasis, a variety of output folders
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
Atcoder a mountaineer
Shangsilicon Valley JUC high concurrency programming learning notes (3) multi thread lock
Grafana 9.0 正式发布!堪称最强!
10、 Process management
First, look at K, an ugly number
Redis的五种数据结构
Cobra 快速入门 - 专为命令行程序而生
Compilation Principle -- C language implementation of prediction table
Splay
Huawei 0 foundation - image sorting
Stm32+hc05 serial port Bluetooth design simple Bluetooth speaker
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother