问题
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:
PHPUnit is a tool to be used during development. You should not upload it to your server.
来源:https://stackoverflow.com/questions/35378482/port-80-blocked-on-cpanel-due-to-phpunit-malicious-file-eval-stdin-php