diff --git a/lib/msf/core/exploit/cmdstager.rb b/lib/msf/core/exploit/cmdstager.rb index 7dcc3c43bb..9e738da248 100644 --- a/lib/msf/core/exploit/cmdstager.rb +++ b/lib/msf/core/exploit/cmdstager.rb @@ -154,7 +154,7 @@ module Exploit::CmdStager # Returns a hash with the :decoder option if possible # - # @params opts [Hash] Input Hash. + # @param opts [Hash] Input Hash. # @return [Hash] Hash with the input data and a :decoder option when # possible. def opts_with_decoder(opts = {}) @@ -279,7 +279,7 @@ module Exploit::CmdStager # Answers if the input flavor is compatible with the current target or module. # # @param f [Symbol] The flavor to check - # @returns [Boolean] true if compatible, false otherwise. + # @return [Boolean] true if compatible, false otherwise. def compatible_flavor?(f) return true if target_flavor.nil? case target_flavor.class.to_s diff --git a/lib/msf/core/modules/loader/directory.rb b/lib/msf/core/modules/loader/directory.rb index a5712125ce..0b61a1b02d 100644 --- a/lib/msf/core/modules/loader/directory.rb +++ b/lib/msf/core/modules/loader/directory.rb @@ -18,7 +18,7 @@ class Msf::Modules::Loader::Directory < Msf::Modules::Loader::Base # Yields the module_reference_name for each module file found under the directory path. # # @param [String] path The path to the directory. - # @param [Array] modules An array of regex patterns to search for specific modules + # @param [Hash] opts Input Hash. # @yield (see Msf::Modules::Loader::Base#each_module_reference_name) # @yieldparam [String] path The path to the directory. # @yieldparam [String] type The type correlated with the directory under path. diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index e16c68ac1a..c10fa5b899 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -1802,7 +1802,7 @@ class Db # Miscellaneous option helpers # - # Parse +arg+ into a {RangeWalker} and append the result into +host_ranges+ + # Parse +arg+ into a {Rex::Socket::RangeWalker} and append the result into +host_ranges+ # # @note This modifies +host_ranges+ in place #