Version: 0.2a, by bahisyeri
Developer Last Online: Apr 2013
Category: Miscellaneous Hacks -
Version: 3.6.x
Rating:
Released: 10-27-2007
Last Update: 05-18-2008
Installs: 30
Uses Plugins Template Edits
Re-useable Code
No support by the author.
Hello guys and gals,
I was seeking for virus scanner addon for vBulletin 3.6.x , i found out one product for 3.5.8 Jafo232's addon but it was using fprot which is needing license and not free. So i decided do make it for 3.6.x and using LibClamAV.
It works fine and it's simple.
Here you go.
Thanks Jafo232 for his addon and idea and cheesegrits for his sample.
What does this plugin do?
This plugin let you have virus scanner for your forum's attachment managing.
Installing
Open your admin control panel and then
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-vscan.xml' from your computer then press 'Import'
This plugin uses ClamAV for scanning files there is two method available for scanning: First method requires LibClamAV support on your php settings. You can check it on phpinfo. If you do not have ClamAV , You can download it free at here and faster than second method.If you can not find php-clamav due to problems from its publisher server. You can download php-clamavlib-0.13-src.zip which i attached or you can download compiled version clamav.zip or if you are using Debian based system just type apt-get install php5-clamavlib on your shell. Second method uses clamscan binary of ClamAV does not require LibClamAV just installing ClamAV enough for it but its a bit slower than first method. Please feel free to ask any questions
This may be copied, reproduced or published anywhere without my permission.
Current version: 0.2a
File name: plugin-vscan2.xml Change history: 0.2a: Added function for scanning file if php does not have ClamAV support this function uses clamscan and no need libclamav support just installing ClamAV enough for this somehow its a bit slower than php-clamav module, and installing php-clamav strongly suggested.Who is using 0.1a and having php-clamav on their system do not need update because there is no change for php-clamav support but if you want to feel better you can update it. 0.1a: Addon written based from Jafo232's old but changed scanning method for using libclamav
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Please feel free to ask questions and please reply if you downloaded and tried it out let us know for it's bugs if you found and for your thoughts for improvement.
so if someone uploads an attachment it scans it for viruses and if it does it posts it in the box?
Yeah thats right, While uploading it scans the file on temp and if it contains virus plugin cancel uploading and let the user get error message about virus alert.
Well ClamAV is dynamic extension and we are using it on only for uploads, i do not think so u'll get huge loads coz of it even if you do not use it on ur smtpd and popd servers but it wont make huge loads on them too if you do not have so big incoming and outgoing traffic.
so for uploads it wont make huge load.