php-malware-detector

PHP malware detector

Github星跟踪图

PHP malware detector

Build Status
Version
Downloads
License

Smart PHP vulnerability detector

Web mode:

ollyxar php-malware-detector

Console mode:

chat

Using PHP malware detector

Requirements

  • PHP 5.4+

Install php-malware-detector via composer.

# Install Composer
curl -sS https://getcomposer.org/installer, php

Next, run the Composer command to install the latest stable version of php-malware-detector:

php composer.phar require ollyxar/php-malware-detector

After installing, you need to require Composer's autoloader and run scan:

require 'vendor/autoload.php';

(new Scanner())->run();

Using php-malware-detector in Web-mode:

Put scanner.php in the web-root directory on the web-server and open your website in the browser (like http://mywebsite.com/scanner.php)

Using php-malware-detector in Cron-mode:

You can schedule scanning process. To do that you have to add commend:

php /path_to/scanner.php > "log.txt"

Additional parameters for scanner:

// First parameter is a scan directory
// Second parameter is an array of file extensions to scan
(new Scanner('/var/some_other_direcrory_to_scan'), ['php', 'txt', 'php5'])->run();

主要指标

概览
名称与所有者ollyxar/php-malware-detector
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2018-02-28 08:26:10
推送于2018-12-18 15:49:21
最后一次提交2018-12-18 17:28:47
发布数2
最新版本名称1.0.1 (发布于 )
第一版名称1.0 (发布于 )
用户参与
星数131
关注者数10
派生数15
提交数8
已启用问题?
问题数0
打开的问题数0
拉请求数3
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?