Interface Scope


  • public interface Scope
    This 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
      void excludeFromScope​(java.lang.String url)
      This method can be used to exclude the specified URL from the Suite-wide target scope.
      void includeInScope​(java.lang.String url)
      This method can be used to include the specified URL in the Suite-wide target scope.
      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.
      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.
    • 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 true if 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 the ScopeChangeHandler interface.
        Returns:
        The Registration for the handler.