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?

FractalizeR 08-08-2008 06:26 AM

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-08-2008 09:34 AM

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

FractalizeR 08-08-2008 11:30 AM

Quote:

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

It should work on Windows also.

taxick 08-08-2008 11:49 AM

Quote:

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

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

Antek 08-08-2008 11:51 AM

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? :/

FractalizeR 08-08-2008 12:32 PM

Quote:

Originally Posted by taxick (Post 1593990)
But where can i findphpLibClamAV i are windows version???

You can compile it, but I never compiled PHP extensions on Windows.

Quote:

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? :/
I don't know. Did you overwrite something? Disable all hooks and try to open forum again

TheInsaneManiac 08-08-2008 01:26 PM

My forum members are really good at uploading compressed .rar and .zip, would this scan those as well?

FractalizeR 08-08-2008 03:11 PM

Yes. Clam supports scanning of archives of most formats.

Hostboard 08-08-2008 03:25 PM

I Get this when I try to upload the test file:

Upload Errorseicar.com.txt:
Cannot upload attachments! Antiviral engine initialization failed!


Is this working or ClanAV is not propery installed on my server?

nesta2006 08-09-2008 01:23 AM

The following dependencies were not met:

1. This product is not compatible with version 4.4.7 of PHP. (Compatible starting with 5.0)

FractalizeR 08-09-2008 08:05 AM

Quote:

Originally Posted by Hostboard (Post 1594117)
I Get this when I try to upload the test file:

Upload Errorseicar.com.txt:
Cannot upload attachments! Antiviral engine initialization failed!


Is this working or ClanAV is not propery installed on my server?

Either ClamAV is not installed, or phpLibClamAV extension is not installed. Or both ;)

2nesta2006:
PHP5 is required.

yahoooh 08-09-2008 09:01 AM

thank u that what i ask before to support in others like hack

thanku very much
installed

yahoooh 08-09-2008 10:14 AM

PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/site55/public_html/includes/fractalizer_vbav/class_vbav.php on line 47

yahoooh 08-09-2008 10:20 AM

also is there another version to use system function for those can not installed phplibclamav

yahoooh 08-09-2008 02:14 PM

any help plz?

my server has php 5
but still the error appear
PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/site55/public_html/includes/fractalizer_vbav/class_vbav.php on line 47

FReeSTER 08-09-2008 05:26 PM

This a great mod, Thanik you

The problem I have is that it wont let me upload any files. How can I fix this?

WEBDosser 08-09-2008 05:54 PM

tagged

BANDiT600 08-09-2008 06:05 PM

https://vborg.vbsupport.ru/external/2012/01/11.gifTranslations
I know you have russian. Isn't it? ;)

yahoooh 08-09-2008 08:18 PM

my server installed phplibclamav
and has clamav
and php is 5.2.6
vb 3.7
but still error apears when enable this product
PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/site55/public_html/includes/fractalizer_vbav/class_vbav.php on line 47

FractalizeR 08-10-2008 08:48 PM

Please reupload files to FTP using binary mode. There is nothing at that line in sources.

yahoooh 08-11-2008 12:21 PM

now :
Cannot upload attachments! Antiviral engine initialization failed

but i install clamav and phplibclamav
how to fix it

FractalizeR 08-12-2008 10:58 AM

Have you configured phpLibClamAV? Path to load AV bases from etc?

Diesel, 08-12-2008 05:29 PM

Quote:

Originally Posted by FractalizeR (Post 1593880)
Yes. I am using it on Linux server


Do you have PHP5?

Yeah.
5.2.6

FractalizeR 08-14-2008 11:58 AM

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)?

FractalizeR 08-14-2008 12:49 PM

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)

yahoooh 08-14-2008 09:51 PM

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

the message of bottom is: user is super moderator !

FractalizeR 08-15-2008 07:26 AM

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.

Spicey LA 08-23-2008 04:09 AM

can someone plz install this for me???? huge thanx in advance!

FractalizeR 08-24-2008 08:22 AM

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,

Spicey LA 08-24-2008 08:28 PM

Quote:

Originally Posted by FractalizeR (Post 1605616)
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!


All times are GMT. The time now is 12:42 PM.

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.01316 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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