Scanner_Updated.go
-
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.
-
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.
-
Added a ScanRequestHeaders method which sends a request with a random header and checks if the header is reflected in the response.
-
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.
-
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.
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 :)