Class: Buby::IntruderPayloadGeneratorFactory
- Includes:
- Java::Burp::IIntruderPayloadGeneratorFactory
- Defined in:
- lib/buby/intruder_payload_generator_factory.rb
Overview
Extensions can implement this interface and then call #registerIntruderPayloadGeneratorFactory to register a factory for custom Intruder payloads.
Instance Method Summary collapse
-
#createNewInstance(attack) ⇒ IIntruderPayloadGenerator
abstract
deprecated
Deprecated.
This will become a raw version/proxied version pair like ContextMenuFactory#createMenuItems in 2.0.
-
#getGeneratorName ⇒ String
This method is used by Burp to obtain the name of the payload generator.
Instance Method Details
#createNewInstance(attack) ⇒ IIntruderPayloadGenerator
Deprecated.
This will become a raw version/proxied version pair like ContextMenuFactory#createMenuItems in 2.0.
This method is abstract.
This method is used by Burp when the user starts an Intruder attack that uses this payload generator.
29 30 31 |
# File 'lib/buby/intruder_payload_generator_factory.rb', line 29 def createNewInstance(attack) Buby::Implants::IntruderAttack.implant(attack) end |
#getGeneratorName ⇒ String
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.
17 |
# File 'lib/buby/intruder_payload_generator_factory.rb', line 17 def getGeneratorName; self.class.name.to_java_string; end |