当前位置:网站首页>SQL注入(7)
SQL注入(7)
2022-08-02 03:25:00 【CHIAJ176】
SQL注入绕过手段
大小写绕过
如果程序中设置了过滤关键字,但是过滤过程中并没有对关键字组成进行深入分析过滤,导致只是对整体进行过滤。例如:and 过滤。当然这种过滤只是发现关键字出现,并不会对关键字处理。
通过修改关键字内字母大小写来绕过过滤措施。例如:AnD 1=1
例如:在进行探测当前表的字段数时,使用order by 数字进行探测。如果过滤了order ,可以使用OrdER来进行绕过。
双写绕过
如果在程序中设置出现关键字之后替换为空,那么SQL注入攻击也不会发生。对于这样的过滤策略可以使用双写绕过。因为在过滤过程中只进行了以此替换。就是将关键字替换为对应的空。
例如:过滤了union 只要发现union无论时大小写都会被替换为空。UnunionIon结合之前大小写绕过。
编码绕过
可以利用网络中的URL在线编码,绕过SQL注入的过滤机制。
内联注释绕过
在Mysql中内联注释中的内容可以被当作SQL语句执行
边栏推荐
猜你喜欢

The learning path of a network security mouse - the basic use of nmap

VIKINGS: 1 vulnhub walkthrough

(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符

(1)Thinkphp6入门、安装视图、模板渲染、变量赋值

Praying: 1 vulnhub walkthrough

13.JS输出内容和语法

hackmyvm: kitty walkthrough

A network security guinea pig's learning path - scripting of advanced usage of nmap

The roll call system and array elements find maximum and minimum values for sorting of objects

Shuriken: 1 vulnhub walkthrough
随机推荐
uniapp | Compilation error after updating with npm update
The learning path of a network security mouse - the basic use of nmap
Alfa: 1 vulnhub walkthrough
hackmyvm: controller walkthrough
Scrapy爬虫遇见重定向301/302问题解决方法
web安全之目录遍历
Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
Phpstudy安装Thinkphp6(问题+解决)
文件上传漏洞
(8) requests, os, sys, re, _thread
Stable and easy-to-use short connection generation platform, supporting API batch generation
What are the killer super powerful frameworks or libraries or applications for PHP?
[campo/random-user-agent] Randomly fake your User-Agent
利用cookie获取admin权限 CTF基础题
How to log in to Alibaba Cloud server using the admin account
(2)Thinkphp6模板引擎**标签
CTF-Neting Cup Past Topics
(8) requests、os、sys、re、_thread
A network security guinea pig's learning path - scripting of advanced usage of nmap
hackmyvm: kitty walkthrough