Results 1 to 6 of 6

Thread: (Auto Yahoo Login) Getting Logon Status

  1. #1
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default (Auto Yahoo Login) Getting Logon Status

    Hi, I play a lot of yahoo spades so I have made a backdoor page with a form to log me in to yahoo on page-load in the background.

    I am really trying to figure out how yahoo knows whether you are logged in and if so what screenname you are under.

    Example: On any yahoo page after logging in you see the text at the top..
    Code:
    Welcome, yahoo_screen_name
    [Sign Out, My Account]
    I would like to check to see a given SN is logged on before processing logon form and display a different image depending on the current online status (before and after logon).

  2. #2
    Join Date
    Dec 2006
    Posts
    47
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default

    Look for the yahoo cookies

  3. #3
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb

    I have an alternate idea..
    Since I don't know how to read the cookies or the hash that yahoo uses, I came up with using the getelementbyid and innerhtml properties. This should work but doesn't for some reason? I've been trying and trying but I have come to a dead end. Here is the code:

    Code:
    <html>
    <head>
    <script type="text/javascript">
    function alertInnerHTML()
      {
      alert(window.frames.zzz.getElementById("ygmagreet").innerHTML);
      }
    </script>
    </head>
    <body>
    <iframe name="zzz" src="http://profiles.yahoo.com"></iframe>
    <br>
    <input type="button" onclick=alertInnerHTML() value="Logged In SN?" />
    
    </body>
    </html>

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    The html in the page isn't actually parsed in your browser, which basically means it isn't there, just feeding the page through your browser. You can't interact with elements in an iframe that links to an external site.
    - Mike

  5. #5
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking

    That's quite a disappointment. Why is it possible to do this with software? Is it possible to use View-Source:http://www.google.com and feed this url through an iframe? Then you could extract the needed html. Can you open a popup window and read from there then close it or use a regular frame?


    There has to be a way! LoL

    F.U.ck It I'm TriPPiN

  6. #6
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    That'll be a security threat though.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •