Package burp.api.montoya.intruder
Interface HttpRequestTemplate
-
public interface HttpRequestTemplateThis interface is used to represent an Intruder request template, which contains the HTTP request and insertion point offsets.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteArraycontent()static HttpRequestTemplatehttpRequestTemplate(ByteArray content, java.util.List<Range> insertionPointOffsets)This method is a helper method used to generate newHttpRequestTemplateinstance from an HTTP request in a byte array form and a list of insertion point offsets.static HttpRequestTemplatehttpRequestTemplate(HttpRequest request, java.util.List<Range> insertionPointOffsets)This method is a helper method used to generate a newHttpRequestTemplateinstance from anHttpRequestobject and a list of insertion point offsets.java.util.List<Range>insertionPointOffsets()This method is used to obtain insertion point offsets for an Intruder attack.
-
-
-
Method Detail
-
httpRequestTemplate
static HttpRequestTemplate httpRequestTemplate(HttpRequest request, java.util.List<Range> insertionPointOffsets)
This method is a helper method used to generate a newHttpRequestTemplateinstance from anHttpRequestobject and a list of insertion point offsets.- Parameters:
request- An instance ofHttpRequest.insertionPointOffsets- List of insertion point offsets.- Returns:
- A new instance of
HttpRequestTemplate.
-
httpRequestTemplate
static HttpRequestTemplate httpRequestTemplate(ByteArray content, java.util.List<Range> insertionPointOffsets)
This method is a helper method used to generate newHttpRequestTemplateinstance from an HTTP request in a byte array form and a list of insertion point offsets.- Parameters:
content- An HTTP request in a byte array form.insertionPointOffsets- List of insertion point offsets.- Returns:
- A new instance of
HttpRequestTemplate.
-
content
ByteArray content()
- Returns:
- Content of the request template.
-
-