-
-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #692 http_redirect_scan module scans for target websites returning 3xx response code and redirecting users to a different location
- Loading branch information
1 parent
bcc5bb6
commit d6eefe7
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
info: | ||
name: http_redirect_scan | ||
author: OWASP Nettacker Team | ||
severity: 3 | ||
description: HTTP Redirect scan checks if a target website responds with a 3xx status code | ||
reference: | ||
profiles: | ||
- scan | ||
- http | ||
- backup | ||
- low_severity | ||
|
||
payloads: | ||
- library: http | ||
steps: | ||
- method: get | ||
timeout: 3 | ||
headers: | ||
User-Agent: "{user_agent}" | ||
allow_redirects: false | ||
ssl: false | ||
url: | ||
nettacker_fuzzer: | ||
input_format: "{{schema}}://{target}:{{ports}}/" | ||
prefix: "" | ||
suffix: "" | ||
interceptors: | ||
data: | ||
schema: | ||
- "http" | ||
- "https" | ||
ports: | ||
- 80 | ||
- 443 | ||
response: | ||
condition_type: or | ||
log: "response_dependent['status_code'] response_dependent['headers']['Location']" | ||
conditions: | ||
status_code: | ||
regex: 3\d\d | ||
reverse: false | ||
headers: | ||
Location: | ||
regex: .* | ||
reverse: false |