Ukraineollyxar/php-malware-detector
PHP malware detector
PHP malware detector
Smart PHP vulnerability detector
Web mode:

Console mode:

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();
Similar Projects
Discover other similar projects and AI models.
Kernel Security driver used to block past, current and future process injection techniques on Windows Operating System.
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
Reverse engineer anything with agents, from app behavior down to native binaries.
Free domain registration and practical DNS learning resources for everyone.
:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.