vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - FractalizeR: VBulletin Antivirus (https://vborg.vbsupport.ru/showthread.php?t=187482)

FractalizeR 08-06-2008 10:00 PM

FractalizeR: VBulletin Antivirus
 
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)

Deepdog009 08-07-2008 05:58 PM

Groovy Baby...

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

puertoblack2003 08-07-2008 06:23 PM

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

FractalizeR 08-07-2008 06:27 PM

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 08-07-2008 06:29 PM

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

puertoblack2003 08-07-2008 06:34 PM

Quote:

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


this image https://vborg.vbsupport.ru/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-07-2008 10:42 PM

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-07-2008 10:45 PM

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-08-2008 12:03 AM

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-08-2008 12:03 AM

Does this hack work for Linux servers?


All times are GMT. The time now is 03:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01119 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete