Port 80 blocked on cpanel due to phpunit malicious file eval-stdin.php

1.8k Views Asked by At

I have added google plus login to my website (hosted on shared server). While composing dependent libraries through composer.json for google login, the phpunit library was downloaded as a part. It contains a file phpunit\phpunit\src\Util\PHP\eval-stdin.php. Due to this file port 80 for my domain is blocked as they said its a malware file. The repository link is https://github.com/sebastianbergmann/phpunit

Following is the code in eval-stdin.php file eval('?>' . file_get_contents('php://input')); Is there any alternative to this code. How can i fix this issue. please help

1

There are 1 best solutions below

1
On

PHPUnit is a tool to be used during development. You should not upload it to your server.