EXITFUNC option should be an OptEnum.

bug/bundler_fix
Joe Vennix 2014-02-19 03:06:15 -06:00
parent de06480f4f
commit 212ebb568c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module Msf::Payload::Windows
register_options(
[
Msf::OptRaw.new('EXITFUNC', [ true, "Exit technique: #{@@exit_types.keys.join(", ")}", 'process' ])
Msf::OptEnum.new('EXITFUNC', [true, 'Exit technique', 'process', @@exit_types.keys])
], Msf::Payload::Windows )
ret
end