INNER CODE UNIT · Python
BurpExtender
Teycir/BurpAPISecuritySuite · BurpAPISecuritySuite.py:122
class BurpExtender(
IBurpExtender, ITab, IHttpListener, IProxyListener, IContextMenuFactory
):
PARAM_URL = 0
PARAM_BODY = 1
PARAM_COOKIE = 2
PARAM_JSON = 6
AI_PREP_LAYER_ENV_VAR = "AI_PREP_LAYER"
AI_PREP_LAYER_DEFAULT_ENABLED = True
# Pre-compiled regex patterns for performance
NUMERIC_ID_PATTERN = re.compile(r"/\d+")
UUID_PATTERN = re.compile(
r"/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
re.IGNORECASE
)
OBJECTID_PATTERN = re.compile(r"/[0-9a-f]{24}")
BASE64_PATTERN = re.compile(r"[A-Za-z0-9+/]{40,}={0,2}")