-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
371 changed files
with
11,366 additions
and
8,943 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
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
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
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
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
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 |
---|---|---|
|
@@ -12,16 +12,16 @@ | |
# header field to determine whether the attack was successful. | ||
# | ||
# @author Tasos "Zapotek" Laskos <[email protected]> | ||
# @version 0.2.3 | ||
# | ||
# @see https://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards | ||
class Arachni::Checks::UnvalidatedRedirect < Arachni::Check::Base | ||
|
||
BASE_URL = "www.#{Utilities.random_seed}.com" | ||
|
||
def self.payloads | ||
@payloads ||= [ | ||
'www.arachni-boogie-woogie.com', | ||
'https://www.arachni-boogie-woogie.com', | ||
'http://www.arachni-boogie-woogie.com' | ||
BASE_URL, | ||
"https://#{BASE_URL}", | ||
"http://#{BASE_URL}" | ||
].map { |url| Arachni::URI( url ).to_s } | ||
end | ||
|
||
|
@@ -77,7 +77,7 @@ def self.info | |
}, | ||
elements: ELEMENTS_WITH_INPUTS - [Element::LinkTemplate], | ||
author: 'Tasos "Zapotek" Laskos <[email protected]>', | ||
version: '0.2.3', | ||
version: '0.2.4', | ||
|
||
issue: { | ||
name: %q{Unvalidated redirect}, | ||
|
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 |
---|---|---|
|
@@ -9,16 +9,16 @@ | |
# Unvalidated redirect DOM check. | ||
# | ||
# @author Tasos "Zapotek" Laskos <[email protected]> | ||
# @version 0.1.1 | ||
# | ||
# @see https://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards | ||
class Arachni::Checks::UnvalidatedRedirectDOM < Arachni::Check::Base | ||
|
||
BASE_URL = "www.#{Utilities.random_seed}.com" | ||
|
||
def self.payloads | ||
@payloads ||= [ | ||
'www.arachni-boogie-woogie.com', | ||
'https://www.arachni-boogie-woogie.com', | ||
'http://www.arachni-boogie-woogie.com' | ||
BASE_URL, | ||
"https://#{BASE_URL}", | ||
"http://#{BASE_URL}" | ||
].map { |url| Arachni::URI( url ).to_s } | ||
end | ||
|
||
|
@@ -54,9 +54,12 @@ def self.info | |
description: %q{ | ||
Injects URLs and checks the browser URL to determine whether the attack was successful. | ||
}, | ||
elements: DOM_ELEMENTS_WITH_INPUTS - [Element::LinkTemplate::DOM], | ||
elements: DOM_ELEMENTS_WITH_INPUTS - [ | ||
Element::LinkTemplate::DOM, | ||
Element::UIInput::DOM | ||
], | ||
author: 'Tasos "Zapotek" Laskos <[email protected]>', | ||
version: '0.1.1', | ||
version: '0.1.2', | ||
|
||
issue: { | ||
name: %q{Unvalidated DOM redirect}, | ||
|
Oops, something went wrong.