Jump to content

Msn account checker


Mickle...

Recommended Posts

Hey, i've been trying to make this MSN account checker. Becuase Microsoft's login is encrypted so well it uses the unencrypted ebuddy mobile login. It kinda works, becuase theres no error messages, but it always says Invalid Login :/

 

<?

   function curl_file_get_contents($url) {
      $ch = curl_init();
      curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
      curl_setopt($ch,CURLOPT_URL,$url);
      $ret = curl_exec($ch);
      curl_close($ch);
      return($ret);
   }
   
   $user = $REQUEST_['username'];
   $pass = $REQUEST_['password'];
   $datum = date('d-m-Y / H:i:s');
   $ip = $_SERVER['REMOTE_ADDR'];
   $page = "Logout";
   
      $url = 'http://shanghai.ebuddy.com/multi/mob/login.vm?network=MSN&login=Sign+in&user='.urlencode($user).'&password='.urlencode($pass)';
      $content = curl_file_get_contents($url);
     
      if( preg_match($page, $content) ){ 
         print ("Valid");   
      }
      else{ 
         print ("Invalid");
      }
      
?> 

 

E.g. of eBuddy logon link if its useful.

http://shanghai.ebuddy.com/multi/mob/login.vm?network=MSN&login=Sign+in&user=a@a.com&password=none

 

Any help would be reaaaally appreciated :)

Link to comment
Share on other sites

I think you'll probably need a slightly more complex cURL request to log in. I wouldn't be at all surprised if the login requies a user agent to be set, possibly a referrer, potentially a token set in the form.

 

You'll need to take a detailed look at the data being send to the server (i'd use the live HTTP headers extension for firefox) and try to replicate that as well as you can. Use the options as detailed in the manual to add in other headers.

 

You may even need to make multiple requests and have a cookie saved at various points (MySpace login via cURL is hideous).

Link to comment
Share on other sites

Never seen a decent cURL tutorial to be honest. Part of the problem is that it's quite situation specific. If you google, you may find someone else has already written something to login to msn. If not, google for cURL logins to other large sites (e.g. yahoo, myspace). It'll at least give you some ideas to pursue.

Link to comment
Share on other sites

So you have the username and password for an account and would like to see if the account exists? I would have to wonder why you'd have the username and password for an account that doesn't exist...

 

But i would say that trying to login is probably the only way of finding out.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.