当前位置:网站首页>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))–+
边栏推荐
- What software is flush? Is online account opening safe?
- Basic principle of MOS tube and important knowledge points of single chip microcomputer
- leetcode 715. Range 模块 (hard)
- This paper introduces the simple operation of realizing linear quadratic moving average of time series prediction that may be used in modeling and excel
- Consumer goods enterprises, four pain points of member marketing
- HUST網絡攻防實踐|6_物聯網設備固件安全實驗|實驗二 基於 MPU 的物聯網設備攻擊緩解技術
- I want to know how the top ten securities firms open accounts? Is online account opening safe?
- 2021 q3-q4 investigation report on the use status of kotlin multiplatform
- How do consumer goods enterprises formulate membership interests?
- PHP laravel+gatewayworker completes im instant messaging and file transfer functions (Chapter 2: explanation of business logic)
猜你喜欢

AD - 将修改后的 PCB 封装更新到当前 PCB 中

Pre knowledge of hash table -- binary search tree

MS17_ 010 utilization summary

Spark-day01- get started quickly

dried food! Yiwen will show you SD card, TF card and SIM card!

HUST network attack and defense practice | 6_ IOT device firmware security experiment | Experiment 2 MPU based IOT device attack mitigation technology

2021 q3-q4 investigation report on the use status of kotlin multiplatform

Loggie encoding and newline character test

11、 Box styles and user interface

2、 MySQL Foundation
随机推荐
Basic principle of MOS tube and important knowledge points of single chip microcomputer
Polarismesh series articles - concept series (I)
I want to know how the top ten securities firms open accounts? Is online account opening safe?
Spark-day02-core programming-rdd
Jsonarray and jsonobject of fastjson [easy to understand]
Report on in-depth analysis and investment strategy recommendations for China's petroleum coke industry (2022 Edition)
2022 edition of Beijing 5g industry investment planning and development prospect forecast analysis report
2022 edition of China's medical robot industry investment status investigation and prospect dynamic analysis report
请指教同花顺是什么软件?在线开户安全么?
4. N queen problem
Ad - update the modified PCB package to the current PCB
Prospering customs through science and technology, Ronglian and Tianjin Customs jointly build a genomic database and analysis platform
Five trends of member management in 2022
Scala-day05-set
Refined operation, extending the full life cycle value LTV
Five problems and solutions of member operation
Investment forecast and development strategy analysis report of China's rural sewage treatment industry in 2022
Using the methods in the repository to solve practical problems
[solved] data duplication or data loss after laravel paginate() paging
Several problems encountered in setting up the environment in the past two days