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

Scanner_Updated.go #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Scanner_Updated.go #1

wants to merge 1 commit into from

Conversation

sajeeds4
Copy link

@sajeeds4 sajeeds4 commented Mar 8, 2023

  1. Added a ScanAllKeyValues method which scans all possible combinations of the existing keys and values in the query and checks if they are reflected in the response.

  2. Added a ScanRequestBody method which sends a POST request with a random JSON body and checks if any part of the body is reflected in the response.

  3. Added a ScanRequestHeaders method which sends a request with a random header and checks if the header is reflected in the response.

  4. Added a ScannerOptions struct which allows you to configure the scanner with options such as the HTTP method to use, the maximum number of retries, and the timeout for requests.

  5. Refactored some of the existing code to make it more readable and reusable, such as moving the request logic to a separate doRequest function.

Overall, the enhancements provide more comprehensive and customizable scanning capabilities to help identify more potential vulnerabilities.

1. Added a ScanAllKeyValues method which scans all possible combinations of the existing keys and values in the query and checks if they are reflected in the response.

2. Added a ScanRequestBody method which sends a POST request with a random JSON body and checks if any part of the body is reflected in the response.

3. Added a ScanRequestHeaders method which sends a request with a random header and checks if the header is reflected in the response.

4. Added a ScannerOptions struct which allows you to configure the scanner with options such as the HTTP method to use, the maximum number of retries, and the timeout for requests.

5. Refactored some of the existing code to make it more readable and reusable, such as moving the request logic to a separate doRequest function.

Overall, the enhancements provide more comprehensive and customizable scanning capabilities to help identify more potential vulnerabilities.
@vitorfhc
Copy link
Owner

vitorfhc commented Mar 8, 2023

Hey @sajeeds4, thanks a lot! But did you miss committing some of your files?

Anyway, the tool will go through a lot of changes because I didn't expect so many eyes on it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants