lib/ronin/vulns/cli/web_vuln_command.rb in ronin-vulns-0.1.0.beta1 vs lib/ronin/vulns/cli/web_vuln_command.rb in ronin-vulns-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
#
# ronin-vulns - A Ruby library for blind vulnerability testing.
#
-# Copyright (c) 2007-2022 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2022-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# ronin-vulns is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@@ -189,11 +189,11 @@
# The URL query params to test.
#
# @return [Set<String>, nil]
attr_reader :test_query_params
- # Indiciates whether to test all of the query params of the URL.
+ # Indicates whether to test all of the query params of the URL.
#
# @return [Boolean, nil]
attr_reader :test_all_query_params
# The HTTP Header names to test.
@@ -204,11 +204,11 @@
# The HTTP Cookie to test.
#
# @return [Set<String>, nil]
attr_reader :test_cookie_params
- # Indiciates whether to test all `Cookie` params for the URL.
+ # Indicates whether to test all `Cookie` params for the URL.
#
# @return [Boolean, nil]
attr_reader :test_all_cookie_params
# The form params to test.
@@ -250,11 +250,11 @@
exit(-1)
end
end
#
- # Prcesses a URL.
+ # Processes a URL.
#
# @param [String] url
# A URL to scan.
#
def process_url(url)
@@ -307,11 +307,11 @@
return kwargs
end
#
- # Scans a URL for web vulnerabiltiies.
+ # Scans a URL for web vulnerabilities.
#
# @param [String] url
# The URL to scan.
#
# @yield [vuln]
@@ -325,10 +325,10 @@
def scan_url(url,&block)
raise(NotImplementedError,"#{self.class}#scan_url was not defined")
end
#
- # Tests a URL for web vulnerabiltiies.
+ # Tests a URL for web vulnerabilities.
#
# @param [String] url
# The URL to test.
#
# @return [WebVuln, nil] vuln