tobilub04 0 Posted May 19 Share Posted May 19 I'm writing an application that goes through different powershell commands and sends the output to an Api in php. Since today, ESET thinks that my code is a Trojan. I found out that it's because I use the curl library: // Initialize cURL session CURLcode res; CURL* curl; curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); if (curl) { curl_easy_setopt(curl, CURLOPT_URL, "https://link.to.my/api/api.php"); curl_easy_setopt(curl, CURLOPT_POSTFIELDS, jsonString.c_str()); curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, jsonString.size()); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); res = curl_easy_perform(curl); curl_easy_cleanup(curl); } curl_global_cleanup(); To be precise, it's Win64/Agent_AGen.ACN threat. My operating system is Windows 10, if that's important. Quote Link to comment Share on other sites More sharing options...
Administrators Solution Marcos 4,704 Posted May 19 Administrators Solution Share Posted May 19 Thanks for the heads-up. The detection created by an automated mechanism has been removed. Quote Link to comment Share on other sites More sharing options...
tobilub04 0 Posted May 19 Author Share Posted May 19 Okay so it worked for an hour or so - but i got the same error again, and it's still because of Curl. Quote Link to comment Share on other sites More sharing options...
tobilub04 0 Posted May 19 Author Share Posted May 19 It works again. I have no idea if it's because I did something, you did something, or it was just a bug? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.