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

社会主义新天地 提交于 2020-01-14 19:05:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!