403Webshell
Server IP : 92.204.40.98  /  Your IP : 216.73.216.201
Web Server : LiteSpeed
System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : tmksyste ( 2190)
PHP Version : 8.3.31
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tmksyste/domains/tmksystems.in/public_html/crmapp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tmksyste/domains/tmksystems.in/public_html/crmapp//index.php
<?php
	session_start();
	 include 'connection.php';
	              
					$username=$_POST['username'];
					$password=$_POST['pass'];
					if(isset($_REQUEST['login']))
					  {
			$sql="select * from login where username='$username' and password1='$password';";
	                    $r=mysqli_query($con,$sql);
						$row=mysqli_fetch_array($r);
	                    $num_row = mysqli_num_rows($r);
	        if($num_row==1)
	        {
		                $_SESSION["username"]=$username;
						$_SESSION["Name"]=$row['Name'];
						$_SESSION["type"]=$row['type'];
						$_SESSION["userid"]=$row['id'];	
			if($_SESSION["type"]=="Admin"){
            //print_r($_SESSION);
	        header('location:dashboard.php?log=newpage');
			echo '<meta http-equiv="refresh" content="0;url=dashboard.php?log=newpage"/>';
			exit;
			}
			elseif($_SESSION["type"]=="Employee"){
			 header('location:dashboard2.php?log=newpage');
			 echo '<meta http-equiv="refresh" content="0;url=dashboard2.php?log=newpage"/>';
			 exit;
			}
			elseif($_SESSION["type"]=="Manager"){
			 header('location:dashboard.php?log=newpage');
			 echo '<meta http-equiv="refresh" content="0;url=dashboard1.php?log=newpage"/>';
			 exit;
			}
	        }else{
		    header('location:index.php?log=error');
			echo '<meta http-equiv="refresh" content="0;url=index.php?log=error"/>';
			exit;
	        }
	                //print_r($sql);
                      }		
					?>

<!doctype html>
<html lang="en" data-layout="vertical" data-sidebar="dark" data-sidebar-image="img-1" data-sidebar-size="lg" data-preloader="disable" data-theme="default" data-topbar="light" data-bs-theme="light" data-theme-color="0">
<head>

    <meta charset="utf-8">
    <title>TMK System - Dashboard</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="Admin & Dashboard" name="description">
    <meta content="Webdrop" name="author">
    <!-- App favicon -->
    <link rel="shortcut icon" href="assets/images/favicon.png">

    <!-- Fonts css load -->
    <link rel="preconnect" href="https://fonts.googleapis.com/">
    <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
    <link id="fontsLink" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&amp;display=swap" rel="stylesheet">
    <!--Swiper slider css-->
    <link href="assets/libs/swiper/swiper-bundle.min.css" rel="stylesheet" type="text/css" />

    <!-- Layout config Js -->
    <script src="assets/js/layout.js"></script>
    <!-- Bootstrap Css -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <!-- Icons Css -->
    <link href="assets/css/icons.min.css" rel="stylesheet" type="text/css">
    <!-- App Css-->
    <link href="assets/css/app.min.css" rel="stylesheet" type="text/css">
    <!-- custom Css-->
    <link href="assets/css/custom.min.css" rel="stylesheet" type="text/css">

</head>

<body>

    <section class="auth-page-wrapper p-2 p-lg-4 position-relative d-flex align-items-center justify-content-center min-vh-100">
        <div class="card mb-0 w-100 p-3 p-lg-2" style="background-image: url('assets/images/auth/auth.jpg');background-size: cover;background-position: center;">
            <div class="effect-one"></div>
            <div class="row g-0 align-items-center">
                <div class="col-md-8 order-last order-xl-first">
                    <div class="card auth-card border-0 shadow-none mb-0 bg-transparent">
                        <div class="card-body p-4 p-xl-5 d-flex justify-content-between flex-column h-100">
                            
                            <div class="text-center mt-auto">
                                <p class="mb-0 mt-3 text-white">
                                    &copy;
                                    <script>document.write(new Date().getFullYear())</script> TMK Systems. Developed with <i class="mdi mdi-heart text-danger"></i> by Webdrop Developers
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--end col-->
                <div class="col-md-4 mx-auto order-first order-xl-last">
                    <div class="card shadow-lg border-none m-lg-5">
                        <div class="card-body">
                            <div class="text-center mt-4">
                                <div class="mb-4 pb-2">
                                    <a href="index.php" class="auth-logo">
                                        <img src="assets/images/tmk-logos-size.png" alt="" height="100" class="auth-logo-dark mx-auto">
                                        <img src="assets/images/tmk-logos-size.png" alt="" height="100" class="auth-logo-light mx-auto">
                                    </a>
                                </div>
                                <h5 class="fs-3xl">Welcome Back</h5>
                                <p class="text-muted">Sign in to continue to TMK.</p>
                            </div>
                            <div class="p-2 mt-4">
                                <form action="" method="post">
        
                                    <div class="mb-3">
                                        <label for="username" class="form-label">Username <span class="text-danger">*</span></label>
                                        <div class="position-relative ">
                                            <input name="username" type="text" class="form-control  password-input" id="username" placeholder="Enter username" required>
                                        </div>
                                    </div>
        
                                    <div class="mb-3">
                                        <div class="float-end">
                                            
                                        </div>
                                        <label class="form-label" for="password-input">Password <span class="text-danger">*</span></label>
                                        <div class="position-relative auth-pass-inputgroup mb-3">
                                            <input name="pass" type="password" class="form-control pe-5 password-input " placeholder="Enter password" id="password-input" required >
                                            <button class="btn btn-link position-absolute end-0 top-0 text-decoration-none text-muted password-addon" type="button" id="password-addon"><i class="ri-eye-fill align-middle"></i></button>
                                        </div>
                                    </div>
        
                                   
                                    <div class="mt-4">
                                        <button class="btn btn-primary w-100" type="submit" name="login">Sign In</button>
                                    </div>
                                    
                                </form>
                                
                            </div>
                        </div><!-- end card body -->
                    </div><!-- end card -->
                </div>
                <!--end col-->
            </div>
            <!--end row-->
        </div>
    </section>

    <!-- JAVASCRIPT -->
    <script src="assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="assets/libs/simplebar/simplebar.min.js"></script>
    <script src="assets/js/plugins.js"></script>

    <script src="assets/js/pages/password-addon.init.js"></script>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit