imageCerberus-v1.0
it 

所属分类:Email服务器
开发工具:Java
文件大小:789KB
下载次数:6
上传日期:2012-12-11 09:10:58
上 传 者ujb91
说明:  Good spam filter.use it for your project.

文件列表:
imageCerberus-v1.0 (0, 2009-05-22)
imageCerberus-v1.0\.DS_Store (6148, 2009-05-22)
__MACOSX (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0 (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\._.DS_Store (82, 2009-05-22)
imageCerberus-v1.0\build (0, 2009-05-22)
imageCerberus-v1.0\build\.DS_Store (6148, 2009-05-22)
__MACOSX\imageCerberus-v1.0\build (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\build\._.DS_Store (82, 2009-05-22)
imageCerberus-v1.0\build\makefile (1559, 2009-05-21)
imageCerberus-v1.0\build\makefile.init (84, 2009-05-21)
imageCerberus-v1.0\build\objects.mk (266, 2008-08-06)
imageCerberus-v1.0\build\sources.mk (536, 2009-05-21)
imageCerberus-v1.0\build\src (0, 2009-05-22)
imageCerberus-v1.0\build\src\.DS_Store (12292, 2009-02-25)
__MACOSX\imageCerberus-v1.0\build\src (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\build\src\._.DS_Store (82, 2009-02-25)
imageCerberus-v1.0\build\src\PRppLib (0, 2009-05-22)
imageCerberus-v1.0\build\src\PRppLib\.DS_Store (6148, 2009-05-22)
__MACOSX\imageCerberus-v1.0\build\src\PRppLib (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\build\src\PRppLib\._.DS_Store (82, 2009-05-22)
imageCerberus-v1.0\build\src\PRppLib\subdir.mk (1535, 2009-05-21)
imageCerberus-v1.0\build\src\subdir.mk (1489, 2009-05-21)
imageCerberus-v1.0\dirHam (0, 2009-05-19)
imageCerberus-v1.0\dirHam\inmail.10293.4.jpeg (11349, 2008-08-21)
imageCerberus-v1.0\dirHam\inmail.10293.7.jpeg (13210, 2008-08-21)
imageCerberus-v1.0\dirHam\inmail.10295.2.jpeg (13029, 2008-08-21)
imageCerberus-v1.0\dirSpam (0, 2009-05-22)
imageCerberus-v1.0\dirSpam\.DS_Store (6148, 2009-05-19)
__MACOSX\imageCerberus-v1.0\dirSpam (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\dirSpam\._.DS_Store (82, 2009-05-19)
imageCerberus-v1.0\dirSpam\spam1.jpeg (17940, 2008-07-31)
imageCerberus-v1.0\dirSpam\spam2.png (14480, 2008-08-21)
imageCerberus-v1.0\dirSpam\spam3.png (12615, 2008-08-21)
imageCerberus-v1.0\dirSpam\Unknown.jpeg (56175, 2008-08-21)
imageCerberus-v1.0\spamassassin (0, 2009-05-22)
imageCerberus-v1.0\spamassassin\.DS_Store (6148, 2009-05-19)
__MACOSX\imageCerberus-v1.0\spamassassin (0, 2009-05-22)
__MACOSX\imageCerberus-v1.0\spamassassin\._.DS_Store (82, 2009-05-19)
... ...

#************************************************************************* # Image Cerberus Plugin, version 1.0 #************************************************************************* *************************************************************************** * Copyright (C) 2009, Battista Biggio, Ignazio Pillai * * battista.biggio@diee.unica.it, pillai@diee.unica.it * * * * Distributed under the GNU Public License * * http://www.gnu.org/licenses/gpl.txt * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * *************************************************************************** # # Laboratorio Intalligenza D'Ambiente - Sardegna DistrICT - # Sardegna Ricerche (ITA) # http://prag.diee.unica.it/amilab # # P.R.A. Group - D.I.E.E. - University of Cagliari (ITA) # http://prag.diee.unica.it # #************************************************************************* # Cerberus guarded the gate to Hades and ensured # that spirits of the dead could enter... # ImageCerberus Plugin guards the inboxes and ensures # that only legitimate images can enter, # spam images are detected and eated.. #************************************************************************* #************************************************************************* # License #************************************************************************* Licensed under the GNU GPL, Version 2.0; you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #************************************************************************* # Disclaimer #************************************************************************* Image Cerberus plug-in is provided "as is" without warranty of any kind. We don't assume any responsibility on the performances and any possible damage arising out of the use of the software. Use it at your own risk! #************************************************************************* # Introduction to ImageCerberus plugin #************************************************************************* Image Cerberus is a plug-in for the SpamAssassin spam filter, entirely developed by: P.R.A. Group (Pattern Recognition and Applications Group) and Ambient Intelligence Laboratory. Image spam is a common technique used by spammers. They embed the text message into images in a way that is easily readable by human beings but very difficult to be read by machines (and hence, spam filters) as well. Image Cerberus is designed to detect image spam. It performs a visual analysis on images attached to emails in order to identify if the image is likely to contain a spam message. This has been shown to be effective against image spam (see our publications at http://prag.diee.unica.it/ under research, document categorisation, spam filtering). #************************************************************************* # Installation of ImageCerberus plugin #************************************************************************* 1) Download the archive ImageCerberusPLG.zip with all needed files from ImageCerberus project page at http://prag.diee.unica.it/ 2) Install required software: - OpenCV - convert (ImageMagick) 3) Put the four files: ImageCerberusEXE, WholeWorld.xml, data.classifier and data.normalizer in a direcotry of your hard disk (e.g. /etc/spamassassin/imageCerberus or ~/.spamassassin/imageCerberus). 4) Copy ImageCerberus.cf and ImageCerberus.pm into the local configuration folder of Spamassassin (e.g. /etc/spamassassin or ~/.spamassassin) 5) Edit the configuration file ImageCerberus.cf in order to set the path to ImageCerberusEXE and data files. If needed set up your custom score. 6) Restart spamassassin. #************************************************************************* # COMPILING THE SOURCE #************************************************************************* We tested Image cerberus on linux and mac os, but it should compile under windows too. The only thing that MUST be changed is the dirListing function in file PRppLib/PRFileSystem.cpp, given that it makes a system call to the function "ls" which is defined only under unix-based os (you should use dir under windows). Image Cerberus includes a preliminary part of PRppLib, a C++ Library for Pattern Recognition, which will become an open source project soon. We used libSVM source, which is included in PRppLib. When building the project, you must include (and link) Intel Open CV library. There is no configure script at the moment, the project is provided with a simple makefile (if you know how to use autotools, autoconf and automake and would like to help us, please do not hesitate to contact us, thanks). 1) change inside the build/ folder 2) Set the right path to opencv includes and libs in makefile.init 3) make #************************************************************************* # Training of ImageCerberus plugin #************************************************************************* In order to train our ImageCerberus plugin we need a set of spam and ham images. Suppose to store your ham and spam images into dirHam and dirSpam, then you only have to run: ./imageCerberusEXE --textdetector WholeWord.xml --train dirSpam dirHam true --save data Our software process all images, estimate the classifier's parameters and then save all the data needed for classification. Copy data.classifier and data.normalizer into your imageCerberus direcotry We point out tha imageCerberusEXE is not able to process any kind of images (there are some problems with gif images), so we suggest to convert all images before training. #************************************************************************* # Change-log #************************************************************************* 2008-09-25 Added a timeout control to system call (thanks to B. Austin for the usefull suggestions).

近期下载者

相关文件


收藏者