Skip to content

Commit

Permalink
Update zentao_pro_rce.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikWynter authored Jul 17, 2020
1 parent 9c32b45 commit 368adc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/exploits/windows/http/zentao_pro_rce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def login
end

def execute_command(cmd, _opts = {})
cmd << ' &&' # this is necessary for compatibility with x86 targets (for x64 the module also works without this)
send_request_cgi({
'method' => 'POST',
'uri' => normalize_uri(target_uri.path, 'repo-create'),
Expand Down

0 comments on commit 368adc2

Please sign in to comment.