ProfessionalCommunity Edition

Creating scripts

  • Last updated: July 17, 2025

  • Read time: 3 Minutes

Bambdas are lightweight, reusable Java-based scripts that enable you to fine-tune and extend Burp Suite's functionality. They can be used for tasks such as creating custom match-and-replace rules, table columns, and filters.

You can create scripts from the following locations:

  • Bambda library - Create any type of script, starting from a built-in template or a blank definition.

  • Specific Burp tools - Create scripts directly in certain tools.

Before you begin, we recommend exploring our Bambdas GitHub repository. There may be an existing script that meets your needs or provides inspiration for creating your own.

Warning

Slow running or resource-intensive scripts can slow down Burp. Write your script carefully to minimize performance impact.

Creating scripts in the Bambda library

In the Bambda library you can create new scripts using built-in templates or from a blank definition. After saving scripts to your library you can load and apply them across Burp.

To create a new script in your library:

  1. Go to Extensions > Bambda library.

  2. Click New and select either Blank or From template.

  3. If you selected From template, select a template from the list, then click Create using this template.

  4. Click the name field and enter a unique name.

  5. Click the Function drop-down menu and select the task that the script will perform.

  6. Click the Location drop-down menu and select the Burp tool where you want to use the script.

  7. Write the script in Java.

  8. Click Save. The script is saved to your library. Any errors are shown in the Compilation errors panel. You must resolve these before you can apply your script. For more information, see Troubleshooting scripts.

  9. Click Save & close.

Note

Press Ctrl + S or Cmd + S to quickly save your scripts.

Related pages

Creating scripts from specific Burp tools

Many tools in Burp enable you to create and apply scripts directly. For more information, see the feature-specific instructions.

Filtering tables

For instructions on how to create scripts for filtering tables, see the following pages:

Adding custom columns

For instructions on how to create scripts for adding custom columns to tables, see the following pages:

Adding custom actions

Custom actions are tasks that you can apply to HTTP messages in Burp Repeater to extract, transform, and analyze data.

For instructions on how to create custom actions in Burp, see Custom actions.

For guidance on writing custom actions, see Writing custom actions.

Adding match and replace rules

Match and replace rules automatically replace parts of HTTP messages as they pass through the proxy.

For instructions on how to create HTTP match and replace rules with scripts, see Creating HTTP match and replace rules with scripts.