Page 1 of 1

WebClient Ssl/Tls error

Posted: Mon Jan 16, 2023 2:41 pm
by levitmic
have a problem with protecting my soft with VMProtect.

url (with redirect)- no secerity, no SSL/TLS (HTML 1.1, http) In Visual Studio I have no Errors (compiled, without protection).

Code: Select all

WebClient webClient = new WebClient();
webClient.Headers.Add(HttpRequestHeader.UserAgent, Agent);
content = await webClient.DownloadStringTaskAsync(url);
With this code i have an error: The request was aborted. Could not create SSL/TLS connection

I tried to add (before and after new Weblicent()):

Code: Select all

ServicePointManager.Expect100Continue = true; 

ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };  
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11| SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3;
Also tried add only this:

Code: Select all

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 (and with Ssl3)
Not worked: Eset antivirus blocking: MSIL/TrojanDownloader.Agent.LNO

Re: WebClient Ssl/Tls error

Posted: Mon Jan 16, 2023 4:58 pm
by Admin
Are you a registered user of VMProtect?

Re: WebClient Ssl/Tls error

Posted: Mon Jan 16, 2023 7:21 pm
by levitmic
No, I downloaded demo version to test how it's works. Currently I'm on ArmDot.
I need more securely protection.

Re: WebClient Ssl/Tls error

Posted: Tue Jan 17, 2023 4:45 am
by Admin
Could you send us a test example (original EXE+required DLLs +VMP files) that shows your problem?

Re: WebClient Ssl/Tls error

Posted: Tue Jan 17, 2023 4:12 pm
by levitmic
Admin wrote:Could you send us a test example (original EXE+required DLLs +VMP files) that shows your problem?
I can't do it, due to "confidentiality" and url link can't be exposed now.

This code that make a problem...

P.S: POST method to another server with SSL works fine.