hacks icon indicating copy to clipboard operation
hacks copied to clipboard

Scanner_Updated.go

Open sajeeds4 opened this issue 2 years ago • 1 comments

  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.

sajeeds4 avatar Mar 08 '23 04:03 sajeeds4

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 :)

vitorfhc avatar Mar 08 '23 11:03 vitorfhc