public interface IInterceptedProxyMessage
IProxyListener
to receive details of proxy messages using this
interface. *Modifier and Type | Field and Description |
---|---|
static int |
ACTION_DO_INTERCEPT
This action causes Burp Proxy to present the message to the user for
manual review or modification.
|
static int |
ACTION_DO_INTERCEPT_AND_REHOOK
This action causes Burp Proxy to present the message to the user for
manual review or modification, and then make a second call to
processProxyMessage.
|
static int |
ACTION_DONT_INTERCEPT
This action causes Burp Proxy to forward the message to the remote server
or client, without presenting it to the user.
|
static int |
ACTION_DONT_INTERCEPT_AND_REHOOK
This action causes Burp Proxy to skip user interception, and then make a
second call to processProxyMessage.
|
static int |
ACTION_DROP
This action causes Burp Proxy to drop the message.
|
static int |
ACTION_FOLLOW_RULES
This action causes Burp Proxy to follow the current interception rules to
determine the appropriate action to take for the message.
|
static int |
ACTION_FOLLOW_RULES_AND_REHOOK
This action causes Burp Proxy to follow the current interception rules to
determine the appropriate action to take for the message, and then make a
second call to processProxyMessage.
|
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getClientIpAddress()
This method retrieves the client IP address from which the request for
the intercepted message was received.
|
int |
getInterceptAction()
This method retrieves the currently defined interception action.
|
java.lang.String |
getListenerInterface()
This method retrieves the name of the Burp Proxy listener that is
processing the intercepted message.
|
IHttpRequestResponse |
getMessageInfo()
This method retrieves details of the intercepted message.
|
int |
getMessageReference()
This method retrieves a unique reference number for this
request/response.
|
void |
setInterceptAction(int interceptAction)
This method is used to update the interception action.
|
static final int ACTION_FOLLOW_RULES
static final int ACTION_DO_INTERCEPT
static final int ACTION_DONT_INTERCEPT
static final int ACTION_DROP
static final int ACTION_FOLLOW_RULES_AND_REHOOK
static final int ACTION_DO_INTERCEPT_AND_REHOOK
static final int ACTION_DONT_INTERCEPT_AND_REHOOK
int getMessageReference()
IHttpRequestResponse getMessageInfo()
IHttpRequestResponse
object containing details of
the intercepted message.int getInterceptAction()
ACTION_FOLLOW_RULES
. If multiple proxy listeners are
registered, then other listeners may already have modified the
interception action before it reaches the current listener. This method
can be used to determine whether this has occurred.void setInterceptAction(int interceptAction)
interceptAction
- The new interception action. Possible values are
defined within this interface.java.lang.String getListenerInterface()
java.net.InetAddress getClientIpAddress()