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

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** *-- copyright : https://www.toolfk.com */ ..

Decoded Output download

<?php  
        /**  
         *-- copyright : https://www.toolfk.com  
         */ 
          error_reporting(E_ALL^E_NOTICE);define('O0', 'O');;$GLOBALS[O0] = explode('|||', gzinflate(substr('      [[oIvFp	+^D]mjm$3bw]dwWZdk< OA6Ll 7#XL 9UlRD49;9U]MC7jlQ 
g 
Ck<~p9x<}}KzZ[=|z=Q7==4OCcv8q i>?2Or(\'D46acv1$\ *C&	:EeAN0Cd@)<EVf7dPjtS r,xs[ gK	R~1/O+}TSN@N6i1+ z!`VWK`WCAdvqrxfNI*=CSqPDEA;ZYwS 
9	q: 
O] 7Gs}\)Cq\n(E^Rt,{I`8hCx@XP^ >u{mmTJL,Fq<RA]/8h \'VrPss`)jf)y} P=){"}eHX 
P/`>*u>4H!$@m! 
f<!c.!rWx<e% 
wrEBz;],zuZ gB0N;4>-G7_~~r=q[;|s57kn3|=?2{A@<clkfW:rk{3{I@>i(^uJ9W#qtpg BVRlR8 
V3p h@$Iv<*Zlb0u!r\'!4XC:XID^$/h,H)Z5<*v(k:kao|7g>y1	?{nqr {`d\'`6|46N:+BE=pe\>\QW{-O6m5m\'nh!QwTZ 
o?^RbGSZy*#L7D$>b"(PY|/Wofd#7 KBK}-0,j6c 
,*T%]2Y&KIzI1D4 
RQ^ks|=+ (CK 
UkHS	8xV{{ITe[v1^8Tej, (Rfv$^0(.z"VutfF>	QBhS 
9,Ll\'<6Wo0/\ 
\'qp$c8 
J-@r}]YdP 
VkbW,>L=&FL:8\'@:U}qR8N  2&7WJau9TS	pya>%v;&	XChIR]^[dA~fqFTal7mwd9~K_ hjm0k 
0i#Z>DYm4Z;Gw,veJxaQG;M\'4dNwc}?_XH"\'*$*)`D[4WsbSa3pslm-Q3(iH\f`J|58*j]d"F!J7fX\)U\'ut(6{D,)a=ScR%&A 
7U.|5X"oN?"|TM"L.]u	 2Q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BALS{O0}{0x00003}; 
 
 
 
 
try { 
        $block = IPHub::$GLOBALS{O0}[0x000004]($ip, $apiKey); 
 
        if ($block) { 
                $accessState = $GLOBALS{O0}{0x05}; 
 
         
         
         
                 
                 
                 die("<p><sub>Request blocked as you appear to be browsing from a VPN/Proxy/Server.</sub><br /><sub>Please visit us with real IP clean.</sub><br /><sub>Your IP address is: $ip</sub></p>"); 
         
         
         
    } else { 
                $accessState = $GLOBALS{O0}[0x006]; 
    } 
} catch (Exception $e) { 
        $block = !1; 
} 
 
 
 
 
 
 
 
 
 
 
 
 
 
$GLOBALS{O0}{0x0007}($GLOBALS{O0}[0x00008]) || exit($GLOBALS{O0}{0x000009}); 
 
function generate_random_string($O00, $O0O, $OO0 = FALSE) 
{ 
    if(empty($O00)) { 
        return $GLOBALS{O0}[0x0a]; 
    } 
    if($O0O <= 0) { 
        return $GLOBALS{O0}{0x00b}; 
    } 
    if($O0O > $GLOBALS{O0}[0x000c]($O00)) { 
        return $GLOBALS{O0}{0x0000d}; 
    } 
    if ($OO0) { 
        $O000 = $GLOBALS{O0}[0x00000e]($GLOBALS{O0}{0x0f}($O00), $O0O); 
        $O000 = $GLOBALS{O0}[0x0010]($GLOBALS{O0}{0x00003}, $O000); 
    } else { 
        $O000 = $GLOBALS{O0}{0x00011}; 
        for ($O00O = 0; $O00O < $O0O; $O00O++) { 
            $O000 .= $O00[$GLOBALS{O0}[0x000012](0, $GLOBALS{O0}[0x000c]($O00) - 0x001)]; 
        } 
    } 
    return $O000; 
} 
?> 
<?=$GLOBALS{O0}{0x0000013}; if (isset($_GET[$GLOBALS{O0}[0x014]]) && $_GET[$GLOBALS{O0}[0x014]] == $GLOBALS{O0}{0x0015}) { ?> 
<?=$GLOBALS{O0}[0x00016]; } else { 
                    ?> 
<?=$GLOBALS{O0}{0x000017}; 
 }  
                   ?><?=$GLOBALS{O0}[0x0000018]; if (isset($_GET[$GLOBALS{O0}[0x014]]) && $_GET[$GLOBALS{O0}[0x014]] == $GLOBALS{O0}{0x0015}) { ?> 
<?=$GLOBALS{O0}{0x019}; } else { 
                    ?> 
                  <?php 
 }  
                   ?> 
<?=$GLOBALS{O0}[0x001a];?>

Did this file decode correctly?

Original Code

<?php 
        /** 
         *-- copyright : https://www.toolfk.com 
         */
          error_reporting(E_ALL^E_NOTICE);define('O0', 'O');;$GLOBALS[O0] = explode('|||', gzinflate(substr('      [[oIvFp	+^D]mjm$3bw]dwWZdk< OA6Ll 7#XL 9UlRD49;9U]MC7jlQ
g
Ck<~p9x<}}KzZ[=|z=Q7==4OCcv8q i>?2Or(\'D46acv1$\\ *C&	:EeAN0Cd@)<EVf7dPjtS r,xs[ gK	R~1/O+}TSN@N6i1+ z!`VWK`WCAdvqrxfNI*=CSqPDEA;ZYwS
9	q:
O] 7Gs}\\)Cq\\n(E^Rt,{I`8hCx@XP^ >u{mmTJL,Fq<RA]/8h \'VrPss`)jf)y} P=){"}eHX
P/`>*u>4H!$@m!
f<!c.!rWx<e%
wrEBz;],zuZ gB0N;4>-G7_~~r=q[;|s57kn3|=?2{A@<clkfW:rk{3{I@>i(^uJ9W#qtpg BVRlR8
V3p h@$Iv<*Zlb0u!r\'!4XC:XID^$/h,H)Z5<*v(k:kao|7g>y1	?{nqr {`d\'`6|46N:+BE=pe\\>\\QW{-O6m5m\'nh!QwTZ
o?^RbGSZy*#L7D$>b"(PY|/Wofd#7 KBK}-0,j6c
,*T%]2Y&KIzI1D4
RQ^ks|=+ (CK
UkHS	8xV{{ITe[v1^8Tej, (Rfv$^0(.z"VutfF>	QBhS
9,Ll\'<6Wo0/\\
\'qp$c8
J-@r}]YdP
VkbW,>L=&FL:8\'@:U}qR8N  2&7WJau9TS	pya>%v;&	XChIR]^[dA~fqFTal7mwd9~K_ hjm0k
0i#Z>DYm4Z;Gw,veJxaQG;M\'4dNwc}?_XH"\'*$*)`D[4WsbSa3pslm-Q3(iH\\f`J|58*j]d"F!J7fX\\)U\'ut(6{D,)a=ScR%&A
7U.|5X"oN?"|TM"L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OBALS{O0}[0x000004]($ip, $apiKey);

        if ($block) {
                $accessState = $GLOBALS{O0}{0x05};

        
        
        
                
                
                 die("<p><sub>Request blocked as you appear to be browsing from a VPN/Proxy/Server.</sub><br /><sub>Please visit us with real IP clean.</sub><br /><sub>Your IP address is: $ip</sub></p>");
        
        
        
    } else {
                $accessState = $GLOBALS{O0}[0x006];
    }
} catch (Exception $e) {
        $block = !1;
}













$GLOBALS{O0}{0x0007}($GLOBALS{O0}[0x00008]) || exit($GLOBALS{O0}{0x000009});

function generate_random_string($O00, $O0O, $OO0 = FALSE)
{
    if(empty($O00)) {
        return $GLOBALS{O0}[0x0a];
    }
    if($O0O <= 0) {
        return $GLOBALS{O0}{0x00b};
    }
    if($O0O > $GLOBALS{O0}[0x000c]($O00)) {
        return $GLOBALS{O0}{0x0000d};
    }
    if ($OO0) {
        $O000 = $GLOBALS{O0}[0x00000e]($GLOBALS{O0}{0x0f}($O00), $O0O);
        $O000 = $GLOBALS{O0}[0x0010]($GLOBALS{O0}{0x00003}, $O000);
    } else {
        $O000 = $GLOBALS{O0}{0x00011};
        for ($O00O = 0; $O00O < $O0O; $O00O++) {
            $O000 .= $O00[$GLOBALS{O0}[0x000012](0, $GLOBALS{O0}[0x000c]($O00) - 0x001)];
        }
    }
    return $O000;
}
?>
<?=$GLOBALS{O0}{0x0000013}; if (isset($_GET[$GLOBALS{O0}[0x014]]) && $_GET[$GLOBALS{O0}[0x014]] == $GLOBALS{O0}{0x0015}) { ?>
<?=$GLOBALS{O0}[0x00016]; } else {
                    ?>
<?=$GLOBALS{O0}{0x000017};
 } 
                   ?><?=$GLOBALS{O0}[0x0000018]; if (isset($_GET[$GLOBALS{O0}[0x014]]) && $_GET[$GLOBALS{O0}[0x014]] == $GLOBALS{O0}{0x0015}) { ?>
<?=$GLOBALS{O0}{0x019}; } else {
                    ?>
                  <?php
 } 
                   ?>
<?=$GLOBALS{O0}[0x001a];?>

Function Calls

None

Variables

None

Stats

MD5 a727fdd38f00bf7c7119321db1569995
Eval Count 0
Decode Time 33 ms