当前位置:网站首页>SQL injection
SQL injection
2022-06-26 12:23:00 【weixin_ forty-three million four hundred and forty-six thousand】
sql Inject : Appears where the input interacts with the database ; It usually exists on the login page 、 Find pages or add pages where users can find or modify data .
SQL Injection methods can be roughly divided into two categories : Character and number
sql Injection judgment : Construct where you can type sql sentence
Enter single quotes - The quotation mark of the error report is wrong - Digital injection
Enter single quotes - Report errors 1(id Value ) And single quotes - Character injection
and: Both are true
or: An establishment is an establishment
test
1、 First, judge whether there is an injection point ,
Judgment method :
(1) You can enter single quotation marks ’ To test , If the page returns an error , There is Sql Inject
(2)id=1 and 1=1( The page is running normally )、id=1 and 1=2( Page running error )( Digital ) Return to different interfaces , There is sql Inject
(3)id=1 'and ‘1’='1、id=1 'and ‘1’='2( Character ) Return to different interfaces , There is sql Inject
Judge according to the display bit sql Injection type :
(1) Joint injection query : There must be a display bit on the page
(2) Blind annotation based on Boolean : That is, the injection of true or false conditions can be judged according to the returned page ; The page only returns True and False Two types of pages
(3) Based on error reporting injection : That is, the page will return an error message , Or return the result of the injected statement directly to the page ;
(4) Time based delay Injection : That is, no information can be judged based on the content returned from the page , Use conditional statement to check whether time delay statement is executed ( That is, whether the page return time increases ) To judge ;
for example :’ and if(ascii(substr(database(),1,1))=115,1,sleep(5))–+
边栏推荐
- Assembly language (7) operation instruction
- Using the methods in the repository to solve practical problems
- ctfshow web入门 命令执行web75-77
- 18: Chapter 3: development of pass service: 1: SMS login & registration process, introduction; (SMS verification code is used here)
- TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
- MOS管基本原理,单片机重要知识点
- How to calculate flops and params in deep learning
- One click deployment of your own community forum
- Oracle锁表查询和解锁方法
- MS17_ 010 utilization summary
猜你喜欢

SQL injection in Pikachu shooting range

Black squares in word

Spark-day03-core programming RDD operator

TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?

Loggie encoding and newline character test

MS17_ 010 utilization summary

Re recognized! Know that Chuangyu has been selected as one of the first member units of the "business security promotion plan"

Deep thinking from senior member managers
![[solved] data duplication or data loss after laravel paginate() paging](/img/68/7bf51bbf893a91bee24f5f7d4a369f.jpg)
[solved] data duplication or data loss after laravel paginate() paging

AD - 将修改后的 PCB 封装更新到当前 PCB 中
随机推荐
Ctrip ticket app KMM cross end kV repository mmkv kotlin | open source
The best CMDB system
MS17_ 010 utilization summary
HUST網絡攻防實踐|6_物聯網設備固件安全實驗|實驗二 基於 MPU 的物聯網設備攻擊緩解技術
Report on in-depth analysis and investment strategy recommendations for China's petroleum coke industry (2022 Edition)
webgame开发中的文件解密
Apiccloud implements the document download and preview functions
Is it safe to open a securities account
TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
Quantitative elementary -- akshare obtains stock code, the simplest strategy
Vulnerability scanning and reverse osmosis of Internet anti artifact
Lintcode 130 · 堆化
Scala-day01- companion objects and HelloWorld
Realize microservice load balancing (ribbon)
Pre knowledge of hash table -- binary search tree
请指教同花顺是什么软件?在线开户安全么?
Prospering customs through science and technology, Ronglian and Tianjin Customs jointly build a genomic database and analysis platform
Scala-day02- variables and data types
ctfshow web入门 命令执行web75-77
I'd like to know what preferential activities are available for stock account opening? Is it safe to open an account online?