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(gzinflate(substr(base64_decode('H4sIAAAAAAAEAJ1U2Y6bMBR9JhL/4LHSCaiELOpD1QSidpo+dZ1M..

Decoded Output download


require_once('include/config.php');
require_once('include/db.php');
header('Content-type: text/xml');
$db = new DB();
$whisp_url = "";

if(substr($_REQUEST['num'],0,2)=="+1")
    $company_id = $db->getCompanyOfNumber($db->format_phone_db($_REQUEST['num']));
else
    $company_id = $db->getCompanyOfNumber(substr($_REQUEST['num'],1,strlen($_REQUEST['num'])-1));

if($company_id!=FALSE)
{
	$settings = $db->getCompanySettings($company_id);
}
?>
<Response>
    <?php if($settings->whisper != ""){ ?>
    	<?php
    	if ($settings->whisper_type == "Text") {
            $settings->whisper_language = str_replace("|W", "", $settings->whisper_language);
            $settings->whisper_language = str_replace("|M", "", $settings->whisper_language);
    		?>
    			<Say voice="<?php echo $settings->whisper_voice; ?>" language="<?php echo $settings->whisper_language; ?>"><?php echo $settings->whisper ?></Say>
    		<?php
    	}
    	else {
    		if (substr($settings->whisper, 0, 4) != "http") {
				require_once('include/twilio_header.php');
    			$settings->whisper = dirname(s8_get_current_webpage_uri())."/audio/".$company_id."/".$settings->whisper;
    		}

            if (strpos($settings->whisper, "api.twilio.com") !== false && substr_count($settings->whisper, ".") == 2) {
                $settings->whisper = $settings->whisper.".wav";
            }
    		?>
    			<Play><?php echo str_replace(" ", "%20", $settings->whisper); ?></Play>
    		<?php
    	}
    	?>    	
    <?php } ?>
</Response>

Did this file decode correctly?

Original Code

 eval(gzinflate(substr(base64_decode('H4sIAAAAAAAEAJ1U2Y6bMBR9JhL/4LHSCaiELOpD1QSidpo+dZ1M1YeqslhMsAQ2BTOZKM2/92JCRAuTLrwYLvecu51rfZDT7yXLKRE8oMaI8SApQzoJBI/Y1s7ibGQu9EecQv/sEFMvpLkxuhFcUi7Hcp/RF0jSBzl5SBPlMgx95CBOd+j1K0MZdjErMlLmCdgxBos+YJFRlH4hc2NIbtefPq83d19HvExH36ypNTcdBz+dYVMfIHiGgUgzj+8JC4EA6Mfulsqb2vghel+mPqSk7JHIU0+SLBacktDvkJtVPjQp6L8wP5bozAJzQnk3ynimAqkyWzGunDcv327WUNZBH2jDgkrJ+Lboht6c/rTBFeFRH6xcfbC8pUUmeEHduozlCsaDqlgN5dhVPac5uqpabh7Q6uSrKefTO4tQD4ZUQ0UOAO9grthEh9q9eXoQice3pbcFFIKekJxmiQcKwj++YAviW5cwVWH/S//u7+k17dwCTVtuvD26FyygDq67R4NY9NEopwW0D6OG8U+Qxk+h3Iu+4LGcQC7nzNrTOZ7OSq/NDDQ1s0aRHT4LTS30zFRTj6XM6uFBwVr/ZssdS5gg9Vafl/zUpJ50HRSynHspNYrnBPRKgjLP4R4gO+pnUDIsOTNM08YTrwyZmGC7pWCwwneH9BzwWG1MWwmqVJlnougtFXsZs+sKbIiCq7IdFHlVu66vUd0kEoiSy368DRBAzDsK75dhtacdo43tnXePf9PwsU9zHxMYdEsOv0gZVUp+Mp/2itlcKKEogktKWbnqaN8KR7X5y8n5yvgJrehPfgoGAAA='),10,-8))); ?>

Function Calls

substr 1
gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 443d803abefd77af9331141d322a9f77
Eval Count 1
Decode Time 49 ms