Cyber Risks · PortSwigger Research

Troubleshooting scripts - Port Swigger

Summary: PortSwigger's guide explains that Burp highlights compilation errors in real time as scripts are written, and these must be resolved before a script can be applied. Runtime errors appear as warnings in the relevant Burp tool after a script is applied, and can be debugged using logging.logToOutput and logging.logToError, which print messages to the Console tab after clicking Apply.

Why it matters: The logging interface that surfaces debug output is unavailable in the Bambda library editor, so anyone debugging scripts there has to rely on the Compilation errors tab alone.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related