Skip to content

Commit 0bf2099

Browse files
committed
Fix more doc
1 parent 5a4c3a8 commit 0bf2099

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/msf/util/exe.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class EXE
2121
require 'msf/core/exe/segment_injector'
2222
require 'msf/core/exe/segment_appender'
2323

24-
# self.set_template_default
2524
# Generates a default template
2625
#
2726
# @param opts [Hash] The options hash
@@ -490,9 +489,9 @@ def self.string_to_pushes(string)
490489
#
491490
# @param code [String]
492491
# @param opts [Hash]
493-
# @option opts [Hash] :exe_type
494-
# @option opts [Hash] :service_exe
495-
# @option opts [Hash] :sub_method
492+
# @option opts [Symbol] :exe_type
493+
# @option opts [String] :service_exe
494+
# @option opts [Boolean] :sub_method
496495
# @return [String]
497496
def self.exe_sub_method(code,opts ={})
498497
pe = self.get_file_contents(opts[:template])
@@ -2277,8 +2276,9 @@ def self.get_file_contents(file, perms = "rb")
22772276

22782277
# self.find_payload_tag
22792278
#
2280-
# @param mo [Array]
2279+
# @param mo [String]
22812280
# @param err_msg [String]
2281+
# @raise [RuntimeError] if the "PAYLOAD:" is not found
22822282
# @return [Fixnum]
22832283
def self.find_payload_tag(mo, err_msg)
22842284
bo = mo.index('PAYLOAD:')

0 commit comments

Comments
 (0)