burp
Interface IIntruderPayloadProcessor


public interface IIntruderPayloadProcessor

Extensions can implement this interface and then call IBurpExtenderCallbacks.registerIntruderPayloadProcessor() to register a custom Intruder payload processor.


Method Summary
 java.lang.String getProcessorName()
          This method is used by Burp to obtain the name of the payload processor.
 byte[] processPayload(byte[] currentPayload, byte[] originalPayload, byte[] baseValue)
          This method is invoked by Burp each time the processor should be applied to an Intruder payload.
 

Method Detail

getProcessorName

java.lang.String getProcessorName()
This method is used by Burp to obtain the name of the payload processor. This will be displayed as an option within the Intruder UI when the user selects to use an extension-provided payload processor.

Returns:
The name of the payload processor.

processPayload

byte[] processPayload(byte[] currentPayload,
                      byte[] originalPayload,
                      byte[] baseValue)
This method is invoked by Burp each time the processor should be applied to an Intruder payload.

Parameters:
currentPayload - The value of the payload to be processed.
originalPayload - The value of the original payload prior to processing by any already-applied processing rules.
baseValue - The base value of the payload position, which will be replaced with the current payload.
Returns:
The value of the processed payload. This may be null to indicate that the current payload should be skipped, and the attack will move directly to the next payload.