Browse code

add new e-mail detection rule

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@763 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/08/18 20:04:24
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Aug 18 13:01:06 CEST 2004 (tk)
2
+----------------------------------
3
+  * libclamav/filetypes.c: add new e-mail detection rule
4
+
1 5
 Wed Aug 18 08:45:38 BST 2004 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/mbox.c:	If CHECKURLS is compiled in, use libcurl automatically
... ...
@@ -115,8 +115,10 @@ static const struct cli_magic_s cli_magic[] = {
115 115
 
116 116
 static const struct cli_smagic_s cli_smagic[] = {
117 117
 
118
-    /* "From: " * "Content-Type: " */
119
-    {"0a46726f6d3a20{-2048}0a436f6e74656e742d547970653a20",    "Mail file", CL_MAILFILE},
118
+    /* "\nFrom: " * "\nContent-Type: " */
119
+    {"0a46726f6d3a20{-2048}0a436f6e74656e742d547970653a20", "Mail file", CL_MAILFILE},
120
+    /* "\nReceived: " * "\nContent-Type: " */
121
+    {"0a52656365697665643a20{-2048}0a436f6e74656e742d547970653a20", "Mail file", CL_MAILFILE},
120 122
 
121 123
     /* remember the matcher is case sensitive */
122 124
     {"3c62723e",       "HTML data", CL_HTMLFILE},	/* <br> */