[Mimedefang] character substitutions and obfuscation
Dave Helton
dave at kd0yu.com
Mon Sep 27 20:04:35 EDT 2004
Greetings all,
I have a block of code that _extensively_ checks the subject
lines for obfuscations and the like.
I'd like to add the following to an existing rule,
$subst1=236; ## substitutions in the word viagra
$subst2=237; ## .. the grave accented i
$subst3=242; ## grave and acute accented oh.
$subst4=243;
$subj_line =~ s/($subst1|$subst2)/i/g;
$subj_line =~ s/($subst3|$subst4)/o/g;
Does anyone on the list have a code example for this, or a better way of
testing/substituting for these characters?
Tnx
--
Dave Helton, KD0YU <dave at kd0yu dot com>
Real World Computing
Davenport, IA, US
563-386-4041
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20040927/5fd8e556/attachment-0002.sig>
More information about the MIMEDefang
mailing list