nPhoenix

[Habbo] Pegar link da mudança de senha.

Apr 28th, 2012
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.91 KB | None | 0 0
  1. <?php
  2. /*
  3. ##################################
  4. # Get Password Reset Token
  5. # By Phoenix ([email protected])
  6. # For [yopmail.net] e-mail bots
  7. # (c) 2012
  8. # Necessária a requisição de mudar a senha
  9. ##################################
  10. */
  11. $email = addslashes($_GET['e']); // email que quer pegar
  12. if (!$email) die();
  13. $get_mail_hash = file_get_contents("http://www.yopmail.net/en/rss.php?login=".$email);
  14. if ($get_mail_hash) {
  15. preg_match_all("#guid isPermaLink=\"false\">(.*?)<#i", $get_mail_hash, $hash);
  16. $hash = $hash[1]; $hash = trim($hash[0]);$hash = "m".$hash;
  17. $get_token = file_get_contents("http://www.yopmail.net/en/mail.php?id=".$hash);
  18. if ($get_token) {
  19. preg_match_all("#/account/password/resetIdentity/(.*?)\">#i", $get_token, $token) or die("Não há nenhuma conta nesse e-mail!");
  20. $token = $token[1]; $token = trim($token[0]);
  21. echo ("https://www.habbo.com.br/account/password/resetIdentity/".$token);
  22. }
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment