Remove nil values that are default already

There are four lights!
bug/bundler_fix
William Vu 2017-03-15 15:51:22 -05:00
parent 04f11b0bf7
commit 456ddcebc0
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ class MetasploitModule < Msf::Post
register_options(
[
OptBool.new( 'SPAWN',[ false,'Spawn process to migrate to. If name for process not given notepad.exe is used.', true]),
OptInt.new( 'PID', [false, 'PID of process to migrate to.', nil]),
OptString.new( 'NAME', [false, 'Name of process to migrate to.', nil]),
OptInt.new( 'PID', [false, 'PID of process to migrate to.']),
OptString.new( 'NAME', [false, 'Name of process to migrate to.']),
OptBool.new( 'KILL', [false, 'Kill original process for the session.', false])
], self.class)
end