Package burp.mcp.util

Class CrawlTracker

java.lang.Object
burp.mcp.util.CrawlTracker

public final class CrawlTracker extends Object
Holds live Crawl handles by ID so agents can poll and stop crawls across MCP calls. Burp's Crawl.statusMessage() is unimplemented, but the request/error counters work — hence polling by ID instead of one-shot status reads.
  • Method Details

    • track

      public static String track(burp.api.montoya.scanner.Crawl crawl)
      Store a crawl, returning its tracking ID.
    • get

      public static burp.api.montoya.scanner.Crawl get(String crawlId)
      Look up a crawl or throw for unknown IDs (stopped or never existed).
    • forget

      public static void forget(String crawlId)
      Drop a crawl from tracking (after delete, or on lookup failure).
    • trackedCount

      public static int trackedCount()
    • clear

      public static void clear()