PHP code example of scr34m / php-malware-scanner
1. Go to this page and download the library: Download scr34m/php-malware-scanner library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
scr34m / php-malware-scanner example snippets
= new MalwareScanner();
$scan->setFlagHideWhitelist(true);
$scan->setFlagHideOk(true);
$scan->run('../samples/test');