Post Reply 
Yahoo: Auto Login
Jul. 10, 2013, 05:09 AM (This post was last modified: Jul. 10, 2013 02:45 PM by JJoe.)
Post: #7
RE: Yahoo: Auto Login
(Jul. 09, 2013 07:47 PM)neverwasinparis Wrote:  I am interested in this. why are $AV(*) and \w not infallible?

My memory is incomplete and a quick search didn't find the info for me to post. I have few examples or notes to share.

After Scott left, I remember \w based filter not working as expected. Also, I believe [^>]++ is quicker. So I rarely use \w.


Changes.txt shows Scott fixed some of the $AV and $AVQ problems I remember. Testing seems to show he also fixed another. Another may have been my non standard use. Wink

Consider *=$AV(\1)* against

Code:
onmouseover=\"A>0&&DoSomething()\"

Code:
[Patterns]
Name = "New HTML filter"
Active = FALSE
Limit = 256
Match = "*=$AV(\1)*"
Replace = "\1"

Should it match? What do you expect to see in \1? Then remove the > and retest. Then add a line return between the quotes and retest. This is expected, however, on escaped quotes $AV will sometimes forget to collect the final quote.



(Jul. 09, 2013 07:47 PM)neverwasinparis Wrote:  I am using something like
Code:
((\s|)\w=$AV(*)|(\s|)\w)+
and never noticed any problems.

I would not expect these issues to affect your filter.

I do see a typo. You forgot a +, ((\s|)\w=$AV(*)|(\s|)\w)++.

Regarding (\s|), after the first leg fails the Proxomitron will may search the same code again and fail again (slow).

\s( \w=$AV(*)| \w)++
seems better to me.

Have fun.



Note:
<form((\s|)\w=$AV(*)|(\s|)\w)+ name
doesn't match
<form onmouseover="A>0&&DoSomething()" name="login_form"
because the single plus causes the expression to match all the attributes including the "name" attrib.

Edit: changed "will" to "may" because it depends.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Yahoo: Auto Login - ProxRocks - Jun. 29, 2013, 09:48 PM
RE: Yahoo: Auto Login - JJoe - Jun. 30, 2013, 03:22 PM
RE: Yahoo: Auto Login - neverwasinparis - Jul. 05, 2013, 04:18 PM
RE: Yahoo: Auto Login - JJoe - Jul. 06, 2013, 01:35 AM
RE: Yahoo: Auto Login - neverwasinparis - Jul. 09, 2013, 07:47 PM
RE: Yahoo: Auto Login - JJoe - Jul. 10, 2013 05:09 AM
RE: Yahoo: Auto Login - ProxRocks - Jul. 01, 2013, 02:42 PM
RE: Yahoo: Auto Login - neverwasinparis - Jul. 14, 2013, 06:42 PM
RE: Yahoo: Auto Login - ProxRocks - Aug. 05, 2013, 01:36 PM
RE: Yahoo: Auto Login - JJoe - Aug. 05, 2013, 11:19 PM
RE: Yahoo: Auto Login - ProxRocks - Aug. 05, 2013, 11:31 PM

Forum Jump: