Hi.

I noticed that Salvatore Toribio's st patch removed BinHex decode
lines entirely from sub-uudecode.pl.
Also a patch from qms-analog does too.

diff -Naur qmail-scanner-1.22-DISTRO/sub-uudecode.pl 
qmail-scanner-1.22-st-qms-NEW/sub-uudecode.pl
--- qmail-scanner-1.22-DISTRO/sub-uudecode.pl   2004-04-09 14:39:04.000000000 -0500
+++ qmail-scanner-1.22-st-qms-NEW/sub-uudecode.pl       2004-05-27 06:58:30.000000000 
-0500
@@ -1,18 +1,13 @@

 sub check_and_grab_uuencoding {
-  #This finds MIME messages banged onto the bottom of bounces
   if (/^\-\-\- Below this line is a copy of the 
message|^(MIME-Version|Content-Type):/) {
     $contains_rfc822++;
-    &debug("c_a_g: found hidden MIME attachment") if ($contains_rfc822 == 2);
-  }
-  #This finds BinHex attachments
-  if (/^\(This file must be converted with BinHex/) {
-    $contains_rfc822 += 2;
-    &debug("c_a_g: found hidden BinHex attachment") if ($contains_rfc822 == 2);
   }
+  return if (!$uudecode_binary);
   my 
($begin,$perms,$uufile,$uuextension,$uulength,$uuencoded_attachments,$begin_content);
   if (/^(begin) ([0-9][0-9][0-9]) (.*)\n$/) {
     &debug("Ooohhhh, a uuencoded attachment!");


I know original qmail-scanner-1.22 can detect BinHex attachment
such as #5 testvirus.org. but a patched qmail-scanner can't.

Now i use st-patched qmail-scanner but bring them back to
as well as original does.


i like to know reason why they have removed.
Or something i miss it?



Thanks in advices.

-- 
Musashino-shi, Tokyo, Japan
K12LTSP in Japanese ; http://open-mitch.dyndns.org/k12ltsp/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to