Post Reply 
Yahoo: Auto Login
Jun. 29, 2013, 09:48 PM
Post: #1
Yahoo: Auto Login
has anyone else's "Yahoo: Auto Login 09.06.28 (edit! multi) [sd] (o.s)" stopped working in the last few days?
Add Thank You Quote this message in a reply
Jun. 30, 2013, 03:22 PM
Post: #2
RE: Yahoo: Auto Login
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

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>&#160;</div>\r\n"
        "</body>\r\n</html>\k"
        ")"
Replace = "\0"

HTH
Add Thank You Quote this message in a reply
Jul. 01, 2013, 02:42 PM
Post: #3
RE: Yahoo: Auto Login
that did the trick...
much appreciated Smile!
Add Thank You Quote this message in a reply
Jul. 05, 2013, 04:18 PM
Post: #4
RE: Yahoo: Auto Login
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.

just imagine a '>' in an attribute value.
Code:
<form onmouseover="A>0&&DoSomething()" name="login_form"

just an example.
Add Thank You Quote this message in a reply
Jul. 06, 2013, 01:35 AM
Post: #5
RE: Yahoo: Auto Login
(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
or even
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. Wink In the end, some people just want the page to load quickly and work.
Add Thank You Quote this message in a reply
Jul. 09, 2013, 07:47 PM
Post: #6
RE: Yahoo: Auto Login
I guess our styles of writing filters are 'different'. Big Teeth

(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)+
and never noticed any problems.
Add Thank You Quote this message in a reply
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
Jul. 14, 2013, 06:42 PM
Post: #8
RE: Yahoo: Auto Login
you mentioned some interesting points.

thanks a lot.
Add Thank You Quote this message in a reply
Aug. 05, 2013, 01:36 PM
Post: #9
RE: Yahoo: Auto Login
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?
Add Thank You Quote this message in a reply
Aug. 05, 2013, 11:19 PM
Post: #10
RE: Yahoo: Auto Login
(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>&#160;</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>&#160;</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
Add Thank You Quote this message in a reply
Aug. 05, 2013, 11:31 PM
Post: #11
RE: Yahoo: Auto Login
Awesome! That did the trick...
Much appreciated Smile!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: