JFLarvoire / SysToolsLib

A library of Windows and Linux system management tools
Apache License 2.0
314 stars 93 forks source link

Anti-virus False positive #31

Open ZizzyZizzy opened 2 years ago

ZizzyZizzy commented 2 years ago

McAfee (ugh) and others think the service .exe created by this script is a virus. All I'm trying to do is determine if the server is at the DR site or the PROD site, then update the local hosts file accordingly during boot.

image

Any ideas on how to make it appear less virusy? I'm guessing it's the included C# code.

JFLarvoire commented 2 years ago

Sorry, no I don't know. This is a new problem, because it's been used for years by other people without problems. Please check if McAfee has a support site, and ask them? Or maybe they simply need to be told it's a false positive?