Cheating Network
 
 

Go Back   Cheating Network > Programming > General
Reload this Page Getting the live/passport.net cookie



General

This is a discussion about Getting the live/passport.net cookie within the General section, where you will General Talk of Programming



Reply
 
LinkBack Thread Tools Display Modes
Old 08-06-2009, 04:32 PM   #1 (permalink)
Crazy Moderator
 
Slashmolder's Avatar
 
Join Date: Dec 2007
Posts: 5,065
Reputation: 420
Slashmolder is just really niceSlashmolder is just really niceSlashmolder is just really niceSlashmolder is just really niceSlashmolder is just really nice

cBay Rating:

S7 Scrivener Epsilon 

Send a message via AIM to Slashmolder Send a message via MSN to Slashmolder
Default Getting the live/passport.net cookie

I'm trying to find a way to get the cookie for the live login service (for clubbing) that way I can login with webrequests instead of using a browser. My current issue is that when I send a httpwebrequest to any of the login pages on live it always says. You must enable cookies. No matter what I do, even enabling cookies by adding a cookie container, I can't get the webrequest to properly load the login page. Any ideas would be appreciated.

Error I'm getting:


Code I'm using to test this:
Code:
        private void button1_Click(object sender, EventArgs e)
        {
            webBrowser1.DocumentText = GetHttpSource("http://login.live.com/login.srf");          
        }
 
        private string GetHttpSource(string url)
        {
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
            request.CookieContainer = new CookieContainer();
            request.UseDefaultCredentials = true;
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            Stream responseStream = response.GetResponseStream();
            StreamReader reader = new StreamReader(responseStream);
            string str = reader.ReadToEnd();
            reader.Close();
            responseStream.Close();
            response.Close();
            return str;
        }
__________________
If I helped you, or just made you laugh, add to my Rep.
If you feel generous: Donate!
Quote:
Originally Posted by sc4fpse View Post
This just in: scaf is jealous of Slashmolder.

Last edited by Slashmolder; 08-06-2009 at 11:29 PM..
Slashmolder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Tags
cookie, live or passportnet


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Fortunes 1 Cookie 007 Chit Chat 8 01-24-2009 09:57 PM
Cookie clearer? crazyboy515 Chit Chat 2 01-13-2009 12:47 AM
LG Cookie armman Chit Chat 2 01-06-2009 07:02 AM
got cookie becky7234 Received In The Mail Today 8 09-24-2008 05:46 PM




Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.