vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=187482

FractalizeR: VBulletin Antivirus
by FractalizeR
07 Aug 2008 18:25

8 Attachment(s)
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)

Driver is bundled for phpLibClamAV extension which uses ClamAV antivirus natively from PHP.
Installation instructions and sources are here: http://trickie.org/code/phplibclamav.php

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)

Beauts
by Deepdog009
07 Aug 2008 19:58

Groovy Baby...

Keep the ball rolling...>>>FractalizeR<<<

puertoblack2003 07 Aug 2008 20:23

in admin option to modify setting i cant get pass the usergroup setting everything else is not there.

FractalizeR 07 Aug 2008 20:27

Quote:

Originally Posted by puertoblack2003 (Post 1593638)
in admin option to modify setting i cant get pass the usergroup setting everything else is not there.

Sorry, I don't understand. What is wrong?

Hostboard 07 Aug 2008 20:29

Very nice! Is there a method to test that ClamAV is properly installed/configured and interfacing properly with this?

puertoblack2003 07 Aug 2008 20:34

Quote:

Originally Posted by FractalizeR (Post 1593640)
Sorry, I don't understand. What is wrong?


this image https://www.vbulletin.org/forum/external/2008/08/63.jpg

if you see where it say the usergroup settings well when i installed it to set it up half the page is missing after usergroup.

FractalizeR 08 Aug 2008 00:42

I fixed one bug (reuploaded archive) but it related to Windows. Hack requires PHP5. Dependency check added to xml.
Do you have PHP5 on your host?

FractalizeR 08 Aug 2008 00:45

Quote:

Originally Posted by Hostboard (Post 1593642)
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.

Diesel, 08 Aug 2008 02:03

I enable and try to attach then i get this error.

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

Megatr0n 08 Aug 2008 02:03

Does this hack work for Linux servers?

FractalizeR 08 Aug 2008 08:26

Quote:

Originally Posted by Megatr0n (Post 1593787)
Does this hack work for Linux servers?

Yes. I am using it on Linux server

Quote:

I enable and try to attach then i get this error.

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
Do you have PHP5?

taxick 08 Aug 2008 11:34

Are there a version for windows servers? (To apache)?????????

FractalizeR 08 Aug 2008 13:30

Quote:

Originally Posted by taxick (Post 1593944)
Are there a version for windows servers? (To apache)?????????

It should work on Windows also.

taxick 08 Aug 2008 13:49

Quote:

Originally Posted by FractalizeR (Post 1593987)
It should work on Windows also.

But where can i findphpLibClamAV i are windows version???

Antek 08 Aug 2008 13:51

I uploaded plugin via ftp to my forum and aftet it board is death - I see blank page :( same after delete files, what's going on? :/


All times are GMT. The time now is 11:48.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.