File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ class EXE
21
21
require 'msf/core/exe/segment_injector'
22
22
require 'msf/core/exe/segment_appender'
23
23
24
- # self.set_template_default
25
24
# Generates a default template
26
25
#
27
26
# @param opts [Hash] The options hash
@@ -490,9 +489,9 @@ def self.string_to_pushes(string)
490
489
#
491
490
# @param code [String]
492
491
# @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
496
495
# @return [String]
497
496
def self . exe_sub_method ( code , opts = { } )
498
497
pe = self . get_file_contents ( opts [ :template ] )
@@ -2277,8 +2276,9 @@ def self.get_file_contents(file, perms = "rb")
2277
2276
2278
2277
# self.find_payload_tag
2279
2278
#
2280
- # @param mo [Array ]
2279
+ # @param mo [String ]
2281
2280
# @param err_msg [String]
2281
+ # @raise [RuntimeError] if the "PAYLOAD:" is not found
2282
2282
# @return [Fixnum]
2283
2283
def self . find_payload_tag ( mo , err_msg )
2284
2284
bo = mo . index ( 'PAYLOAD:' )
You can’t perform that action at this time.
0 commit comments