scr34m / php-malware-scanner

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

Added wordpress files md5sum whitelisting #34

Closed marek-knappe closed 5 years ago

marek-knappe commented 5 years ago

Up to owner if he wants that functionality.

scr34m commented 5 years ago

What, WP has a service like this, never thought! I will test muliple "-j" option before accept.

What do you think about cachink the results even on disk?

marek-knappe commented 5 years ago

Caching wouldn't be bad idea, but i think that should be just different thing that will update whitelist.txt with the newest wordpress. Would be pain to have too many wordpress versions as file will grow and grow. Happy I could help :)

scr34m commented 5 years ago

I mean local cache separated location different from whitelist.txt, because whitelist.txt purpose is more general to define a trusted list. Hmm i will think about this a bit more.

rthrash commented 5 years ago

Awesome addition/suggestion. :)

scr34m commented 5 years ago

Well this is good as-is, adding caching or allowing multiple -j flag would cause ppls more trouble about usage.

Thanks again!