|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScannerInsertionPoint
This interface is used to define an insertion point for use by active Scanner
checks. Extensions can obtain instances of this interface by registering an
IScannerCheck
, or can create instances for use by Burp's own
scan checks by registering an
IScannerInsertionPointProvider
.
Field Summary | |
---|---|
static byte |
INS_ENTIRE_BODY
Used to indicate where the payload is inserted into the body of the HTTP request. |
static byte |
INS_EXTENSION_PROVIDED
Used to indicate where the insertion point is provided by an extension-registered IScannerInsertionPointProvider . |
static byte |
INS_HEADER
Used to indicate where the payload is inserted into the value of an HTTP request header. |
static byte |
INS_PARAM_AMF
Used to indicate where the payload is inserted into the value of an AMF parameter. |
static byte |
INS_PARAM_BODY
Used to indicate where the payload is inserted into the value of a body parameter. |
static byte |
INS_PARAM_COOKIE
Used to indicate where the payload is inserted into the value of an HTTP cookie. |
static byte |
INS_PARAM_JSON
Used to indicate where the payload is inserted into the value of an item of data within a JSON structure. |
static byte |
INS_PARAM_MULTIPART_ATTR
Used to indicate where the payload is inserted into the value of a parameter attribute within a multi-part message body (such as the name of an uploaded file). |
static byte |
INS_PARAM_NAME_BODY
Used to indicate where the payload is inserted into the name of an added body parameter. |
static byte |
INS_PARAM_NAME_URL
Used to indicate where the payload is inserted into the name of an added URL parameter. |
static byte |
INS_PARAM_URL
Used to indicate where the payload is inserted into the value of a URL parameter. |
static byte |
INS_PARAM_XML
Used to indicate where the payload is inserted into the value of an item of data within an XML data structure. |
static byte |
INS_PARAM_XML_ATTR
Used to indicate where the payload is inserted into the value of a tag attribute within an XML structure. |
static byte |
INS_UNKNOWN
Used to indicate where the payload is inserted at an unknown location within the request. |
static byte |
INS_URL_PATH_FILENAME
Used to indicate where the payload is inserted into the URL path filename. |
static byte |
INS_URL_PATH_FOLDER
Used to indicate where the payload is inserted into a URL path folder. |
static byte |
INS_URL_PATH_REST
Deprecated. |
static byte |
INS_USER_PROVIDED
Used to indicate where the payload is inserted at a location manually configured by the user. |
Method Summary | |
---|---|
byte[] |
buildRequest(byte[] payload)
This method is used to build a request with the specified payload placed into the insertion point. |
java.lang.String |
getBaseValue()
This method returns the base value for this insertion point. |
java.lang.String |
getInsertionPointName()
This method returns the name of the insertion point. |
byte |
getInsertionPointType()
This method returns the type of the insertion point. |
int[] |
getPayloadOffsets(byte[] payload)
This method is used to determine the offsets of the payload value within the request, when it is placed into the insertion point. |
Field Detail |
---|
static final byte INS_PARAM_URL
static final byte INS_PARAM_BODY
static final byte INS_PARAM_COOKIE
static final byte INS_PARAM_XML
static final byte INS_PARAM_XML_ATTR
static final byte INS_PARAM_MULTIPART_ATTR
static final byte INS_PARAM_JSON
static final byte INS_PARAM_AMF
static final byte INS_HEADER
static final byte INS_URL_PATH_FOLDER
@Deprecated static final byte INS_URL_PATH_REST
INS_URL_PATH_FOLDER
instead.
static final byte INS_PARAM_NAME_URL
static final byte INS_PARAM_NAME_BODY
static final byte INS_ENTIRE_BODY
static final byte INS_URL_PATH_FILENAME
static final byte INS_USER_PROVIDED
static final byte INS_EXTENSION_PROVIDED
IScannerInsertionPointProvider
.
static final byte INS_UNKNOWN
Method Detail |
---|
java.lang.String getInsertionPointName()
java.lang.String getBaseValue()
null
if there is no value in the
base request that corresponds to this insertion point.byte[] buildRequest(byte[] payload)
payload
- The payload that should be placed into the insertion
point.
int[] getPayloadOffsets(byte[] payload)
payload
- The payload that should be placed into the insertion
point.
byte getInsertionPointType()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |