Skip to content
Permalink
Browse files

Land #11859, struts2_rest_xstream style fix

  • Loading branch information...
wvu-r7 committed May 20, 2019
2 parents e1f898f + 0328814 commit 581b20794c378802ecd1ba8b1b9b548bf9b2e15b
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/exploits/multi/http/struts2_rest_xstream.rb
@@ -100,7 +100,7 @@ def execute_command(cmd, opts = {})
when :psh_memory
opts = {remove_comspec: true, encode_final_payload: true}
payload ? cmd_psh_payload(cmd, payload.arch, opts).split :
%W{powershell.exe -c #{cmd}}
%W{powershell.exe -c #{cmd}}
when :win_memory, :win_dropper
%W{cmd.exe /c #{cmd}}
end

0 comments on commit 581b207

Please sign in to comment.
You can’t perform that action at this time.