Skip to content

Commit d0780cd

Browse files
committed
Land rapid7#3010 - EXITFUNC as OptEnum
2 parents c981bbe + 212ebb5 commit d0780cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/payload/windows.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def initialize(info = {})
7272

7373
register_options(
7474
[
75-
Msf::OptRaw.new('EXITFUNC', [ true, "Exit technique: #{@@exit_types.keys.join(", ")}", 'process' ])
75+
Msf::OptEnum.new('EXITFUNC', [true, 'Exit technique', 'process', @@exit_types.keys])
7676
], Msf::Payload::Windows )
7777
ret
7878
end

0 commit comments

Comments
 (0)