由于phpunit恶意文件eval-stdin.php,cpanel上的端口80被阻止 [英] Port 80 blocked on cpanel due to phpunit malicious file eval-stdin.php
问题描述
我已将google plus登录名添加到我的网站(托管在共享服务器上).在通过composer.json组成相关库进行Google登录时,phpunit库作为一部分被下载.它包含一个文件phpunit \ phpunit \ src \ Util \ PHP \ eval-stdin.php.由于该文件,我的域的端口80被阻止,因为他们说这是恶意软件文件. 存储库链接为 https://github.com/sebastianbergmann/phpunit
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
以下是eval-stdin.php文件中的代码
eval('?>' . file_get_contents('php://input'));
此代码是否还有其他选择.我该如何解决此问题.请帮助
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
推荐答案
PHPUnit是开发期间要使用的工具.您不应该将其上传到服务器.
PHPUnit is a tool to be used during development. You should not upload it to your server.
这篇关于由于phpunit恶意文件eval-stdin.php,cpanel上的端口80被阻止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!