Class: Buby::ProxyListener

Inherits:
Object show all
Includes:
Java::Burp::IProxyListener
Defined in:
lib/buby/proxy_listener.rb

Overview

Extensions can implement this interface and then call #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.

Instance Method Summary collapse

Instance Method Details

#processProxyMessage(messageIsRequest, message) ⇒ void

This method returns an undefined value.

This method is invoked when an HTTP message is being processed by the Proxy.



21
22
23
24
# File 'lib/buby/proxy_listener.rb', line 21

def processProxyMessage(messageIsRequest, message)
  pp [:got_processProxyMessage] if $debug
  Buby::Implants::InterceptedProxyMessage.implant message
end