scr34m / php-malware-scanner

Scans PHP files for malwares and known threats
GNU General Public License v3.0
556 stars 96 forks source link

How do I check the results? #7

Closed onfire-d closed 6 years ago

onfire-d commented 6 years ago

Hi,

I ran the script and it says:

Start time: 2017-11-19 15:16:20 End time: 2017-11-19 15:53:31 Total execution time: 2231 Base directory: /home/ Total directories scanned: 89647 Total files scanned: 189409 Total malware identified: 670

But how do I check which are the files infected?

scr34m commented 6 years ago

The default behavior is to show everything, what kind of program arguments do you used?

onfire-d commented 6 years ago

But with that amount of files everything goes up and I can browse up to see if it has malware or not, the script ran so fast, isn't there a way this could generate a file with the whole scan?

scr34m commented 6 years ago

Then you should pipe the output to a file php scan.php > report.log, if you need only errors then php scan.php -k -w > report.log

I suggest you to read the script help php scan.php -h or check repository front page "How to use?"!