Remove junk spaces from EXE exploit module

bug/bundler_fix
OJ 2016-11-01 01:28:21 +10:00
parent eeff24d2ef
commit ddd2d5e43f
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 12 additions and 12 deletions

View File

@ -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