From 456ddcebc0342db0706fdff6dee06af33257c9f7 Mon Sep 17 00:00:00 2001 From: William Vu Date: Wed, 15 Mar 2017 15:51:22 -0500 Subject: [PATCH] Remove nil values that are default already There are four lights! --- modules/post/windows/manage/migrate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/post/windows/manage/migrate.rb b/modules/post/windows/manage/migrate.rb index 525be1c308..27789acdb8 100644 --- a/modules/post/windows/manage/migrate.rb +++ b/modules/post/windows/manage/migrate.rb @@ -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