Skip to content

Commit

Permalink
Land #11859, struts2_rest_xstream style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu committed May 20, 2019
2 parents e1f898f + 0328814 commit 581b207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/exploits/multi/http/struts2_rest_xstream.rb
Expand Up @@ -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
Expand Down

0 comments on commit 581b207

Please sign in to comment.