|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 124 |
i'm trying to access my hotmail account by using the messenger protocol. i can generate a html file with all the cookies, credentials etc needed which looks like..
<html><head><noscript><meta http-equiv=Refresh content="0; url=http://www.hotmail.com"></noscript></head> <body onload="document.pform.submit(); "> <form name="pform" action="https://loginnet.passport.com/ppsecure/md5auth.srf?lc=1031" method="POST"> <input type="hidden" name="mode" value="ttl"> <input type="hidden" name="login" value="boo"> <input type="hidden" name="username" value="boo@hotmail.com"> <input type="hidden" name="sid" value="567"> <input type="hidden" name="kv" value="7"> <input type="hidden" name="id" value="2"> <input type="hidden" name="sl" value="9"> <input type="hidden" name="rru" value="/cgi-bin/HoTMaiL"> <input type="hidden" name="auth" value="4S47OvufeDapv3F3nl1dpn!jsmjGTcc5cvW7Oe0jx0HmUd!*4hTf8en5hbvhtC!ErGmUZcQ6ikINaUSiVimzJs!A$$"> <input type="hidden" name="creds" value="c7c8bd403da4d73f04295a8deddf69e0"> <input type="hidden" name="svc" value="mail"><input type="hidden" name="js" value="yes"></form></body></html>
if i execute the above code in internet explorer it logs me in just fine.
now my question is if i'm using mirc sockets how i would wrap the above data to let me access my email.
i keep getting the Access Denided error by the login server, (loginnet.passport.com) Apparently i'm missing something.
Any Help will be glâdly appreciated.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
i havn;t tested, but try this...
alias hotmail { /sockopen hotmail loginnet.passport.com 80 }
on 1:SOCKOPEN:hotmail: { if ($sockerr) var %err = $input Error connecting to hotmail account, ow, Error Occured) else { var %post = mode=ttl&login=boo&username=boo@hotmail.com&sid=567&kv=7&id=2&dl=9& $& auth=4S47OvufeDapv3F3nl1dpn!jsmjGTcc5cvW7Oe0jx0HmUd!*4hTf8en5hbvhtC!ErGmUZcQ6ikINaUSiVimzJs!A$$& $& creds=c7c8bd403da4d73f04295a8deddf69e0&svc=mail&js=yes /sockwrite -n $sockname POST /ppsecure/md5auth.srf?lc=1031 HTTP/1.0 /sockwrite -n $sockname Host: loginnet.passport.com /sockwrite -n $sockname /sockwrite -n $sockname %post if ($isfile(hotmail.htm)) .remove hotmail.htm } }
on 1:SOCKREAD:hotmail: { /sockread -f &data /bwrite hotmail.htm -1 -1 &data }
on 1:SOCKCLOSE:hotmail: { /run hotmail.htm }
-KingTomato
|
|
|
|
Joined: Apr 2003
Posts: 414
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 414 |
Only with mirc socket is very hard to send some to a https server .. Because you need to encrypt the post data with a key .. You need a special program .. Like curl .. You can find it at http://curl.haxx.se
|
|
|
|
Joined: Apr 2003
Posts: 414
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 414 |
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
Excuse me? 443? Try 80-- Commoners are 21 - ftp 23 - telnet 25 - smtp 80 - http 110 - mail 137-139 - NetBIOS 443 - ssl
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
No, 80 is HTTP, 443 is HTTPS (SSL) which is what they're talking about. You even have it on that list right there.
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 124 |
ty for the effort. that^s exactly how far I get too.
HTTP/1.1 403 Access Forbidden Server: Microsoft-IIS/5.0
so it means i have to open the socket to port 443?
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 124 |
Adrenalin: i got the key,login,credentials, i just can't figure how to parse the data using mirc sockets, to log me in and bring me to the inbox.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
my mistake, i thought you mean http's as in http is on.
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 124 |
btw .. nice website KingTomato
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
ty, but it's temporary. The site's host is going to change because my current (hostonce.com) is a pos.
-KingTomato
|
|
|
|
|
|