Skip to content

Commit ce4aa60

Browse files
committed
change DECODER OptString to OptEnum per egypt's recommendation
1 parent 4c87b1b commit ce4aa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/cmdstager_bourne.rb

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

2222
register_advanced_options(
2323
[
24-
OptString.new( 'DECODER', [ true, 'The decoding binary to use. (base64, openssl, python, perl)', 'base64']),
24+
OptEnum.new( 'DECODER', [ true, 'The decoding binary to use', 'base64', ['base64', 'openssl', 'python', 'perl']]),
2525
], self.class)
2626
end
2727

0 commit comments

Comments
 (0)