Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Security => Topic started by: Arne on January 12, 2002, 09:21:12 AM

Title: Remove flash animation
Post by: Arne on January 12, 2002, 09:21:12 AM
By BMP,

[Patterns]
Name = "Objects >^ Reveal & remove object flash animation in
HTML/DHTML"
Active = TRUE
Bounds = "<object&$NEST(<object,</object>)|<object*</object>"
Limit = 32750
Match = "[^>]++codebase=$AV(*macromedia.com*flash*)*"
"<param ( name=$AV(movie(?|)|src)| value=$AVQ(1))+{2}*"
Replace = "<a href=1><font size=2>[flash]</font></a>"

Name = "Embed >^ Remove & reveal embedded flash animation"
Active = TRUE
Limit = 1024
Match = "<embed*src=(*.swfw)1*>"
Replace = "<a href=1><font size=2>[removed embedded flash]
</font></a>"



Best wishes
Arne
Imici username: Arne
Title: Remove flash animation
Post by: JD5000 on March 07, 2002, 08:10:31 AM
Thoughts on this filter... It seems to work.

Name = "Embed >^ Kill Flash Ads "
Active = TRUE
Multi = TRUE
URL = "^$LST(AllowFlash)"
Bounds = "<embeds*>"
Limit = 1024
Match = "*src=(|")(ad(s|banner|click|fu|ver|image(|s)|name|log|)[^a-z0-9]|"
        "(double|ad|log_)click|click(thru|er|.pl)|phpads|rotator([0-9]+|)|"
        "(banner|click|offer|r(ef|un)|s(ite|eed|ource)|to|pal)(_|)(id|)=|"
        "(web|)sponsor|promo)*.swf*"

--------

"Imagination is more important than knowledge" - Einstein
Title: Remove flash animation
Post by: JD5000 on March 07, 2002, 08:38:04 AM
& this one...

Name = "Objects >^ Kill flash ads "
Active = TRUE
URL = "^$LST(AllowFlash)"
Bounds = "<object&$NEST(<object,</object>)|<object*</object>"
Limit = 1024
Match = "[^>]++codebase=$AV(*macromedia.com*flash*)*"
        "<param ( name=$AV(movie(?|)|src)| value=$AVQ(*(ad(s|banner|click|fu|ver|image(|s)|name|log|)"
        "[^a-z0-9]|(double|ad|log_)click|click(thru|er|.pl)|phpads|rotator([0-9]+|)|"(banner|click|offer|r(ef|un)"
        "|s(ite|eed|ource)|to|pal)(_|)(id|)=|"(web|)sponsor|promo)*))+{2}*"

--------

"Imagination is more important than knowledge" - Einstein

Edited by - JD5000 on 07 Mar 2002  08:47:53