Malware_Scanner class, to scan and repair infected files.

Small, short code snippets that other people may find useful. Do you have a good regex that you would like to share? Share it! Even better, the code can be commented on, and improved.

Moderator: General Moderators

Post Reply
egsome
Forum Newbie
Posts: 1
Joined: Sat Mar 05, 2011 7:38 am

Malware_Scanner class, to scan and repair infected files.

Post by egsome »

I'd like to introduce the re-wrote version of Malware_Scanner Class.

What is Malware_Scanner ?
Malware_Scanner just tries to provide some simple class, which can be used by webmasters to scan files for malware code, also to repair the files easily and in a secure way.

Malware_Scanner is now in 1.5 BETA.

Hope you get use of it, and you're welcome to collaborate !.

Project Home ( SVN & GIT Repos. ): https://github.com/AhmedHosny/Malware_Scanner
Download: https://github.com/AhmedHosny/Malware_S ... all/master
User avatar
Zyxist
Forum Contributor
Posts: 104
Joined: Sun Jan 14, 2007 10:44 am
Location: Cracow, Poland

Re: Malware_Scanner class, to scan and repair infected files

Post by Zyxist »

I think you should also provide some real signatures. Furthermore, remove the ending ?>, add the visibility modifiers to the methods. The signature loading code should not be a part of the class - what if someone would like to add something new? Use interfaces and object composition instead.
Post Reply