Working With Burp Projects
Burp projects are used to manage your work on different tasks or target applications. You can create two types of Burp projects:
- Temporary projects are useful for quick tasks where your work doesn't need to be saved. All data is held in memory, and is lost when Burp exits.
- Disk-based projects allow you to save your work and resume it later. All data is held on disk in a project file.
Burp project files hold all of the data and configuration for a particular piece of work. Data is saved incrementally into the file as you work. There is no need to specifically "save" your work when you are finished.
You can reopen an existing project when Burp starts, using the startup wizard or command line arguments . Burp will reload the project's data and configuration, and you can resume working where you left off.
Note: Testing of some applications can generate significant amounts of data, and so Burp project files can potentially grow to be very large (e.g. several gigabytes in size). You should ensure that you have sufficient free disk space available when using Burp project files.
You can use configuration files to manage different Burp configurations for particular tasks. For example, you might need to load a particular configuration when working on a particular client. Or you might create different configurations for different types of scans.
User and Project Configuration Files
Separate configuration files can be used to manage user-level and project-level options.
User configuration files contain options relating to the individual user's environment and UI, including:
- Everything in the User options tab.
- The Extender tool, including the list of configured extensions.
- UI-related options in other tools, such as the selected view of the Target site map.
Project configuration files contain options relating to the work that is being performed on a particular target application, including:
- Everything in the Project options tab.
- Non-UI-related options in individual Burp tools, such as Proxy and Scanner.
Loading and Saving Configuration Files
You can load and save configuration files in various ways:
- From the Burp menu, you can load or save configuration files for all user-level or project-level options.
- From individual configuration panels throughout Burp, you can use the "Options" button to load or save the configuration for just that panel.
- In the startup wizard , when creating or reopening a project, you can specify a configuration file from which to load project-level options.
- When starting Burp from the command line, you can use command line arguments to specify one or more configuration files from which to load user-level or project-level options.
- Burp extensions can load or save configuration file contents via the API.
Configuration File Format
Configuration files use the JSON format. The structure and naming scheme used within the JSON correspond to the way that options are presented within the Burp UI. The easiest way to generate a configuration file for a particular purpose is to create the desired configuration within the Burp UI and save a configuration file from it. If preferred, you can also hand-edit an existing configuration file, since the contents are human-readable and self-documenting.
Partial configuration files can be used when needed. You can create a partial configuration file by saving the configuration of just one area of Burp, via the "Options" button on each configuration panel, or by removing the unneeded sections from a full configuration file. When configuration is loaded from a partial configuration file, any options that are not defined within that file are left unchanged. This allows you to create small focused partial configuration files for common purposes, and load them when required to create a desired overall configuration.