当前位置:网站首页>[SQL injection point] location and judgment of the injection point
[SQL injection point] location and judgment of the injection point
2022-07-03 04:38:00 【Black zone (rise)】
Catalog
Two 、 Determine if the injection point exists
One 、 Four injection points
1.1、 brief introduction :
The injection point we encounter is not necessarily in the form username Fields , Sometimes injection points are hidden in different places
Location of four common injection points :GET Parameters in 、POST In request 、User-Agent in 、Cookies in
1.2、 classification :
(1)GET Injection in parameter (URL):
GET The injection point in is generally the easiest to find , Because we can get it in the address bar URL And parameters , It can be used Sqlmap Or manually verify whether there is injection .
(2)POST Injection in the request ( Grab the bag ):
burp:POST Generally, we need to find the injection point in by capturing packets , It's like using Burp
plug-in unit : Browser plug-in Hackbar To send the POST package .
Sqlmap Or manual verification .
(3)User-Agent Injection in ( Grab the bag ):
burp: Find out User-Agent Injection in , have access to Burp Of Repeater modular
Sqlmap: take Sqlmap The parameter of is set to level=3, such Sqlmap It will automatically detect User-Agent Whether there is injection in .
(4)Cookies Injection in ( Browser plug-in 、 Grab the bag ):
burp: seek Cookies Injection in , have access to Burp Of Repeater modular .
Sqlmap: The parameter can be set to level=2, such Sqlmap Will automatically detect Cookies Whether there is injection .
plug-in unit : Browser modification cookie The plug-in can also be installed and used
Two 、 Determine if the injection point exists
1、 Determine if there is an injection point
(1) Modify the parameter value at the parameter position ,eg:id=1 It is amended as follows 2 Whether the data changes after
(2) Insert sheet 、 Detection method of double quotation marks ( Commonly used ), Unclosed single quotation marks cause SQL Statement single quotation mark unclosed error prompt
2、 Determine whether the injection point is plastic or character
(1) Digital : adopt and 1=1
(2) String type : Closed single quotation mark test statement 'and'1'='1 Judge
3、 Determine the number of query Columns
order by or union select
4、 Judge the display bit
Error echo , Use the nonexistent id=-1 add union select……
perhaps and1=2 add union select……
The following are all through the error report , Construct the information to be found in the display bit
5、 Get all database names
6、 Get all the table names in the database
7、 Get field name
8、 Get the data in the field
边栏推荐
- 2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
- 关于开学的准备与专业认知
- I stepped on a foundation pit today
- UiPath实战(08) - 选取器(Selector)
- Hj35 serpentine matrix
- Golang -- realize file transfer
- Mount NFS in kubesphere
- Introduction to message queuing (MQ)
- 使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错
- 2022 a special equipment related management (elevator) analysis and a special equipment related management (elevator) simulation test
猜你喜欢

带有注意力RPN和多关系检测器的小样本目标检测网络(提供源码和数据及下载)...

Design and implementation of JSP logistics center storage information management system

How to choose cross-border e-commerce multi merchant system

Network security textual research recommendation

C language self-made Games: Sanzi (tic tac toe chess) intelligent chess supplement

Know that Chuangyu cloud monitoring - scanv Max update: Ecology OA unauthorized server request forgery and other two vulnerabilities can be detected

Auman Galaxy new year of the tiger appreciation meeting was held in Beijing - won the double certification of "intelligent safety" and "efficient performance" of China Automotive Research Institute

Number of uniform strings of leetcode simple problem

Sdl2 + OpenGL glsl practice (Continued)

C language series - Section 3 - functions
随机推荐
Asp access teaching management system design finished product
AWS VPC
[BMZCTF-pwn] 20-secret_ file
After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
使用BENCHMARKSQL工具对KingbaseES执行测试时报错funcs sh file not found
General undergraduate college life pit avoidance Guide
使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭
普通本科大学生活避坑指南
Why does I start with =1? How does this code work?
RSRS index timing and large and small disc rotation
2022 chemical automation control instrument examination summary and chemical automation control instrument certificate examination
[fairseq] error: typeerror:_ broadcast_ coalesced(): incompatible function arguments
Smart contract security audit company selection analysis and audit report resources download - domestic article
Kubernetes source code analysis (I)
FFMpeg example
I've been in software testing for 8 years and worked as a test leader for 3 years. I can also be a programmer if I'm not a professional
[Thesis Writing] how to write the overall design of JSP tourism network
金仓KFS数据双向同步场景部署
Leetcode simple question: check whether two string arrays are equal
Human resource management system based on JSP