From: plan9fans@ntlworld.nospam.com
To: 9fans@cse.psu.edu
Subject: [9fans] MYDoom-F pipeto pattern
Date: Fri, 27 Feb 2004 14:42:28 +0000 [thread overview]
Message-ID: <5129cce78925fa024f07ab7ee75d6186@snellwilcox.com> (raw)
Hi,
I've started to get more viruses:
Here is an replacement for the function in /mail/lib/pipeto.lib
for anyone who has similar problems.
It is tuned for Mydoom-A, Mydoom-F and the Swen.A
fn isvirus {
virus=no
if(grep -s '\.(exe|scr|bat|com|cmd)' $D/2/filename >[2]/dev/null){
if (strings $D/2/body [2]>/dev/null | grep -s 'Try to pull my legs' ) virus=yes
if (! ~ `{cat $D/2/body | rot13 | grep 'Version\\Explorer'} '' ) virus=yes
if (! ~ `{cat $D/2/body | rot13 | tcs -f microsoft | grep 'RCPT TO:.*MAIL.*HELO'} '' ) virus=yes
}
if (grep -si '\.zip' $D/2/filename >[2]/dev/null)
if (! ~ `{unzip -sc < $D/2/body | rot13 | grep 'Version\\Explorer'} '' ) virus=yes
if (! ~ `{unzip -cs < $D/2/body | rot13 | tcs -f microsoft | grep 'RCPT TO:.*MAIL.*HELO'} '' ) virus=yes
}
if(~ $virus yes)
status=''
if not
status='not this virus'
}
reply other threads:[~2004-02-27 14:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5129cce78925fa024f07ab7ee75d6186@snellwilcox.com \
--to=plan9fans@ntlworld.nospam.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).