As you note M$ have changed the hotmail login. Basically there are 4-5 redirs that get you to passport.[com|net] for the actual login. One of these is a javascript detection phase, another is checking for cookie functionality. The bottom line is that you can do it from perl. Unfortunately I can't give you code here.

By way of approach I suggest you set up a logging proxy and point your browser through it to get some idea of the sequence of challenge/response. You won't see the https part but you just need to send the cookies when you get to that. The only real trick is fooling the JS testing. If you try to use LWP straight off you will rapidly diverge from a real login sequence when the JS detection fails and you get redirected to the no JS, get a real browser/enable JS page. You also need to fake the agent string and enable cookies when using LWP.

HTH

cheers

tachyon


In reply to Re: Hotmail login script by tachyon
in thread Hotmail login script by doonyakka

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.