diff --git a/lib/msf/core/exploit/exe.rb b/lib/msf/core/exploit/exe.rb index d548f9914e..abd4135d2b 100644 --- a/lib/msf/core/exploit/exe.rb +++ b/lib/msf/core/exploit/exe.rb @@ -16,18 +16,18 @@ module Exploit::EXE # EncodedPayload#encoded_exe in lib/msf/core/encoded_payload.rb register_advanced_options( [ - OptBool.new( 'EXE::EICAR', [ false, 'Generate an EICAR file instead of regular payload exe']), - OptPath.new( 'EXE::Custom', [ false, 'Use custom exe instead of automatically generating a payload exe']), - OptPath.new( 'EXE::Path', [ false, 'The directory in which to look for the executable template' ]), - OptPath.new( 'EXE::Template', [ false, 'The executable template file name.' ]), - OptBool.new( 'EXE::Inject', [ false, 'Set to preserve the original EXE function' ]), - OptBool.new( 'EXE::OldMethod',[ false, 'Set to use the substitution EXE generation method.' ]), - OptBool.new( 'EXE::FallBack', [ false, 'Use the default template in case the specified one is missing' ]), - OptBool.new( 'MSI::EICAR', [ false, 'Generate an EICAR file instead of regular payload msi']), - OptPath.new( 'MSI::Custom', [ false, 'Use custom msi instead of automatically generating a payload msi']), - OptPath.new( 'MSI::Path', [ false, 'The directory in which to look for the msi template' ]), - OptPath.new( 'MSI::Template', [ false, 'The msi template file name' ]), - OptBool.new( 'MSI::UAC', [ false, 'Create an MSI with a UAC prompt (elevation to SYSTEM if accepted)' ]) + OptBool.new('EXE::EICAR', [false, 'Generate an EICAR file instead of regular payload exe']), + OptPath.new('EXE::Custom', [false, 'Use custom exe instead of automatically generating a payload exe']), + OptPath.new('EXE::Path', [false, 'The directory in which to look for the executable template']), + OptPath.new('EXE::Template', [false, 'The executable template file name.']), + OptBool.new('EXE::Inject', [false, 'Set to preserve the original EXE function']), + OptBool.new('EXE::OldMethod',[false, 'Set to use the substitution EXE generation method.']), + OptBool.new('EXE::FallBack', [false, 'Use the default template in case the specified one is missing']), + OptBool.new('MSI::EICAR', [false, 'Generate an EICAR file instead of regular payload msi']), + OptPath.new('MSI::Custom', [false, 'Use custom msi instead of automatically generating a payload msi']), + OptPath.new('MSI::Path', [false, 'The directory in which to look for the msi template']), + OptPath.new('MSI::Template', [false, 'The msi template file name']), + OptBool.new('MSI::UAC', [false, 'Create an MSI with a UAC prompt (elevation to SYSTEM if accepted)']) ], self.class) end