Skip to content

Scanner_Updated.go#1

Open
sajeeds4 wants to merge 1 commit intovitorfhc:mainfrom
sajeeds4:patch-1
Open

Scanner_Updated.go#1
sajeeds4 wants to merge 1 commit intovitorfhc:mainfrom
sajeeds4:patch-1

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