Skip to content

v2‐beta additional features

Josh edited this page Feb 9, 2024 · 1 revision

v2-beta

This is the second iteration of the BCheck language, released in Burp Suite Professional 2023.10.2 in September 2023.

New features

Path-level BChecks

This will allow BChecks to be run on a path-level basis, i.e. executed once per path. E.g. if a host has audit items /example/alpha.php and /example/beta.php then a per path BCheck will only be executed once. Path level BChecks use the construct:

given path then

The Path-level BCheck template which checks for exposed backup files is an example of a path level BCheck.

Insertion point base value

In insertion point-level BChecks, you can now access the insertion point base value using the pre-defined variable insertion_point_base_value.

You can see an example of this in this BCheck.

Raise issue and continue

You can now raise an issue through a BCheck without causing the check to finish execution. This can be useful with the run for each construct.

You can use this functionality with the report issue and continue syntax. You can see an example of this in this BCheck.

Retrieving Burp's user-agent string

You can retrieve Burp's user-agent string within a BCheck using the pre-defined variable user_agent. This is useful when issuing raw requests.

Setting the issue name

You can specify the name of the issue raised in a BCheck using the name attribute in the report issue block. This is useful when a single BCheck can raise multiple issues.

Retrieving request query string

You can now retrieve the query string from the request being sent using the pre-defined variable query_string.

For an example, see this BCheck.