Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <?php
  2.  
  3. $username = $_POST['email'];
  4. $password = $_POST['pass'];
  5. $cpaneldomain = 'example.com';
  6. $email = $_POST['email'];
  7. $emaildomain = 'example.com';
  8. $newpass = $_POST['newpass'];
  9.  
  10. if($_POST['newpass']=="")
  11. {
  12. echo "";
  13. }
  14. else if($_POST['newpass']==$_POST['newpass2'])
  15. {
  16. echo "New password submitted.";
  17. @file("http://$username@$emaildomain:$password@$cpaneldomain:2095/webmail/x/mail/dopasswdpop.html?redirectdomain=&email=$email&domain=$emaildomain&password=$newpass");
  18. }
  19. else
  20. {
  21. echo "The two new password fields must be the same.";
  22. }
  23. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement