PortSwigger / BChecks

BChecks collection for Burp Suite Professional and Burp Suite Enterprise Edition
https://portswigger.net/burp/documentation/scanner/bchecks
GNU Lesser General Public License v3.0
606 stars 107 forks source link

Added Endpoint Detection Checks #46

Closed puzzlepeaches closed 1 year ago

puzzlepeaches commented 1 year ago

The following bchecks were added in this pull request:

These checks are unique in looking for file disclosure in that they don't just look at the site's root page but all directories discovered during a crawl. For example, if the following URL is discovered:

The checks look for git config files trailing the login directory like so:

xElkomy commented 1 year ago

why you use replace path?

PortSwiggerWiener commented 1 year ago

This check will cause a number of duplicated requests if there are multiple files within a given path. Also the use of the regex is a little opaque.

Can you please raise an issue (or issues) as these checks seem to highlight some areas of the language that need enhancement.