Skip to content

Commit fe5ddc0

Browse files
committed
Fix return documentation
1 parent b0042f1 commit fe5ddc0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

lib/metasploit/framework/login_scanner/http.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ def check_setup
190190
# Sends a HTTP request with Rex
191191
#
192192
# @param [Hash] opts native support includes the following (also see Rex::Proto::Http::Request#request_cgi)
193-
# @option opts[String] 'host' The remote host
194-
# @option opts[Fixnum] 'port' The remote port
195-
# @option opts[Boolean] 'ssl' The SSL setting, TrueClass or FalseClass
196-
# @option opts[String] 'proxies' The proxies setting
197-
# @option opts[Credential] 'credential' A credential object
198-
# @option opts['Hash'] 'context' A context
193+
# @option opts [String] 'host' The remote host
194+
# @option opts [Fixnum] 'port' The remote port
195+
# @option opts [Boolean] 'ssl' The SSL setting, TrueClass or FalseClass
196+
# @option opts [String] 'proxies' The proxies setting
197+
# @option opts [Credential] 'credential' A credential object
198+
# @option opts ['Hash'] 'context' A context
199199
# @raise [Rex::ConnectionError] One of these errors has occured: EOFError, Errno::ETIMEDOUT, Rex::ConnectionError, ::Timeout::Error
200200
# @return [Rex::Proto::Http::Response] The HTTP response
201201
# @return [NilClass] An error has occured while reading the response (see #Rex::Proto::Http::Client#read_response)

lib/msf/core/exploit/smb/client/psexec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def service_name
4444
# Retrieve the SERVICE_DISPLAY_NAME option, generate a random
4545
# one if not already set.
4646
#
47-
# @return [String] service_display_name the display name of the service.
47+
# @return [String] the display name of the service.
4848
def display_name
4949
@display_name ||= datastore['SERVICE_DISPLAY_NAME']
5050
@display_name ||= Rex::Text.rand_text_alpha(16)

lib/msf/http/jboss/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def http_verb
5050
# Try to auto detect the target architecture and platform
5151
#
5252
# @param [Array] available_targets The available targets
53-
# @return [Msf::Module::Target, nil] java_targets The detected target or nil
53+
# @return [Msf::Module::Target, nil] The detected target or nil
5454
def auto_target(available_targets)
5555
if http_verb == 'HEAD'
5656
print_status("Sorry, automatic target detection doesn't work with HEAD requests")

0 commit comments

Comments
 (0)