Package burp.mcp.util
Class CrawlTracker
java.lang.Object
burp.mcp.util.CrawlTracker
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 Summary
Modifier and TypeMethodDescriptionstatic voidclear()static voidDrop a crawl from tracking (after delete, or on lookup failure).static burp.api.montoya.scanner.CrawlLook up a crawl or throw for unknown IDs (stopped or never existed).static Stringtrack(burp.api.montoya.scanner.Crawl crawl) Store a crawl, returning its tracking ID.static int
-
Method Details
-
track
Store a crawl, returning its tracking ID. -
get
Look up a crawl or throw for unknown IDs (stopped or never existed). -
forget
Drop a crawl from tracking (after delete, or on lookup failure). -
trackedCount
public static int trackedCount() -
clear
public static void clear()
-