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 $ip = $_GET["ipaddr"]; //Assign IP address from HTTP GET request $phone = (string) $..

Decoded Output download

<?php
$ip = $_GET["ipaddr"]; //Assign IP address from HTTP GET request
$phone = (string) $_GET["phone"]; //Assign phone number from GET request
$domain = $_GET["domain"]; //Assign domain from GET request
$whoisiframe; //Variable to store iframe for WHOIS search
$perc = "33%"; //Set width percentage to 33% for iframes

$checkbox = isset($_GET['domestic']); //Check if checkbox is even included in GET request 
$domestic = $_GET["domestic"]; //Get value of checkbox.



//If statement to check if there is a domain included in the search
//If there isn't, don't print the iframe for the whois search and
//leave the remaining 3 iframes sized at 33%
if (isset($_GET["domain"]) && $domain != '') { 
$perc = "25%";
$whoisiframe = (string) "<iframe src= \"http://www.who.is/whois/" . $domain . " \" style=\"width:" . $perc . "; height: 100%; margin: 0;\"></iframe>";
}


if ($checkbox && $domestic == 'checked') $phone = '1' . $phone; 
//This just adds a 1 at the beginning of the phone number if the domestic check box is checked


print <<<HERE
<head>
<title>Pending Search Results</title>
<link rel="icon" href="http://media.raxistech.com/images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://media.raxistech.com/images/favicon.ico" type="image/x-icon" />
</head>
<body>
<style>
body { background-color: black; margin: 0; padding: 5px; }
iframe { vertical-align:bottom; padding: 0; margin: 0; border: 0 none black; float: left; clear:none;} 
</style>
<iframe src="https://ipdb.at/ip/$ip" style="width: $perc; height: 100%;  background-color:white;"></iframe>
<iframe src="http://www.searchyellowbook.com/reverse-phone/$phone" style="width: $perc; height: 100%; background-color:white;"></iframe>
<iframe src="https://duckduckgo.com/?q=$ip+proxy" style="width: $perc; height: 100%;"></iframe>
$whoisiframe
</body>
HERE;

 ?>

Did this file decode correctly?

Original Code

<?php
$ip = $_GET["ipaddr"]; //Assign IP address from HTTP GET request
$phone = (string) $_GET["phone"]; //Assign phone number from GET request
$domain = $_GET["domain"]; //Assign domain from GET request
$whoisiframe; //Variable to store iframe for WHOIS search
$perc = "33%"; //Set width percentage to 33% for iframes

$checkbox = isset($_GET['domestic']); //Check if checkbox is even included in GET request 
$domestic = $_GET["domestic"]; //Get value of checkbox.



//If statement to check if there is a domain included in the search
//If there isn't, don't print the iframe for the whois search and
//leave the remaining 3 iframes sized at 33%
if (isset($_GET["domain"]) && $domain != '') { 
$perc = "25%";
$whoisiframe = (string) "<iframe src= \"http://www.who.is/whois/" . $domain . " \" style=\"width:" . $perc . "; height: 100%; margin: 0;\"></iframe>";
}


if ($checkbox && $domestic == 'checked') $phone = '1' . $phone; 
//This just adds a 1 at the beginning of the phone number if the domestic check box is checked


print <<<HERE
<head>
<title>Pending Search Results</title>
<link rel="icon" href="http://media.raxistech.com/images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://media.raxistech.com/images/favicon.ico" type="image/x-icon" />
</head>
<body>
<style>
body { background-color: black; margin: 0; padding: 5px; }
iframe { vertical-align:bottom; padding: 0; margin: 0; border: 0 none black; float: left; clear:none;} 
</style>
<iframe src="https://ipdb.at/ip/$ip" style="width: $perc; height: 100%;  background-color:white;"></iframe>
<iframe src="http://www.searchyellowbook.com/reverse-phone/$phone" style="width: $perc; height: 100%; background-color:white;"></iframe>
<iframe src="https://duckduckgo.com/?q=$ip+proxy" style="width: $perc; height: 100%;"></iframe>
$whoisiframe
</body>
HERE;

Function Calls

None

Variables

$ip None

Stats

MD5 4bdd718bd69c0f54ed655000c6172616
Eval Count 0
Decode Time 103 ms