Jun. 29, 2013, 09:48 PM
Jun. 30, 2013, 03:22 PM
Yahoo removed the </form> tag. cautionmetro16_1.gif lol.
I don't use it but following quick fix worked at login.yahoo.com/config/login_verify2
HTH
I don't use it but following quick fix worked at login.yahoo.com/config/login_verify2
Code:
[Patterns]
Name = "Yahoo: Auto Login 13.06.30 (edit! multi) [sd] (o.s)"
Active = FALSE
Multi = TRUE
URL = "(^$KEYCHK(^C^A))$TST(hCT=*html)([^/]++.yahoo.com(:[0-9]+|)/config/(login(_verify2|)|mail)\?(\&+.|(^?))|mail.yahoo.com/)"
Limit = 32766
Match = "øøþ*<form([^>]++name=$AV(login_form))\1(^(*<)+{1}input[^>]++name=$AV(.tries) value=[#3:*])"
"$SET(0= <form class="prx-matched"\1)"
"|<form class="prx-matched"$STOP()"
"[^>]++action=$AV((*://)\1(([^/]++.|)(login.|edit.([^/]++.|))yahoo.com*)\2)"
"(*<(input("
"*name=$AV(.slogin)(*>)+{1} (<input(*>)+{1} )+"
"|(*>)+{1} (<input(*>)+{1} )+$SET(4=<input type=hidden name="login" value=""
""
"YOUR_NICK"
""
"" >\r\n)"
"))\3)"
"$SET(5="
""
"YOUR_PW"
""
")"
"($TST(\1=https://)$TST(keyword=*.i_ssl_h:[12].*)$SET(1=http://https-px-.)|)"
"$SET(0="
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\n"
" "http://www.w3.org/TR/html4/loose.dtd">\r\n\r\n"
"<html>\r\n<head>\r\n<title>Sign In - Yahoo!</title>\r\n"
"<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r\n"
"<style type="text/css">\r\n"
"body"
"{"
" margin: 0px;"
" padding: 0px;"
" color: #313131;"
" background-color: #CEDFEF;"
" font: 12px/20px Verdana, Arial, sans-serif;"
"}\r\n"
"h1"
"{"
" font-size: 20px;"
" font-weight: 600;"
" margin: 80px 100px 30px 100px;"
" padding-left: 20px;"
"}\r\n"
"span"
"{"
" margin: 0px 100px 0px 100px;"
" padding: 8px 50px 8px 50px;"
" background-color: #A5CFF7;"
" border: 1px dashed black;"
"}\r\n"
"</style>\r\n"
"</head>\r\n"
"<body onload="document.login_form.submit()">\r\n"
"<h1>Submitting your Yahoo data...</h1>\r\n"
"<span>This filter can be bypassed by holding down the <b>"CTRL+ALT"</b> keys.</span>\r\n"
"<form method="post" action="\1\2" name="login_form">\r\n"
"<\3\4<input type=hidden name="passwd" value="\5">\r\n"
"<input type=hidden name=".persistent" value="y">\r\n"
"</form>\r\n"
"<div> </div>\r\n"
"</body>\r\n</html>\k"
")"
Replace = "\0"
HTH
Jul. 01, 2013, 02:42 PM
that did the trick...
much appreciated
much appreciated
Jul. 05, 2013, 04:18 PM
may I ask you a question?
why are you using '[^>]+' in outerHTML? for example here:
'[^>]+' is used very often in Sidkis config. ... but it's flawed...
it's one of the problems of this config I mentioned some weeks ago.
just imagine a '>' in an attribute value.
just an example.
why are you using '[^>]+' in outerHTML? for example here:
(Jun. 30, 2013 03:22 PM)JJoe Wrote: [ -> ]<form([^>]++name=$AV
'[^>]+' is used very often in Sidkis config. ... but it's flawed...
it's one of the problems of this config I mentioned some weeks ago.
just imagine a '>' in an attribute value.
Code:
<form onmouseover="A>0&&DoSomething()" name="login_form"
just an example.
Jul. 06, 2013, 01:35 AM
(Jul. 05, 2013 04:18 PM)neverwasinparis Wrote: [ -> ]may I ask you a question?
why are you using '[^>]+' in outerHTML? for example here:
(Jun. 30, 2013 03:22 PM)JJoe Wrote: [ -> ]<form([^>]++name=$AV
'[^>]+' is used very often in Sidkis config. ... but it's flawed...
it's one of the problems of this config I mentioned some weeks ago.
http://prxbx.com/forums/showthread.php?tid=2064
(Jul. 05, 2013 04:18 PM)neverwasinparis Wrote: [ -> ]just imagine a '>' in an attribute value.
Code:
<form onmouseover="A>0&&DoSomething()" name="login_form"
If necessary, I could respond with something like
Code:
<form([^>]++=$AV(*))++ name
Code:
<form( \w=$AV(*))++ name
However, $AV(*) and \w have quirks and are not infallible. I need to see live "examples" that cause real problems. This has never been a problem for this old Yahoo filter.
BTW, the definition of "problem" is a problem. In the end, some people just want the page to load quickly and work.
Jul. 09, 2013, 07:47 PM
I guess our styles of writing filters are 'different'.
I am using something like
and never noticed any problems.
(Jul. 06, 2013 01:35 AM)JJoe Wrote: [ -> ]However, $AV(*) and \w have quirks and are not infallible.I am interested in this. why are $AV(*) and \w not infallible?
I am using something like
Code:
((\s|)\w=$AV(*)|(\s|)\w)+
Jul. 10, 2013, 05:09 AM
(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.
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 likeand never noticed any problems.Code:
((\s|)\w=$AV(*)|(\s|)\w)+
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
\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.
Jul. 14, 2013, 06:42 PM
you mentioned some interesting points.
thanks a lot.
thanks a lot.
Aug. 05, 2013, 01:36 PM
JJoe, the Yahoo Auto Login is broken as of a day or two ago...
Do you see what's happening and is it another easy fix?
Do you see what's happening and is it another easy fix?
Aug. 05, 2013, 11:19 PM
(Aug. 05, 2013 01:36 PM)ProxRocks Wrote: [ -> ]Do you see what's happening and is it another easy fix?
Maybe, I'll guess that they have increased the size of the styling code in the head.
Try
Code:
[Patterns]
Name = "Yahoo: Auto Login helper strip/reinsert p1 13.08.05 (multi) (o.s) [ADD] test"
Active = TRUE
Multi = TRUE
URL = "(^$KEYCHK(^C^A))$TST(hCT=*html)([^/]++.yahoo.com(:[0-9]+|)/config/(login(_verify2|)|mail)\?(\&+.|(^?))|mail.yahoo.com/)"
Limit = 32766
Match = "øøþ(^*</head >)"
"(?+)\1$SET(YL=$GET(YL)\1)$SET(0= øøþ)"
"|"
"øøþ\0(*?)\1(^(^</head >))"
"$SET(YL=$GET(YL)\1)"
"$SET(0=øøþ<!-- Auto Login helper strip/reinsert style -->)"
Replace = "\0"
Name = "Yahoo: Auto Login 13.08.05 (edit! multi) [sd] (o.s)"
Active = TRUE
Multi = TRUE
URL = "(^$KEYCHK(^C^A))$TST(hCT=*html)([^/]++.yahoo.com(:[0-9]+|)/config/(login(_verify2|)|mail)\?(\&+.|(^?))|mail.yahoo.com/)"
Limit = 32766
Match = "øøþ*<form([^>]++name=$AV(login_form))\1(^(*<)+{1}input[^>]++name=$AV(.tries) value=[#3:*])"
"$SET(0= <form class="prx-matched"\1)"
"|<form class="prx-matched"$STOP()"
"[^>]++action=$AV((*://)\1(([^/]++.|)(login.|edit.([^/]++.|))yahoo.com*)\2)"
"(*<(input("
"*name=$AV(.slogin)(*>)+{1} (<input(*>)+{1} )+"
"|(*>)+{1} (<input(*>)+{1} )+$SET(4=<input type=hidden name="login" value=""
""
"YOUR_NICK"
""
"" >\r\n)"
"))\3)"
"$SET(5="
""
"YOUR_PW"
""
")"
"($TST(\1=https://)$TST(keyword=*.i_ssl_h:[12].*)$SET(1=http://https-px-.)|)"
"$SET(0="
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\n"
" "http://www.w3.org/TR/html4/loose.dtd">\r\n\r\n"
"<html>\r\n<head>\r\n<title>Sign In - Yahoo!</title>\r\n"
"<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r\n"
"<style type="text/css">\r\n"
"body"
"{"
" margin: 0px;"
" padding: 0px;"
" color: #313131;"
" background-color: #CEDFEF;"
" font: 12px/20px Verdana, Arial, sans-serif;"
"}\r\n"
"h1"
"{"
" font-size: 20px;"
" font-weight: 600;"
" margin: 80px 100px 30px 100px;"
" padding-left: 20px;"
"}\r\n"
"span"
"{"
" margin: 0px 100px 0px 100px;"
" padding: 8px 50px 8px 50px;"
" background-color: #A5CFF7;"
" border: 1px dashed black;"
"}\r\n"
"</style>\r\n"
"</head>\r\n"
"<body onload="document.login_form.submit()">\r\n"
"<h1>Submitting your Yahoo data...</h1>\r\n"
"<span>This filter can be bypassed by holding down the <b>"CTRL+ALT"</b> keys.</span>\r\n"
"<form method="post" action="\1\2" name="login_form">\r\n"
"<\3\4<input type=hidden name="passwd" value="\5">\r\n"
"<input type=hidden name=".persistent" value="y">\r\n"
"</form>\r\n"
"<div> </div>\r\n"
"</body>\r\n</html>\k"
")"
Replace = "\0"
"$SET(YL=)"
Name = "Yahoo: Auto Login 09.06.28 (edit! multi) [sd] (o.s)"
Active = FALSE
Multi = TRUE
URL = "(^$KEYCHK(^C^A))$TST(hCT=*html)([^/]++.yahoo.com(:[0-9]+|)/config/(login(_verify2|)|mail)\?(\&+.|(^?))|mail.yahoo.com/)"
Limit = 32766
Match = "øøþ*<form([^>]++name=$AV(login_form))\1(^(*<)+{1}input[^>]++name=$AV(.tries) value=[#3:*])"
"$SET(0= <form class="prx-matched"\1)"
"|<form class="prx-matched"$STOP()"
"[^>]++action=$AV((*://)\1(([^/]++.|)(login.|edit.([^/]++.|))yahoo.com*)\2)"
"$INEST(<form,"
"*<(input("
"*name=$AV(.slogin)(*>)+{1} (<input(*>)+{1} )+"
"|(*>)+{1} (<input(*>)+{1} )+$SET(4=<input type=hidden name="login" value=""
""
"YOUR_NICK"
""
"" >\r\n)"
"))\3*"
",</form >)</form >"
"$SET(5="
""
"YOUR_PW"
""
")"
"($TST(\1=https://)$TST(keyword=*.i_ssl_h:[12].*)$SET(1=http://https-px-.)|)"
"$SET(0="
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\n"
" "http://www.w3.org/TR/html4/loose.dtd">\r\n\r\n"
"<html>\r\n<head>\r\n<title>Sign In - Yahoo!</title>\r\n"
"<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r\n"
"<style type="text/css">\r\n"
"body"
"{"
" margin: 0px;"
" padding: 0px;"
" color: #313131;"
" background-color: #CEDFEF;"
" font: 12px/20px Verdana, Arial, sans-serif;"
"}\r\n"
"h1"
"{"
" font-size: 20px;"
" font-weight: 600;"
" margin: 80px 100px 30px 100px;"
" padding-left: 20px;"
"}\r\n"
"span"
"{"
" margin: 0px 100px 0px 100px;"
" padding: 8px 50px 8px 50px;"
" background-color: #A5CFF7;"
" border: 1px dashed black;"
"}\r\n"
"</style>\r\n"
"</head>\r\n"
"<body onload="document.login_form.submit()">\r\n"
"<h1>Submitting your Yahoo data...</h1>\r\n"
"<span>This filter can be bypassed by holding down the <b>"CTRL+ALT"</b> keys.</span>\r\n"
"<form method="post" action="\1\2" name="login_form">\r\n"
"<\3\4<input type=hidden name="passwd" value="\5">\r\n"
"<input type=hidden name=".persistent" value="y">\r\n"
"</form>\r\n"
"<div> </div>\r\n"
"</body>\r\n</html>\k"
")"
Replace = "\0"
Name = "Yahoo: Auto Login helper strip/reinsert p2 13.08.05 (multi) (o.s) [ADD] test"
Active = TRUE
Multi = TRUE
URL = "(^$KEYCHK(^C^A))$TST(hCT=*html)([^/]++.yahoo.com(:[0-9]+|)/config/(login(_verify2|)|mail)\?(\&+.|(^?))|mail.yahoo.com/)"
Limit = 32766
Match = "øøþ<!-- Auto Login helper strip/reinsert style -->"
""
Replace = "øøþ$GET(YL)"
HTH
Aug. 05, 2013, 11:31 PM
Awesome! That did the trick...
Much appreciated
Much appreciated