Package burp.api.montoya.intruder
Interface PayloadProcessingResult
-
public interface PayloadProcessingResultAn instance of this interface should be returned byPayloadProcessor.processPayload(burp.api.montoya.intruder.Payload, burp.api.montoya.intruder.Payload, burp.api.montoya.intruder.IntruderInsertionPoint)if a customPayloadProcessorwas registered with Intruder.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description PayloadProcessingActionaction()This method is called by Burp to see what action it should perform with the payload.ByteArrayprocessedPayload()static PayloadProcessingResultskipPayload()This method is a helper method to create a new instance ofPayloadProcessingResultwith aPayloadProcessingAction.SKIP_PAYLOADaction.static PayloadProcessingResultusePayload(ByteArray processedPayload)This method is a helper method to create a new instance ofPayloadProcessingResultwith aPayloadProcessingAction.USE_PAYLOADaction.
-
-
-
Method Detail
-
usePayload
static PayloadProcessingResult usePayload(ByteArray processedPayload)
This method is a helper method to create a new instance ofPayloadProcessingResultwith aPayloadProcessingAction.USE_PAYLOADaction.- Parameters:
processedPayload- Processed payload value- Returns:
- A new
PayloadProcessingResultinstance.
-
skipPayload
static PayloadProcessingResult skipPayload()
This method is a helper method to create a new instance ofPayloadProcessingResultwith aPayloadProcessingAction.SKIP_PAYLOADaction.- Returns:
- A new
PayloadProcessingResultinstance.
-
processedPayload
ByteArray processedPayload()
- Returns:
- The current value of the processed payload.
-
action
PayloadProcessingAction action()
This method is called by Burp to see what action it should perform with the payload. If the value isPayloadProcessingAction.USE_PAYLOAD, Burp will use the payload in the attack or skip it if the value isPayloadProcessingAction.SKIP_PAYLOAD.- Returns:
- Action to perform with the payload.
-
-