Land #9803, Fix no-uac msi creation

4.x
Brent Cook 2018-04-02 22:25:28 -05:00 committed by Jeffrey Martin
parent c3f9ee2ae3
commit d98e85f97c
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 1 deletions

View File

@ -2144,6 +2144,7 @@ require 'msf/core/exe/segment_appender'
when ARCH_X64
exe = to_win64pe(framework, code, exeopts)
end
exeopts[:uac] = true
Msf::Util::EXE.to_exe_msi(framework, exe, exeopts)
when 'msi-nouac'
case arch
@ -2152,7 +2153,6 @@ require 'msf/core/exe/segment_appender'
when ARCH_X64
exe = to_win64pe(framework, code, exeopts)
end
exeopts[:uac] = true
Msf::Util::EXE.to_exe_msi(framework, exe, exeopts)
when 'elf'
if elf? code