[Esa-l] check poison files, but not mangle others.

Chris csmith at squiz.net
Thu Mar 22 22:35:57 PST 2001


Hey all,
I'm trying to work something out where I want the poisoned files stopped, 
but I don't necessarily want to mangle all other file types.

eg.
stop "joke.exe" but not mangle other .exe files.. (I know, bad policy...).

I tried commenting these lines below out (to stop mangling), but it also 
let files from the poisoned list through..
I uncommented it & tested, it worked correctly.
So its all or nothing in this case?

:0
* ! MANGLE_EXTENSIONS ?? [^ ]
{
MANGLE_EXTENSIONS='html?|exe|com|cmd|bat|pif|sc[rt]|lnk|dll|ocx|do[ct]|xl[swt]|p[po]t|rtf|vb[se]?|hta|p[lm]|sh[bs]|hlp|chm|eml|ws[cfh]|ad[ep]|jse?|md[abew]|ms[ip]|reg|asd|cil|pps|asx|wm[szd]'
}


Thanks
------------------------
Chris Smith
http://www.squiz.net




More information about the esd-l mailing list