From fcd6e8acab561c3172c6127db1e759cf3e574168 Mon Sep 17 00:00:00 2001 From: Green-m Date: Tue, 27 Feb 2018 05:27:32 -0500 Subject: [PATCH] Add options LocalExePath, StartupName, ServiceDescription --- modules/post/windows/manage/persistence_exe.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/post/windows/manage/persistence_exe.rb b/modules/post/windows/manage/persistence_exe.rb index 0889972d15..fc5d8e57be 100644 --- a/modules/post/windows/manage/persistence_exe.rb +++ b/modules/post/windows/manage/persistence_exe.rb @@ -41,9 +41,9 @@ class MetasploitModule < Msf::Post register_advanced_options( [ - OptString.new('LEXEPATH', [false, 'The local exe path to run. Use temp directory as default. ']), - OptString.new('STARTUP_NAME', [false, 'The name of service or registry. Random string as default.' ]), - OptString.new('SERVICE_DESC', [false, 'The description of service. Random string as default.' ]) + OptString.new('LocalExePath', [false, 'The local exe path to run. Use temp directory as default. ']), + OptString.new('StartupName', [false, 'The name of service or registry. Random string as default.' ]), + OptString.new('ServiceDescription', [false, 'The description of service. Random string as default.' ]) ]) end