Post Reply 
Andrew's Security Filter(s) v5.62 (May 10, 2009)
Jul. 11, 2008, 10:20 PM
Post: #61
RE: Andrew's Security Filter(s) v5.57 (July 8, 2008)
Nice to see an update to this filter.
Here's a couple of things I noticed.

When the noscript and iframe tags match, the tags attributes are inlcuded inside the textarea tag.
It can make for a rather odd looking textarea replacement tag, especially with the iframe tag.
Perhaps the filter should match & replace the entire tag when replacing with a textarea tag.

There seems to be a problem with bypassing.
Add this code to the top of "Andrew's Security Filter v5.57" web filter:
Code:
$SET(bypassing=1)$SET(a_applet=1)$SET(a_object=1)
$SET(a_embed=1)$SET(a_noscript=1)$SET(a_iframe=1)

In the log window, test code:
Code:
</applet></object></embed></noscript></iframe>

Log window matching code:
Code:
</foo></foo></foo></textarea></textarea>
These shouldn't match when bypassed.
I find Notepad++ to be very useful for making sure parenthesis match the desired code. Smile!

Is $STOP() even needed now? Stopping at the end of the page probably won't speed things up.
I can see $STOP being useful when bypassing=1.

Also, the js is not injected if not bypassing and no matches occured on the page.
Is this intentional?

z12
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Andrew's Security Filter(s) - Guest - Aug. 02, 2007, 10:23 AM
RE: Andrew's Security Filter(s) - usr - Aug. 02, 2007, 11:05 AM
RE: Andrew's Security Filter(s) - Kye-U - Aug. 02, 2007, 02:01 PM
RE: Andrew's Security Filter(s) - usr - Aug. 02, 2007, 02:07 PM
RE: Andrew's Security Filter(s) - Oddysey - Aug. 02, 2007, 06:33 PM
RE: Andrew's Security Filter(s) - usr - Aug. 02, 2007, 09:11 PM
RE: Andrew's Security Filter(s) - Kye-U - Aug. 02, 2007, 10:43 PM
RE: Andrew's Security Filter(s) - usr - Aug. 02, 2007, 11:53 PM
RE: Andrew's Security Filter(s) - Kye-U - Aug. 04, 2007, 04:26 AM
RE: Andrew's Security Filter(s) - usr - Aug. 04, 2007, 10:21 AM
RE: Andrew's Security Filter(s) - Kye-U - Oct. 22, 2007, 05:15 AM
RE: Andrew's Security Filter(s) - usr - Nov. 02, 2007, 08:40 PM
RE: Andrew's Security Filter(s) v3 (Nov. 11, 2007) - Guest - Apr. 22, 2008, 12:01 PM
RE: Andrew's Security Filter(s) v5.57 (July 8, 2008) - z12 - Jul. 11, 2008 10:20 PM

Forum Jump: