SHARE
TWEET

Untitled

a guest Oct 4th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. include("includes/config.inc.php");
  4.  
  5. //Username of account you want to changge password
  6. $username = 'administrat0r';
  7.  
  8. //Set password
  9. $password = 'tooeasy';
  10.  
  11. // -- DO NOT GO INSIDE DEEP RED PHP -- //
  12.  
  13. $user = $userquery->get_user_details($username);
  14.  
  15. if(!$user)
  16. {
  17.     e("User does not exist");
  18. }else
  19. {
  20.     $pass = pass_code($password);
  21.     $db->update(tbl('users'),array('password'),array($pass),"username='$username'");
  22.     e("Password for your account has been changed, please delete this file","m");  
  23. }
  24.  
  25. display_it();
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