EXITFUNC option should be an OptEnum.
parent
de06480f4f
commit
212ebb568c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue