当前位置:网站首页>[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
边栏推荐
- 2.14 summary
- [set theory] binary relationship (binary relationship notation | binary relationship from a to B | number of binary relationships | example of binary relationship)
- 因子选股-打分模型
- Number of 1 in binary (simple difficulty)
- Day 51 - tree problem
- 金仓数据库KingbaseES 插件kdb_exists_expand
- 使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
- 2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
- Kingbasees plug-in KDB of Jincang database_ date_ function
- UiPath实战(08) - 选取器(Selector)
猜你喜欢

Smart contract security audit company selection analysis and audit report resources download - domestic article

会员积分商城系统的功能介绍

2022 tea master (intermediate) examination questions and tea master (intermediate) examination skills

Library management system based on SSM

2022 chemical automation control instrument examination summary and chemical automation control instrument certificate examination

Solve BP Chinese garbled code

MC Layer Target

Arthas watch grabs a field / attribute of the input parameter

使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭

Internationalization and localization, dark mode and dark mode in compose
随机推荐
Jincang KFS data bidirectional synchronization scenario deployment
[USACO 2009 Dec S]Music Notes
AWS VPC
Games101 Lesson 9 shading 3 Notes
Youdao cloud notes
Reptile exercise 02
Redis persistence principle
220214c language learning diary
[software testing-6] & Test Management
General undergraduate college life pit avoidance Guide
The least operation of leetcode simple problem makes the array increment
Joint search set: the number of points in connected blocks (the number of points in a set)
Function introduction of member points mall system
MySQL winter vacation self-study 2022 12 (3)
The simple problem of leetcode: dismantling bombs
关于开学的准备与专业认知
STM32 reverse entry
Factor stock selection scoring model
Use the benchmarksql tool to perform a data prompt on kingbases. The jdbc driver cannot be found
Bugku CTF daily question baby_ flag. txt