Version: 1.0.2, by FractalizeR
Developer Last Online: Nov 2014
Category: Administrative and Maintenance Tools -
Version: 3.7.x
Rating:
Released: 08-06-2008
Last Update: 07-04-2009
Installs: 31
Uses Plugins
Re-useable Code Additional Files Translations
No support by the author.
What does it do?
It scans every attachment any user uploads to your forum for viruses and allows to execute various actions if any virus is found. Hack requires PHP 5.x. and (depending on driver) PHP AV extensions or some antivirus software installed on PC
Points of interest:
Modular architecture (can be attached to almost any antivirus. Just a few lines of code needed to write a driver)
Allows to exclude certain usergroups from check
Allows to exclude certain threats (viruses)
Can autoban user, that uploaded infected attachment
Can send PM notifications about virus to selected usergroups or users. Message text and options to send are customizable.
Can warn user, that uploaded virus by PM about his action. Message text and options to send are customizable.
Can change usergroup of the user, uploaded infected attachment
Can create a post in specific thread or a thread in specific forum with customized text about user and virus he tried to upload
Can execute arbitrary PHP code when the virus is found
How to install?
Unpack archive into forum root
Install *.xml file via Admin Control Panel (Product management)
For other antivirus engines you will need to write a driver or at least give me full docs on antivirus you use.
How to update to latest version?
Overwrite all files by new ones from latest zip and reimport product XML file via Admin Control Panel with "Allow Overwrite" option checked.
Version history: 1.0.2
Fixed a problem, where my mod caused error with uploading avatars, photos and pictures printing "Fatal error: Call to a member function initializationPassed() on a non-object in /public_html/includes/class_upload.php(381) : eval()'d code on line 4"
1.0.1
Detailed problem description is now available in case of initialization failure in devdebug combo (enable debug mode on forum to see error message at the very bottom of the attachment adding page in combo)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Very nice! Is there a method to test that ClamAV is properly installed/configured and interfacing properly with this?
After hack installation, enable it in settings and try to upload any attachment. You will have an error, if something is bad and attachment will not be uploaded. To test for viruses download this standard antivirus testfile http://www.eicar.org/download/eicar.com.txt and try to upload it to forum. You will get an error saying, that file contains virus named EICAR-STANDARD-ANTIVIRUS-TEST-FILE or something like this.
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/ihaxxnet/public_html/forum/includes/fractalizer_vbav/class_vbav.php on line 47