Package burp.api.montoya.scope
Interface Scope
-
public interface ScopeThis interface provides access to the functionality related to Burp's Suite-wide target scope.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexcludeFromScope(java.lang.String url)This method can be used to exclude the specified URL from the Suite-wide target scope.voidincludeInScope(java.lang.String url)This method can be used to include the specified URL in the Suite-wide target scope.booleanisInScope(java.lang.String url)This method can be used to query whether a specified URL is within the current Suite-wide target scope.RegistrationregisterHandler(ScopeChangeHandler handler)This method is used to register a handler which will be notified of changes to Burp's Suite-wide target scope.
-
-
-
Method Detail
-
isInScope
boolean isInScope(java.lang.String url)
This method can be used to query whether a specified URL is within the current Suite-wide target scope.- Parameters:
url- The URL to query.- Returns:
- Returns
trueif the URL is within the current Suite-wide target scope.
-
includeInScope
void includeInScope(java.lang.String url)
This method can be used to include the specified URL in the Suite-wide target scope.- Parameters:
url- The URL to include in the Suite-wide target scope.
-
excludeFromScope
void excludeFromScope(java.lang.String url)
This method can be used to exclude the specified URL from the Suite-wide target scope.- Parameters:
url- The URL to exclude from the Suite-wide target scope.
-
registerHandler
Registration registerHandler(ScopeChangeHandler handler)
This method is used to register a handler which will be notified of changes to Burp's Suite-wide target scope.- Parameters:
handler- An object created by the extension that implements theScopeChangeHandlerinterface.- Returns:
- The
Registrationfor the handler.
-
-