Package burp.api.montoya.collaborator
Interface InteractionFilter
public interface InteractionFilter
Provides a filtering mechanism for use when retrieving
interactions from the Burp Collaborator server.
Helper methods are provided to create filters based on the interaction id
and the payload.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InteractionFilterConstruct a InteractionFilter that matches any interaction with the specified interaction id.static InteractionFilterinteractionPayloadFilter(String payload) Construct an InteractionFilter that matches any interaction with the specified payload.booleanmatches(CollaboratorServer server, Interaction interaction) This method is invoked for each interaction retrieved from the Collaborator server and determines whether the interaction should be included in the list of interactions returned.
-
Method Details
-
matches
This method is invoked for each interaction retrieved from the Collaborator server and determines whether the interaction should be included in the list of interactions returned.- Parameters:
server- The collaborator server that received the interaction.interaction- The interaction details.- Returns:
trueif the interaction should be included,falseif not.
-
interactionIdFilter
Construct a InteractionFilter that matches any interaction with the specified interaction id.- Parameters:
id- The interaction id.- Returns:
trueif the interaction has the specified id,falseif not.
-
interactionPayloadFilter
Construct an InteractionFilter that matches any interaction with the specified payload.- Parameters:
payload- The payload.- Returns:
trueif the interaction has the specified payload,falseif not.
-