git-svn: trunk@3749
Tomasz Kojm authored on 2008/04/03 00:24:51... | ... |
@@ -1,3 +1,57 @@ |
1 | 1 |
The ClamAV Team - http://www.clamav.net/team |
2 | 2 |
|
3 |
+aCaB <acab at*clamav*net> |
|
4 |
+Aeriana <aeriana at*clamav*net> |
|
5 |
+Mike Cathey <mike at*clamav*net> |
|
6 |
+Christoph Cordes <ccordes at*clamav*net> |
|
7 |
+Diego d’Ambra <diego at*clamav*net> |
|
8 |
+Andreas Faust <afaust at*clamav*net> |
|
9 |
+Luca Gibelli <luca at*clamav*net> |
|
10 |
+Nigel Horne <njh at*clamav*net> |
|
11 |
+Arnaud Jacques <arnaud at*clamav*net> |
|
12 |
+Tomasz Kojm <tkojm at*clamav*net> |
|
13 |
+Tomasz Papszun <tomek at*clamav*net> |
|
14 |
+Sven Strickroth <sven at*clamav*net> |
|
15 |
+Török Edvin <edwin at*clamav*net> |
|
16 |
+Trog <trog at*clamav*net> |
|
17 |
+ |
|
3 | 18 |
Please see the ChangeLog and clamdoc.pdf for the full list of contributors. |
19 |
+ |
|
20 |
+------------------------------------------------------------------------------- |
|
21 |
+ |
|
22 |
+libclamav credits: |
|
23 |
+ |
|
24 |
+cab.c: The code uses Stuart Caie's libmspack to handle cabinet files |
|
25 |
+cvd.c, untar.c: The untar code is based on a public domain minitar utility |
|
26 |
+ by Charles G. Waldman |
|
27 |
+dsig.c: The idea of number encoding comes from yyyRSA by Erik Thiele |
|
28 |
+elf.c: The header structures were based upon "ELF: Executable and Linkable |
|
29 |
+ Format, Portable Formats Specification, Version 1.1" |
|
30 |
+explode.c: Written from scratch based on specs from PKWARE: |
|
31 |
+ http://www.pkware.com/documents/casestudies/APPNOTE.TXT |
|
32 |
+hashtab.c: hash32shift() is an implementation of Thomas Wang's 32-bit integer |
|
33 |
+ hash function: http://www.cris.com/~Ttwang/tech/inthash.htm |
|
34 |
+htmlnorm.c: The ScrEnc decoder was initially based upon an analysis by |
|
35 |
+ Andreas Marx |
|
36 |
+inflate64.*,inffixed.h: This files contain code from zlib library v.1.2.3 with |
|
37 |
+ modifications by Alberto Wu (see COPYING.zlib) |
|
38 |
+is_tar.*: The file contains a public domain code from John Gilmore |
|
39 |
+lzma/*: The files contain an implementation of the LZMA algorithm from |
|
40 |
+ Igor Pavlov (see COPYING.lzma) |
|
41 |
+md5.*: The files contain a public domain code from Solar Designer |
|
42 |
+msexpand.c: Decompression scheme by M. Winterhoff |
|
43 |
+nsis/*: The nsis extractor includes the zlib code from Jean-loup Gailly and |
|
44 |
+ Mark Adler (see COPYING.zlib) and libbzip2 code from Julian Seward |
|
45 |
+ (see COPYING.bzip2) |
|
46 |
+ole2_extract.c, vba_extract.c: Some ideas and algorithms were based upon |
|
47 |
+ OpenOffice and libgsf |
|
48 |
+pe.h: The header structures were based upon a PE format analysis by |
|
49 |
+ B. Luevelsmeyer |
|
50 |
+regex/*: The files came from OpenBSD (see COPYING.BSD) |
|
51 |
+str.c: cli_strcasestr() contains a public domain code from |
|
52 |
+ http://unixpapa.com/incnote/string.html |
|
53 |
+tnef.c: The algorithm was based on kdepim/ktnef/lib/ktnefparser.cpp from KDE |
|
54 |
+mbox.c: Some ideas came from Stephen White <stephen@earth.li>, |
|
55 |
+ Michael Dankov <misha@btrc.ru>, Gianluigi Tiesi <sherpya@netfarm.it>, |
|
56 |
+ Everton da Silva Marques, Thomas Lamy <Thomas.Lamy@in-online.net>, |
|
57 |
+ James Stevens <James@kyzo.com> |
4 | 58 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
0 |
+The code in libclamav/regex/ is derived from OpenBSD's libc/regex, original license follows: |
|
1 |
+ |
|
2 |
+ Copyright (c) 1992, 1993, 1994 Henry Spencer. |
|
3 |
+ Copyright (c) 1992, 1993, 1994 |
|
4 |
+ The Regents of the University of California. All rights reserved. |
|
5 |
+ |
|
6 |
+ This code is derived from software contributed to Berkeley by |
|
7 |
+ Henry Spencer. |
|
8 |
+ |
|
9 |
+ Redistribution and use in source and binary forms, with or without |
|
10 |
+ modification, are permitted provided that the following conditions |
|
11 |
+ are met: |
|
12 |
+ 1. Redistributions of source code must retain the above copyright |
|
13 |
+ notice, this list of conditions and the following disclaimer. |
|
14 |
+ 2. Redistributions in binary form must reproduce the above copyright |
|
15 |
+ notice, this list of conditions and the following disclaimer in the |
|
16 |
+ documentation and/or other materials provided with the distribution. |
|
17 |
+ 3. Neither the name of the University nor the names of its contributors |
|
18 |
+ may be used to endorse or promote products derived from this software |
|
19 |
+ without specific prior written permission. |
|
20 |
+ |
|
21 |
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
|
22 |
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
23 |
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
24 |
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
|
25 |
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
26 |
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
|
27 |
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
28 |
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
29 |
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
|
30 |
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
31 |
+ SUCH DAMAGE. |
... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Wed Apr 2 16:34:43 CEST 2008 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav: update copyrights and stick more files to GPLv2; move and add |
|
4 |
+ more credits to the AUTHORS file; add COPYING.BSD |
|
5 |
+ |
|
1 | 6 |
Wed Apr 2 12:30:06 CEST 2008 (acab) |
2 | 7 |
------------------------------------ |
3 | 8 |
* libclamav: check return codes from syscalls (bb#384) - unlink |
... | ... |
@@ -18,7 +18,7 @@ |
18 | 18 |
|
19 | 19 |
ACLOCAL_AMFLAGS=-I m4 |
20 | 20 |
SUBDIRS = libclamunrar libclamunrar_iface libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test unit_tests |
21 |
-EXTRA_DIST = FAQ examples BUGS shared libclamav.pc.in UPGRADE COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.file COPYING.zlib |
|
21 |
+EXTRA_DIST = FAQ examples BUGS shared libclamav.pc.in UPGRADE COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.file COPYING.zlib COPYING.BSD |
|
22 | 22 |
|
23 | 23 |
bin_SCRIPTS=clamav-config |
24 | 24 |
|
... | ... |
@@ -248,7 +248,7 @@ top_builddir = @top_builddir@ |
248 | 248 |
top_srcdir = @top_srcdir@ |
249 | 249 |
ACLOCAL_AMFLAGS = -I m4 |
250 | 250 |
SUBDIRS = libclamunrar libclamunrar_iface libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test unit_tests |
251 |
-EXTRA_DIST = FAQ examples BUGS shared libclamav.pc.in UPGRADE COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.file COPYING.zlib |
|
251 |
+EXTRA_DIST = FAQ examples BUGS shared libclamav.pc.in UPGRADE COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.file COPYING.zlib COPYING.BSD |
|
252 | 252 |
bin_SCRIPTS = clamav-config |
253 | 253 |
pkgconfigdir = $(libdir)/pkgconfig |
254 | 254 |
pkgconfig_DATA = libclamav.pc |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Amaketos, LLC |
|
3 |
- * Authors: Luciano Giuseppe 'Pnluck' <pnluck@virgilio.it> |
|
4 |
- * aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Luciano Giuseppe 'Pnluck', Alberto Wu |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Amaketos, LLC |
|
3 |
- * Authors: Luciano Giuseppe 'Pnluck' <pnluck@virgilio.it> |
|
4 |
- * aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Luciano Giuseppe 'Pnluck', Alberto Wu |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -16,6 +17,7 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 |
+ |
|
19 | 20 |
static char const rcsid[] = "$Id: blob.c,v 1.64 2007/02/12 22:25:14 njh Exp $"; |
20 | 21 |
|
21 | 22 |
#if HAVE_CONFIG_H |
... | ... |
@@ -660,7 +662,6 @@ sanitiseName(char *name) |
660 | 660 |
#ifdef C_DARWIN |
661 | 661 |
*name &= '\177'; |
662 | 662 |
#endif |
663 |
- /* Also check for tab - "Heinz Martin" <Martin@hemag.ch> */ |
|
664 | 663 |
#if defined(MSDOS) || defined(C_OS2) |
665 | 664 |
/* |
666 | 665 |
* Don't take it from this that ClamAV supports DOS, it doesn't |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,11 +1,7 @@ |
1 | 1 |
/* |
2 | 2 |
* Copyright (C) 2007-2008 Sourcefire, Inc. |
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2006 Tomasz Kojm <tkojm@clamav.net> |
|
6 |
- * |
|
7 |
- * This code is based on the work of Stuart Caie and the official |
|
8 |
- * specification. |
|
4 |
+ * Authors: Tomasz Kojm |
|
9 | 5 |
* |
10 | 6 |
* This program is free software; you can redistribute it and/or modify |
11 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 | 2 |
* Copyright (C) 2007-2008 Sourcefire, Inc. |
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2006 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,12 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of MS CHM files |
3 | 3 |
* |
4 |
- * Copyright (C) 2004-2007 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License as published by |
|
8 |
- * the Free Software Foundation; either version 2 of the License, or |
|
9 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
10 | 11 |
* |
11 | 12 |
* This program is distributed in the hope that it will be useful, |
12 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,12 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of MS CHM files |
3 | 3 |
* |
4 |
- * Copyright (C) 2004 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License as published by |
|
8 |
- * the Free Software Foundation; either version 2 of the License, or |
|
9 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
10 | 11 |
* |
11 | 12 |
* This program is distributed in the hope that it will be useful, |
12 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -18,7 +19,7 @@ |
18 | 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
19 | 19 |
* MA 02110-1301, USA. |
20 | 20 |
*/ |
21 |
- |
|
21 |
+ |
|
22 | 22 |
#ifndef __CHM_UNPACK_H |
23 | 23 |
#define __CHM_UNPACK_H |
24 | 24 |
|
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 | 3 |
* |
4 |
- * Based on zzip-stdint.h |
|
4 |
+ * Authors: Tomasz Kojm |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2003 - 2006 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 | 3 |
* |
4 |
- * untgz() is based on public domain minitar utility by Charles G. Waldman |
|
4 |
+ * Authors: Tomasz Kojm |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2003 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2003 - 2006 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 | 3 |
* |
4 |
- * Number encoding rutines are based on yyyRSA by Erik Thiele |
|
4 |
+ * Authors: Tomasz Kojm |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2003 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 - 2006 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 - 2006 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 | 3 |
* |
4 |
- * Header structures based on ELF: Executable and Linkable Format, Portable |
|
5 |
- * Formats Specification, Version 1.1 |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,9 @@ |
1 | 1 |
/* |
2 | 2 |
* HTML Entity & Encoding normalization. |
3 | 3 |
* |
4 |
- * Copyright (C) 2006 - 2008 Török Edvin <edwin@clamav.net> |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 | 9 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#include <hashtab.h> |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* HTML Entity & Encoding normalization. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
#include "clamav-config.h" |
22 | 21 |
|
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* HTML Entity & Encoding normalization. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#ifndef _ENTITIES_H |
... | ... |
@@ -1,4 +1,23 @@ |
1 |
-/* TODO: include GPL headers */ |
|
1 |
+/* |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Török Edvin |
|
5 |
+ * |
|
6 |
+ * This program is free software; you can redistribute it and/or modify |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
9 |
+ * |
|
10 |
+ * This program is distributed in the hope that it will be useful, |
|
11 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
+ * GNU General Public License for more details. |
|
14 |
+ * |
|
15 |
+ * You should have received a copy of the GNU General Public License |
|
16 |
+ * along with this program; if not, write to the Free Software |
|
17 |
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
+ * MA 02110-1301, USA. |
|
19 |
+ */ |
|
20 |
+ |
|
2 | 21 |
#include <hashtab.h> |
3 | 22 |
static struct element entities_htable_elements[] = { |
4 | 23 |
{"rsaquo", 8250, 6}, |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2008 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2008 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,9 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
6 |
- * With enhancements from Thomas Lamy <Thomas.Lamy@in-online.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
7 | 5 |
* |
8 | 6 |
* This program is free software; you can redistribute it and/or modify |
9 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,9 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
6 |
- * With enhancements from Thomas Lamy <Thomas.Lamy@in-online.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
7 | 5 |
* |
8 | 6 |
* This program is free software; you can redistribute it and/or modify |
9 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,9 @@ |
1 | 1 |
/* |
2 | 2 |
* Static filetype data for use when daily.ftm is not available. |
3 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
4 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
3 |
+ * |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Tomasz Kojm |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 | 9 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 |
- * HTML Entity & Encoding normalization. |
|
2 |
+ * Hash-table and -set data structures. |
|
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
#include <clamav-config.h> |
22 | 21 |
|
... | ... |
@@ -186,8 +187,6 @@ int hashtab_init(struct hashtable *s,size_t capacity) |
186 | 186 |
|
187 | 187 |
static inline uint32_t hash32shift(uint32_t key) |
188 | 188 |
{ |
189 |
- /* Thomas Wang's 32-bit integer hash function. |
|
190 |
- * http://www.cris.com/~Ttwang/tech/inthash.htm */ |
|
191 | 189 |
key = ~key + (key << 15); |
192 | 190 |
key = key ^ (key >> 12); |
193 | 191 |
key = key + (key << 2); |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* HTML Entity & Encoding normalization. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#include <stdio.h> |
... | ... |
@@ -2,14 +2,13 @@ |
2 | 2 |
* Normalise HTML text. |
3 | 3 |
* Decode MS Script Encoder protection. |
4 | 4 |
* |
5 |
- * Copyright (C) 2004 trog@uncon.org |
|
5 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
6 | 6 |
* |
7 |
- * The ScrEnc decoder was initially based upon an analysis by Andreas Marx. |
|
7 |
+ * Authors: Trog |
|
8 | 8 |
* |
9 | 9 |
* This program is free software; you can redistribute it and/or modify |
10 |
- * it under the terms of the GNU General Public License as published by |
|
11 |
- * the Free Software Foundation; either version 2 of the License, or |
|
12 |
- * (at your option) any later version. |
|
10 |
+ * it under the terms of the GNU General Public License version 2 as |
|
11 |
+ * published by the Free Software Foundation. |
|
13 | 12 |
* |
14 | 13 |
* This program is distributed in the hope that it will be useful, |
15 | 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Trog <trog@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Trog |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -16,7 +17,7 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 |
- |
|
19 |
+ |
|
20 | 20 |
#ifndef __HTMLNORM_H |
21 | 21 |
#define __HTMLNORM_H |
22 | 22 |
|
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Phishing module: iana tld list. |
3 | 3 |
* |
4 |
- * Copyright (C) 2006 Torok Edvin <edwintorok@gmail.com> |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#ifndef IANA_TLD_H |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002-2006 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -16,6 +17,7 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 |
+ |
|
19 | 20 |
static char const rcsid[] = "$Id: mbox.c,v 1.381 2007/02/15 12:26:44 njh Exp $"; |
20 | 21 |
|
21 | 22 |
#ifdef _MSC_VER |
... | ... |
@@ -2174,10 +2176,6 @@ parseEmailBody(message *messageIn, text *textIn, mbox_ctx *mctx, unsigned int re |
2174 | 2174 |
if(t_line == NULL) { |
2175 | 2175 |
cli_dbgmsg("Multipart MIME message contains no boundary lines (%s)\n", |
2176 | 2176 |
boundary); |
2177 |
- /* |
|
2178 |
- * Free added by Thomas Lamy |
|
2179 |
- * <Thomas.Lamy@in-online.net> |
|
2180 |
- */ |
|
2181 | 2177 |
free((char *)boundary); |
2182 | 2178 |
mimeType = NOMIME; |
2183 | 2179 |
/* |
... | ... |
@@ -2593,7 +2591,6 @@ parseEmailBody(message *messageIn, text *textIn, mbox_ctx *mctx, unsigned int re |
2593 | 2593 |
} |
2594 | 2594 |
|
2595 | 2595 |
/* |
2596 |
- * Fixed based on an idea from Stephen White <stephen@earth.li> |
|
2597 | 2596 |
* The message is confused about the difference |
2598 | 2597 |
* between alternative and related. Badtrans.B |
2599 | 2598 |
* suffers from this problem. |
... | ... |
@@ -2602,20 +2599,6 @@ parseEmailBody(message *messageIn, text *textIn, mbox_ctx *mctx, unsigned int re |
2602 | 2602 |
* Content-Type: multipart/related; |
2603 | 2603 |
* type="multipart/alternative" |
2604 | 2604 |
*/ |
2605 |
- /* |
|
2606 |
- * Changed to always fall through based on |
|
2607 |
- * an idea from Michael Dankov <misha@btrc.ru> |
|
2608 |
- * that some viruses are completely confused |
|
2609 |
- * about the difference between related |
|
2610 |
- * and mixed |
|
2611 |
- */ |
|
2612 |
- /*cptr = messageFindArgument(mainMessage, "type"); |
|
2613 |
- if(cptr == NULL) |
|
2614 |
- break; |
|
2615 |
- isAlternative = (bool)(strcasecmp(cptr, "multipart/alternative") == 0); |
|
2616 |
- free((char *)cptr); |
|
2617 |
- if(!isAlternative) |
|
2618 |
- break;*/ |
|
2619 | 2605 |
case DIGEST: |
2620 | 2606 |
/* |
2621 | 2607 |
* According to section 5.1.5 RFC2046, the |
... | ... |
@@ -3424,12 +3407,6 @@ parseMimeHeader(message *m, const char *cmd, const table_t *rfc821Table, const c |
3424 | 3424 |
int set = messageSetMimeType(m, strtok(s, "/")); |
3425 | 3425 |
#endif |
3426 | 3426 |
|
3427 |
- /* |
|
3428 |
- * Stephen White <stephen@earth.li> |
|
3429 |
- * Some clients put space after |
|
3430 |
- * the mime type but before |
|
3431 |
- * the ; |
|
3432 |
- */ |
|
3433 | 3427 |
#ifdef CL_THREAD_SAFE |
3434 | 3428 |
s = strtok_r(NULL, ";", &strptr); |
3435 | 3429 |
#else |
... | ... |
@@ -4144,8 +4121,6 @@ do_checkURLs(mbox_ctx *mctx, tag_arguments_t *hrefs) |
4144 | 4144 |
|
4145 | 4145 |
#if defined(FOLLOWURLS) && (FOLLOWURLS > 0) |
4146 | 4146 |
/* |
4147 |
- * Includes some Win32 patches by Gianluigi Tiesi <sherpya@netfarm.it> |
|
4148 |
- * |
|
4149 | 4147 |
* FIXME: Often WMF exploits work by sending people an email directing them |
4150 | 4148 |
* to a page which displays a picture containing the exploit. This is not |
4151 | 4149 |
* currently found, since only the HTML on the referred page is downloaded. |
... | ... |
@@ -4532,8 +4507,6 @@ my_r_gethostbyname(const char *hostname, struct hostent *hp, char *buf, size_t l |
4532 | 4532 |
} |
4533 | 4533 |
|
4534 | 4534 |
/* |
4535 |
- * Non-blocking connect, based on an idea by Everton da Silva Marques |
|
4536 |
- * <everton.marques@gmail.com> |
|
4537 | 4535 |
* FIXME: There are lots of copies of this code :-( |
4538 | 4536 |
*/ |
4539 | 4537 |
static int |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002-2006 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -271,8 +272,6 @@ messageSetMimeType(message *mess, const char *type) |
271 | 271 |
mess->mimeType = MEXTENSION; |
272 | 272 |
else { |
273 | 273 |
/* |
274 |
- * Based on a suggestion by James Stevens |
|
275 |
- * <James@kyzo.com> |
|
276 | 274 |
* Force scanning of strange messages |
277 | 275 |
*/ |
278 | 276 |
if(strcasecmp(type, "plain") == 0) { |
... | ... |
@@ -674,7 +673,6 @@ messageFindArgument(const message *m, const char *variable) |
674 | 674 |
return NULL; |
675 | 675 |
|
676 | 676 |
/* |
677 |
- * Thomas Lamy <Thomas.Lamy@in-online.net>: |
|
678 | 677 |
* fix un-quoting of boundary strings from |
679 | 678 |
* header, occurs if boundary was given as |
680 | 679 |
* 'boundary="_Test_";' |
... | ... |
@@ -1188,7 +1186,6 @@ messageExport(message *m, const char *dir, void *(*create)(void), void (*destroy |
1188 | 1188 |
blob *tmp; |
1189 | 1189 |
|
1190 | 1190 |
/* |
1191 |
- * Table look up by Thomas Lamy <Thomas.Lamy@in-online.net> |
|
1192 | 1191 |
* HQX conversion table - illegal chars are 0xff |
1193 | 1192 |
*/ |
1194 | 1193 |
const unsigned char hqxtbl[] = { |
... | ... |
@@ -2092,8 +2089,6 @@ decodeLine(message *m, encoding_type et, const char *line, unsigned char *buf, s |
2092 | 2092 |
} |
2093 | 2093 |
|
2094 | 2094 |
/* |
2095 |
- * Fix by Torok Edvin |
|
2096 |
- * <edwintorok@gmail.com> |
|
2097 | 2095 |
* Handle messages that use a broken |
2098 | 2096 |
* quoted-printable encoding of |
2099 | 2097 |
* href=\"http://, instead of =3D |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Michal 'GiM' Spadlinski http://gim.org.pl/ |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Michal 'GiM' Spadlinski http://gim.org.pl/ |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
4 |
- * Credits: Decompression scheme by M. Winterhoff |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
4 |
- * Credits: Decompression scheme by M. Winterhoff |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,14 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of OLE2 files (e.g. MS Office Documents) |
3 | 3 |
* |
4 |
- * Copyright (C) 2004-2007 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog |
|
5 | 7 |
* |
6 |
- * This code is based on the OpenOffice and libgsf sources. |
|
7 |
- * |
|
8 | 8 |
* This program is free software; you can redistribute it and/or modify |
9 |
- * it under the terms of the GNU General Public License as published by |
|
10 |
- * the Free Software Foundation; either version 2 of the License, or |
|
11 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
12 | 11 |
* |
13 | 12 |
* This program is distributed in the hope that it will be useful, |
14 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,14 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of OLE2 files (e.g. MS Office Documents) |
3 | 3 |
* |
4 |
- * Copyright (C) 2004 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog |
|
5 | 7 |
* |
6 |
- * This code is based on the OpenOffice and libgsf sources. |
|
7 |
- * |
|
8 | 8 |
* This program is free software; you can redistribute it and/or modify |
9 |
- * it under the terms of the GNU General Public License as published by |
|
10 |
- * the Free Software Foundation; either version 2 of the License, or |
|
11 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
12 | 11 |
* |
13 | 12 |
* This program is distributed in the hope that it will be useful, |
14 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 1999 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm, Trog |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 1999 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu, Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* MA 02110-1301, USA. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
- |
|
20 | 19 |
#if HAVE_CONFIG_H |
21 | 20 |
#include "clamav-config.h" |
22 | 21 |
#endif |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu, Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005-2007 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -13,7 +14,8 @@ |
13 | 13 |
* |
14 | 14 |
* You should have received a copy of the GNU General Public License |
15 | 15 |
* along with this program; if not, write to the Free Software |
16 |
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
16 |
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
17 |
+ * MA 02110-1301, USA. |
|
17 | 18 |
* |
18 | 19 |
* TODO: Embedded fonts |
19 | 20 |
* TODO: Predictor image handling |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -16,10 +17,11 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 |
- |
|
20 | 19 |
#ifndef __PDF_H |
21 | 20 |
#define __PDF_H |
22 | 21 |
|
22 |
+#include "others.h" |
|
23 |
+ |
|
23 | 24 |
int cli_pdf(const char *dir, int desc, cli_ctx *ctx); |
24 | 25 |
|
25 | 26 |
#endif |
... | ... |
@@ -1,11 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
3 |
- * aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu, Tomasz Kojm |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 |
- * it under the terms of the GNU General Public License as published by |
|
7 |
- * the Free Software Foundation; either version 2 of the License, or |
|
8 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
9 | 9 |
* |
10 | 10 |
* This program is distributed in the hope that it will be useful, |
11 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,13 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 | 3 |
* |
4 |
- * Implementation (header structures) based on the PE format description |
|
5 |
- * by B. Luevelsmeyer |
|
4 |
+ * Authors: Alberto Wu, Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 |
- * it under the terms of the GNU General Public License as published by |
|
9 |
- * the Free Software Foundation; either version 2 of the License, or |
|
10 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
11 | 9 |
* |
12 | 10 |
* This program is distributed in the hope that it will be useful, |
13 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Phishing module: domain list implementation. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Phishing module: domain list implementation. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
|
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Phishing module: whitelist implementation. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Phishing module: whitelist implementation. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
|
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Detect phishing, based on URL spoofing detection. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,8 +1,10 @@ |
1 | 1 |
/* |
2 | ||
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Török Edvin |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License version 2 as |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
6 | 8 |
* published by the Free Software Foundation. |
7 | 9 |
* |
8 | 10 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Match a string against a list of patterns/regexes. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Match a string against a list of patterns/regexes. |
3 | 3 |
* |
4 | ||
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
|
... | ... |
@@ -1,8 +1,12 @@ |
1 | 1 |
/* |
2 | ||
2 |
+ * Extract embedded objects from RTF files. |
|
3 |
+ * |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
3 | 7 |
* |
4 | 8 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
6 | 10 |
* published by the Free Software Foundation. |
7 | 11 |
* |
8 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -1,8 +1,10 @@ |
1 | 1 |
/* |
2 | ||
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Török Edvin |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License version 2 as |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
6 | 8 |
* published by the Free Software Foundation. |
7 | 9 |
* |
8 | 10 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,8 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 - 2008 Sourcefire, Inc. |
|
3 |
- * Author: Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
4 | 3 |
* |
5 |
- * Copyright (C) 2002 - 2004 Tomasz Kojm <tkojm@clamav.net> |
|
4 |
+ * Authors: Tomasz Kojm |
|
6 | 5 |
* |
7 | 6 |
* This program is free software; you can redistribute it and/or modify |
8 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004-2005 trog@uncon.org |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Trog |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 trog@uncon.org |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Trog |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
3 |
- * cli_strrcpy(): Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
4 |
- * cli_strtokenize(): Copyright (C) 2007 Edwin Torok <edwin@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm, Nigel Horne, Török Edvin |
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or modify |
7 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -400,10 +400,6 @@ char *cli_strrcpy(char *dest, const char *source) /* by NJH */ |
400 | 400 |
#ifndef HAVE_STRCASESTR |
401 | 401 |
const char* cli_strcasestr(const char* a, const char *b) |
402 | 402 |
{ |
403 |
- /* |
|
404 |
- * From http://unixpapa.com/incnote/string.html, which has this notice: |
|
405 |
- * All of the C code on this page is public domain and may be used without concern for licenses. Some was contributed by Dan Cross. |
|
406 |
- */ |
|
407 | 403 |
size_t l; |
408 | 404 |
char f[3]; |
409 | 405 |
const size_t strlen_a = strlen(a); |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Tomasz Kojm, Nigel Horne, Török Edvin |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2002 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Generic text normalizer. |
3 | 3 |
* |
4 |
- * Copyright (C) 2008 Török Edvin <edwin@clamav.net> |
|
4 |
+ * Copyright (C) 2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -16,7 +18,6 @@ |
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
18 | 18 |
* MA 02110-1301, USA. |
19 |
- * |
|
20 | 19 |
*/ |
21 | 20 |
|
22 | 21 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
/* |
2 | 2 |
* Generic text normalizer. |
3 | 3 |
* |
4 |
- * Copyright (C) 2008 Török Edvin <edwin@clamav.net> |
|
4 |
+ * Copyright (C) 2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Török Edvin |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License version 2 as |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 | 10 |
* published by the Free Software Foundation. |
9 | 11 |
* |
10 | 12 |
* This program is distributed in the hope that it will be useful, |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -15,10 +16,6 @@ |
15 | 15 |
* along with this program; if not, write to the Free Software |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 |
- * |
|
19 |
- * The algorithm is based on kdepim/ktnef/lib/ktnefparser.cpp from |
|
20 |
- * KDE, rewritten in C by NJH. That algorithm is released under the GPL and is |
|
21 |
- * Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be> |
|
22 | 18 |
*/ |
23 | 19 |
|
24 | 20 |
#if HAVE_CONFIG_H |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -17,4 +18,9 @@ |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 | 19 |
|
20 |
+#ifndef __TNEF_H |
|
21 |
+#define __TNEF_H |
|
22 |
+ |
|
20 | 23 |
int cli_tnef(const char *dir, int desc); |
24 |
+ |
|
25 |
+#endif |
... | ... |
@@ -1,7 +1,9 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of ARJ archives. |
3 | 3 |
* |
4 |
- * Copyright (C) 2007 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 | 9 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,7 +1,9 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract component parts of ARJ archives |
3 | 3 |
* |
4 |
- * Copyright (C) 2007 trog@uncon.org |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Nigel Horne |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 | 9 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2000-2007 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -15,11 +16,8 @@ |
15 | 15 |
* along with this program; if not, write to the Free Software |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 |
- * |
|
19 |
- * Much of this code is based on minitar.c which is in the public domain. |
|
20 |
- * Author: Charles G. Waldman (cgw@pgt.com), Aug 4 1998 |
|
21 |
- * There are many tar files that this code cannot decode. |
|
22 | 18 |
*/ |
19 |
+ |
|
23 | 20 |
static char const rcsid[] = "$Id: untar.c,v 1.35 2007/02/12 20:46:09 njh Exp $"; |
24 | 21 |
|
25 | 22 |
#if HAVE_CONFIG_H |
... | ... |
@@ -119,9 +117,6 @@ cli_untar(const char *dir, int desc, unsigned int posix, cli_ctx *ctx) |
119 | 119 |
|
120 | 120 |
type = block[156]; |
121 | 121 |
|
122 |
- /* |
|
123 |
- * Extra types from djgardner@users.sourceforge.net |
|
124 |
- */ |
|
125 | 122 |
switch(type) { |
126 | 123 |
default: |
127 | 124 |
cli_warnmsg("cli_untar: unknown type flag %c\n", type); |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Michal 'GiM' Spadlinski http://gim.org.pl/ |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -17,12 +18,6 @@ |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 | 19 |
|
20 |
-/* |
|
21 |
- * upack.c |
|
22 |
- * |
|
23 |
- * |
|
24 |
- */ |
|
25 |
- |
|
26 | 20 |
#if HAVE_CONFIG_H |
27 | 21 |
#include "clamav-config.h" |
28 | 22 |
#endif |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Michal 'GiM' Spadlinski http://gim.org.pl/ |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Michal 'GiM' Spadlinski |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2004 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -16,6 +17,7 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
17 | 17 |
* MA 02110-1301, USA. |
18 | 18 |
*/ |
19 |
+ |
|
19 | 20 |
static char const rcsid[] = "$Id: uuencode.c,v 1.8 2006/12/11 11:55:11 njh Exp $"; |
20 | 21 |
|
21 | 22 |
#include "clamav.h" |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2006 Nigel Horne <njh@bandsman.co.uk> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Nigel Horne |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,13 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract VBA source code for component MS Office Documents |
3 | 3 |
* |
4 |
- * Copyright (C) 2007 SourceFIRE Inc. |
|
5 |
- * Maintained by trog@uncon.org and njh@clamav.net |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog, Nigel Horne |
|
6 | 7 |
* |
7 | 8 |
* This program is free software; you can redistribute it and/or modify |
8 |
- * it under the terms of the GNU General Public License as published by |
|
9 |
- * the Free Software Foundation; either version 2 of the License, or |
|
10 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
11 | 11 |
* |
12 | 12 |
* This program is distributed in the hope that it will be useful, |
13 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -19,6 +19,7 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
20 | 20 |
* MA 02110-1301, USA. |
21 | 21 |
*/ |
22 |
+ |
|
22 | 23 |
#if HAVE_CONFIG_H |
23 | 24 |
#include "clamav-config.h" |
24 | 25 |
#endif |
... | ... |
@@ -70,7 +71,6 @@ typedef struct { |
70 | 70 |
int big_endian; /* e.g. MAC Office */ |
71 | 71 |
} vba_version_t; |
72 | 72 |
|
73 |
-/* from libgsf */ |
|
74 | 73 |
static const vba_version_t vba_versions[] = { |
75 | 74 |
{ 0x0100005e, "97", FALSE }, |
76 | 75 |
{ 0x0100005f, "97 SR1", FALSE }, |
... | ... |
@@ -1,12 +1,13 @@ |
1 | 1 |
/* |
2 | 2 |
* Extract VBA source code for component MS Office Documents |
3 | 3 |
* |
4 |
- * Copyright (C) 2007 SourceFIRE Inc. |
|
4 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
5 |
+ * |
|
6 |
+ * Authors: Trog, Nigel Horne |
|
5 | 7 |
* |
6 | 8 |
* This program is free software; you can redistribute it and/or modify |
7 |
- * it under the terms of the GNU General Public License as published by |
|
8 |
- * the Free Software Foundation; either version 2 of the License, or |
|
9 |
- * (at your option) any later version. |
|
9 |
+ * it under the terms of the GNU General Public License version 2 as |
|
10 |
+ * published by the Free Software Foundation. |
|
10 | 11 |
* |
11 | 12 |
* This program is distributed in the hope that it will be useful, |
12 | 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,6 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2007 Sourcefire Inc. |
|
3 |
- * Author: aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
4 | 5 |
* |
5 | 6 |
* This program is free software; you can redistribute it and/or modify |
6 | 7 |
* it under the terms of the GNU General Public License version 2 as |
... | ... |
@@ -1,10 +1,11 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 Ivan Zlatev <pumqara@gmail.com> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Ivan Zlatev |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 |
- * it under the terms of the GNU General Public License as published by |
|
6 |
- * the Free Software Foundation; either version 2 of the License, or |
|
7 |
- * (at your option) any later version. |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
8 | 9 |
* |
9 | 10 |
* This program is distributed in the hope that it will be useful, |
10 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
... | ... |
@@ -23,7 +24,6 @@ |
23 | 23 |
* 13/01/2006 - merged standalone unpacker into libclamav |
24 | 24 |
* 14/01/2006 - major rewrite and bugfix |
25 | 25 |
*/ |
26 |
- |
|
27 | 26 |
|
28 | 27 |
#include <string.h> |
29 | 28 |
|
... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
/* |
2 |
- * Copyright (C) 2005 aCaB <acab@clamav.net> |
|
2 |
+ * Copyright (C) 2007-2008 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: Alberto Wu |
|
3 | 5 |
* |
4 | 6 |
* This program is free software; you can redistribute it and/or modify |
5 | 7 |
* it under the terms of the GNU General Public License version 2 as |