WebClient Ssl/Tls error

Issues related to VMProtect
Post Reply
levitmic
Posts: 3
Joined: Mon Jan 16, 2023 1:45 pm

WebClient Ssl/Tls error

Post 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
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: WebClient Ssl/Tls error

Post by Admin »

Are you a registered user of VMProtect?
levitmic
Posts: 3
Joined: Mon Jan 16, 2023 1:45 pm

Re: WebClient Ssl/Tls error

Post by levitmic »

No, I downloaded demo version to test how it's works. Currently I'm on ArmDot.
I need more securely protection.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: WebClient Ssl/Tls error

Post by Admin »

Could you send us a test example (original EXE+required DLLs +VMP files) that shows your problem?
levitmic
Posts: 3
Joined: Mon Jan 16, 2023 1:45 pm

Re: WebClient Ssl/Tls error

Post 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.
Post Reply