Package burp

Interface IIntruderPayloadGeneratorFactory


  • public interface IIntruderPayloadGeneratorFactory
    Extensions can implement this interface and then call IBurpExtenderCallbacks.registerIntruderPayloadGeneratorFactory() to register a factory for custom Intruder payloads.
    • Method Detail

      • getGeneratorName

        java.lang.String getGeneratorName()
        This method is used by Burp to obtain the name of the payload generator. This will be displayed as an option within the Intruder UI when the user selects to use extension-generated payloads.
        Returns:
        The name of the payload generator.
      • createNewInstance

        IIntruderPayloadGenerator createNewInstance​(IIntruderAttack attack)
        This method is used by Burp when the user starts an Intruder attack that uses this payload generator.
        Parameters:
        attack - An IIntruderAttack object that can be queried to obtain details about the attack in which the payload generator will be used.
        Returns:
        A new instance of IIntruderPayloadGenerator that will be used to generate payloads for the attack.