|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInterceptedProxyMessage
This interface is used to represent an HTTP message that has been intercepted
by Burp Proxy. Extensions can register an
IProxyListener
to receive details of proxy messages using this
interface. *
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
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
Method Detail |
---|
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()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |