Use OptEnum to validate delivery method

unstable
sinn3r 2012-02-17 21:03:05 -06:00
parent 79ce43e3fe
commit dc4bade78c
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Metasploit3 < Msf::Exploit::Remote
))
register_options(
[
OptString.new('DELIVERY', [ true, 'Which payload delivery method to use (ps, cmd, or old)', 'old' ])
OptEnum.new('DELIVERY', [true, 'Payload delivery method', 'OLD', ['PS', 'CMD', 'OLD']])
])
end