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&[email protected]&password=none

 

Any help would be reaaaally appreciated :)

Link to comment
https://forums.phpfreaks.com/topic/117524-msn-account-checker/
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
https://forums.phpfreaks.com/topic/117524-msn-account-checker/#findComment-604481
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
https://forums.phpfreaks.com/topic/117524-msn-account-checker/#findComment-604487
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
https://forums.phpfreaks.com/topic/117524-msn-account-checker/#findComment-604509
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.