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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?