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
  #2  
Old 08-07-2008, 05:58 PM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Groovy Baby...

Keep the ball rolling...>>>FractalizeR<<<
Reply With Quote
  #3  
Old 08-07-2008, 06:23 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in admin option to modify setting i cant get pass the usergroup setting everything else is not there.
Reply With Quote
  #4  
Old 08-07-2008, 06:27 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
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?
Reply With Quote
  #5  
Old 08-07-2008, 06:29 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! Is there a method to test that ClamAV is properly installed/configured and interfacing properly with this?
Reply With Quote
  #6  
Old 08-07-2008, 06:34 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FractalizeR View Post
Sorry, I don't understand. What is wrong?

this image

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.
Reply With Quote
  #7  
Old 08-07-2008, 10:42 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 08-07-2008, 10:45 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hostboard View Post
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.
Reply With Quote
  #9  
Old 08-08-2008, 12:03 AM
Diesel, Diesel, is offline
 
Join Date: May 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 08-08-2008, 12:03 AM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack work for Linux servers?
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 02:00 PM.


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.05713 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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