Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
FractalizeR: VBulletin Antivirus Details »»
FractalizeR: VBulletin Antivirus
Version: 1.0.2, by FractalizeR FractalizeR is offline
Developer Last Online: Nov 2014 Show Printable Version Email this Page

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)

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-11-2008, 12:21 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now :
Cannot upload attachments! Antiviral engine initialization failed

but i install clamav and phplibclamav
how to fix it
Reply With Quote
  #33  
Old 08-12-2008, 10:58 AM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you configured phpLibClamAV? Path to load AV bases from etc?
Reply With Quote
  #34  
Old 08-12-2008, 05:29 PM
Diesel, Diesel, is offline
 
Join Date: May 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FractalizeR View Post
Yes. I am using it on Linux server


Do you have PHP5?
Yeah.
5.2.6
Reply With Quote
  #35  
Old 08-14-2008, 11:58 AM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The following selfTest is executed on AV engine initialization:
PHP Code:
    public function selfTest() {
        
//Checking all prerequisites
        
return (extension_loaded('clamav') and function_exists('clamav_open_db') and function_exists(
            
'clamav_scan_file') and function_exists('clamav_default_db'));
    } 
Also, can you enable debug mode and check if there any messages from fr_vbav in devdebug combo (at the very bottom of the page)?
Reply With Quote
  #36  
Old 08-14-2008, 12:49 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Product updated. In case of antiviral engine initialization failure, a more detailed problem description is available in devdebug combo now (please enable debug mode to see it)
Reply With Quote
  #37  
Old 08-14-2008, 09:51 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed tested
the error still there:
Cannot upload attachments! Antiviral engine initialization failed!

the message of bottom is: user is super moderator !
Reply With Quote
  #38  
Old 08-15-2008, 07:26 AM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please click on this combo to check for all errors there. "User is super moderator" is only one of a bunch of debug messages sent by VB.
Reply With Quote
  #39  
Old 08-23-2008, 04:09 AM
Spicey LA Spicey LA is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone plz install this for me???? huge thanx in advance!
Reply With Quote
  #40  
Old 08-24-2008, 08:22 AM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you mean installing only addon or installing phplibclamav + addon? The latter will require you to trust your root password to somebody doing installation because extension needs to be compiled and php.ini needs to be altered,
Reply With Quote
  #41  
Old 08-24-2008, 08:28 PM
Spicey LA Spicey LA is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FractalizeR View Post
Do you mean installing only addon or installing phplibclamav + addon? The latter will require you to trust your root password to somebody doing installation because extension needs to be compiled and php.ini needs to be altered,
I want someone to install the whole thing includin the other require parts which is needed to make this mod work...

And i can change my password once it is done...

can someone please help me out here? thanx in advance!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07497 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete