Testing custom scan checks

You can test custom scan checks to confirm that they work as expected. There are two ways to do this:

Testing a custom check in the editor

You can test your custom scan checks directly in the Custom scan checks editor. When you run a test, Burp Scanner applies the scan check to pre-selected HTTP messages and reports the results.

To test a custom scan check:

  1. Go to Extensions > Custom scan checks.

  2. Click New or Edit to open the Custom scan checks editor.

  3. From anywhere in Burp, select the HTTP messages you want to test.

  4. Right-click and select Send to Custom scan checks editor.

  5. Go to the Custom scan checks editor and make sure the Scan check tab is selected.

  6. In the Select custom scan check test cases panel, use the checkboxes to select the specific messages to use in your test.

  7. Click Run test. Burp Scanner runs the custom scan check against the selected test cases.

The bottom panel of the editor displays the number of requests sent, issues raised, and errors found. It also displays the following tabs:

For more information on reviewing scans, see Viewing scan results.

Note

To stop a running test, click Cancel test.

Related pages

Creating custom scan checks

Managing test cases

From the Select custom scan check test cases panel, you can perform the following actions on your test case messages:

To hide the Select custom scan check test cases panel, click the Test cases tab in the sidebar.

Running a test scan

To test more than one custom scan checks at a time you can configure Burp Scanner to run a scan that only uses your custom scan checks:

  1. In the scan launcher, go to the Scan configuration tab.

  2. From the dropdown, select the type of scan configuration you want to use.

  3. Under Audit configuration, click Scan checks.

  4. In the settings panel, go to the Built-in tab and toggle the top checkbox to disable all the built-in scan checks.

  5. Go to the Extensions tab and toggle Enabled to disable all the extension-provided scan checks.

  6. Go to the Custom tab and use the checkboxes to disable or enable specific custom scan checks.

Burp Scanner will only include the enabled custom scan checks when auditing.

Related pages