Sha256: ede1b7368ba97973debc04d044d0d959857d2103fa5eb0d7c01bfcccbbf38b86

Contents?: true

Size: 1.12 KB

Versions: 8

Compression:

Stored size: 1.12 KB

Contents

class Buby
  # Extensions can implement this interface and then call
  # {Buby#registerHttpListener} to register a Proxy listener. The listener will
  # be notified of requests and responses being processed by the Proxy tool.
  # Extensions can perform custom analysis or modification of these messages,
  # and control in-UI message interception, by registering a proxy listener.
  #
  class ProxyListener
    include Java::Burp::IProxyListener
    # This method is invoked when an HTTP message is being processed by the
    # Proxy.
    #
    # @param [Boolean] messageIsRequest Indicates whether the HTTP message is a
    #   request or a response.
    # @param [IInterceptedProxyMessage] message An +IInterceptedProxyMessage+
    #   object that extensions can use to query and update details of the
    #   message, and control whether the message should be intercepted and
    #   displayed to the user for manual review or modification.
    # @return [void]
    #
    def processProxyMessage(messageIsRequest, message)
      pp [:got_processProxyMessage] if $debug
      Buby::Implants::InterceptedProxyMessage.implant message
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
buby-1.6.0-java lib/buby/proxy_listener.rb
buby-1.5.2-java lib/buby/proxy_listener.rb
buby-1.5.1-java lib/buby/proxy_listener.rb
buby-1.5.0-java lib/buby/proxy_listener.rb
buby-1.5.0.pre4-java lib/buby/proxy_listener.rb
buby-1.5.0.pre3-java lib/buby/proxy_listener.rb
buby-1.5.0.pre2-java lib/buby/proxy_listener.rb
buby-1.5.0.pre1-java lib/buby/proxy_listener.rb