Skip to main content
Glama

burp_export

Export Burp Suite security scan results in XML, HTML, or JSON formats for analysis and reporting during penetration testing assessments.

Instructions

Export Burp Suite scan results

Input Schema

NameRequiredDescriptionDefault
formatNoExport format (default: xml)
output_pathNoOutput file path (optional)

Input Schema (JSON Schema)

{ "properties": { "format": { "description": "Export format (default: xml)", "enum": [ "xml", "html", "json" ], "type": "string" }, "output_path": { "description": "Output file path (optional)", "type": "string" } }, "required": [], "type": "object" }

Implementation Reference

  • The core handler function `exportResults` in BurpSuiteIntegration class that fetches the scan report from Burp API and saves it to a file in the specified format.
    async exportResults(format: 'xml' | 'html' | 'json' = 'xml', outputPath?: string): Promise<ScanResult> { try { console.error(`📄 Exporting Burp results in ${format} format`); const exportResponse = await axios.get(`${this.apiBaseUrl}/v0.1/scan/report`, { params: { format } }); const timestamp = new Date().toISOString().replace(/[:.]/g, '-'); const filename = outputPath || `burp-report-${timestamp}.${format}`; fs.writeFileSync(filename, exportResponse.data); return { target: 'export', timestamp: new Date().toISOString(), tool: 'burpsuite_export', results: { export_format: format, output_file: filename, file_size: fs.statSync(filename).size }, status: 'success' }; } catch (error) { return { target: 'export', timestamp: new Date().toISOString(), tool: 'burpsuite_export', results: {}, status: 'error', error: error instanceof Error ? error.message : String(error) }; } }
  • src/index.ts:467-482 (registration)
    Tool registration in the listTools handler, defining the name, description, and input schema for 'burp_export'.
    { name: "burp_export", description: "Export Burp Suite scan results", inputSchema: { type: "object", properties: { format: { type: "string", enum: ["xml", "html", "json"], description: "Export format (default: xml)" }, output_path: { type: "string", description: "Output file path (optional)" } }, required: [] } }
  • Input schema definition for the burp_export tool, specifying parameters format and output_path.
    inputSchema: { type: "object", properties: { format: { type: "string", enum: ["xml", "html", "json"], description: "Export format (default: xml)" }, output_path: { type: "string", description: "Output file path (optional)" } }, required: [] }
  • Dispatch handler in the main switch statement that calls the BurpSuiteIntegration.exportResults method.
    case "burp_export": return respond(await this.burpSuite.exportResults(args.format || 'xml', args.output_path));

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adriyansyah-mf/mcp-pentest'

If you have feedback or need assistance with the MCP directory API, please join our Discord server