Bitdefender warning on local XAMP instalation.

[ad_1]

Hello.

Since yesterday my Bitdefender Antivirus, show this critical warning:

Potentially malicious application blocked

Feature:
Advanced Threat Defense

Application whoami.exe has been detected as potentially malicious and was blocked.
Application path: C:\Windows\System32\whoami.exe
Command line parameters: whoami
Detection ID: SuspiciousBehavior.xxx....

I have found that issue is cumming from this line in this file:

../wp-content/plugins/query-monitor/collectors/environment.php :

$php_u = exec( 'whoami' ); // phpcs:ignore

When I have commented it, then everything become fine.

Kind Regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer