Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Count how many times a specified character or regular is matched in the response #210

Closed
jiangchangxiao opened this issue Jun 6, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@jiangchangxiao
Copy link

Hello.
I am using Bchecks to find sensitive information in the response, such as "token".
The Bchecks I wrote always generate false positives when testing the login function. Because logging into the server will definitely return the user's token information. I would like to ask if Bchecks can count the number of times regular matches are made, for example, in Example 1, when two tokens are found, the problem is reported

Example 1 【need report】

{ "data": [{ "industry_name": "a", "token": "xxxx", }, { "industry_name": "b", "token": "xxxxxx", }] }

No report example

{ "industry_name": "a", "token": "xxxx", }
I am now checking if there are "login" characters in the requested URL to reduce false positives, but this is always missing. If there is a better way, please let me know. Thank you very much.

@jiangchangxiao jiangchangxiao added the enhancement New feature or request label Jun 6, 2024
@Michelle-PortSwigger Michelle-PortSwigger added the duplicate This issue or pull request already exists label Jun 6, 2024
@Michelle-PortSwigger
Copy link
Contributor

Hi

We have had similar queries in the past (#97) so we'll link this together to track the feature request. I can't promise any timescales.

@jiangchangxiao
Copy link
Author

Ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Development

No branches or pull requests

2 participants