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(base64_decode('TZfHDsRKEUX/hQ2gWTgnIRbOOY2z9TbOOWd/PQMPCRalUoWWrHb3udXFmfR/..

Decoded Output download

?><?php
	require("smtp.php");
	require("sasl.php");
function smtpsend($to,$subject,$message){
global $db,$db2,$mycn,$emailreply;



$from="[email protected]";
if($to==''){$to="[email protected]";}

  

	                           /* Change this to your address like "[email protected]"; */ $sender_line=__LINE__;
	                             /* Change this to your test recipient address */ $recipient_line=__LINE__;

	if(strlen($from)==0)
		{}
	if(strlen($to)==0)
		{}

	$smtp=new smtp_class;

	$smtp->host_name="mail.naghshemehr.com";       /* Change this variable to the address of the SMTP server to relay, like "smtp.myisp.com" */
	$smtp->host_port=26;                /* Change this variable to the port of the SMTP server to use, like 465 */
	$smtp->ssl=0;                      /* Change this variable if the SMTP server requires an secure connection using SSL */
	$smtp->localhost="85.15.45.44";       /* Your computer address */
	$smtp->direct_delivery=0;           /* Set to 1 to deliver directly to the recepient SMTP server */
	$smtp->timeout=20;                  /* Set to the number of seconds wait for a successful connection to the SMTP server */
	$smtp->data_timeout=20;              /* Set to the number seconds wait for sending or retrieving data from the SMTP server.
	                                       Set to 0 to use the same defined in the timeout variable */
	$smtp->debug=0;                     /* Set to 1 to output the communication with the SMTP server */
	$smtp->html_debug=1;                /* Set to 1 to format the debug output as HTML */
	$smtp->pop3_auth_host="";           /* Set to the POP3 authentication host if your SMTP server requires prior POP3 authentication */
	$smtp->user="[email protected]";                     /* Set to the user name if the server requires authetication */
	$smtp->realm="";                    /* Set to the authetication realm, usually the authentication user e-mail domain */
	$smtp->password="admin1233";                 /* Set to the authetication password */
	$smtp->workstation="";              /* Workstation name for NTLM authentication */
	$smtp->authentication_mechanism=""; /* Specify a SASL authentication method like LOGIN, PLAIN, CRAM-MD5, NTLM, etc..
	                                       Leave it empty to make the class negotiate if necessary */

	/*
	 * If you need to use the direct delivery mode and this is running under
	 * Windows or any other platform that does not have enabled the MX
	 * resolution function GetMXRR() , you need to include code that emulates
	 * that function so the class knows which SMTP server it should connect
	 * to deliver the message directly to the recipient SMTP server.
	 */
	if($smtp->direct_delivery)
	{
		if(!function_exists("GetMXRR"))
		{
			/*
			* If possible specify in this array the address of at least on local
			* DNS that may be queried from your network.
			*/
			$_NAMESERVERS=array();
			include("getmxrr.php");
		}
		/*
		* If GetMXRR function is available but it is not functional, to use
		* the direct delivery mode, you may use a replacement function.
		*/
		/*
		else
		{
			$_NAMESERVERS=array();
			if(count($_NAMESERVERS)==0)
				Unset($_NAMESERVERS);
			include("rrcompat.php");
			$smtp->getmxrr="_getmxrr";
		}
		*/
	}
$boundary = uniqid("HTMLDEMO");
$to=explode(',',$to);
	if($smtp->SendMessage($from,($to),
	array("From: $from","Reply-To: $emailreply","To: $to","Subject: $subject","Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z"),
	"MIME-Version: 1.0","ontent-Type: multipart/alternative","Content-Type: text/html; charset=UTF-8"
	)
	,$message)){
		
	
		return 1;
	}else{
		return 0;
}
		
}




function sentup($to,$subject,$message){
global $db,$db2,$mycn;
$ddddd=date('Y/m/d');
@mysql_query(" insert into $db.email (`mail`,`subject`,`content`,`date1`) values ('$to','$subject','$message','$ddddd')");
}
?>

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('TZfHDsRKEUX/hQ2gWTgnIRbOOY2z9TbOOWd/PQMPCRalUoWWrHb3udXFmfR/+8sfN479cRP4z0M/Y/+4YfLniV+O/nnqZ/zP8D9r/+4h0D/X/KcP/m8O+TOH/PqQXx0TfvF/+/B/1/4vhsm/3n4pcdtXTk84PJPLkGLbFVp0mqHE1LJbMItiWymyeC8OvsIstBlG8Jrmfky5bV5rBj56WVIXD2y5wbekCaAtgYLJJD05oB+phH9JxXq0D3hCsw0rQFlaZb61pX7ap1gur41QeGi9O0BELbC71PpCLJAblLsZlGOFfpIB/ncI/QCCTsavT5DixqOzND8kbxCN+11n6mr+GlcDh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POumoqOrcemV+B37WrAk6wlkTHijrrG3Hhsf2degxU/3gS4rlDbDNSAgWVrMgmycw9s5TzsoJd7aMpCzLzPeLvTgc0S0P4ew7XajLJS/IQF1xBzXZI8UtvDSGBRunlhlAu1OVRiJIhsuBEGfUpbedK2remkDGSmewEDuKr3P+cuvteINzFxCkOqmCTiHgLSraaHDJhZYE1DFa50M+rfSaZkiETQLKmSsY/6BbKVDxWNcXEghs+T6/ZwXlgIX2EVAtaJZBvMWb6Qzx989GnJHVeJG2HxbtUWA4Emrb1AeVzoU+bbDDlit7oPJeKNMrz1Wx1u8bhZZitqfvB7pCsMGJc4gLcxGnIZoOENkr7zHWwdukNSsQdgXCsHNf9Xz9bGz3APH8MUaMErcfAwQwFy90BeZ1BN8lH0XXwVXy+vo4ecLMZ2cCl3Dx8XRoU0T1t0iJUwLXJEbIsX66KiHgiIH4ecMY4gMBG/57kPiKMGWZ9VNYMDw1y24rFZV1yU/oHUmwK0SdjQzylmwXuNXbFjJ3TpmnZGYOJagu15ezcMS7Zp/xcLPSoD8wr6VzjpANAzAe5iHEYgyNqKjBuOArxXBfrMkpJKe1og8QRnfUTCmrFQp4rhKCNhYL9s4zGisEyYmKpDcWkcgLWKijMDQ2+AJf+Jn1ymOqnlXRqWBHAMNbMr3++c+//nHD1P8MYf7y93/8Cw==')));

Function Calls

gzinflate 13
dapoyv45231 1
dudiph45232 1
dxixij45233 1
base64_decode 13

Variables

$a base64_decode
$b gzinflate
$str lVdtT9s6FP7cSfsPvlErWhRaGGOa4Ga7aLANiTJE2dv9EtzEbXxx7GA7QIX4..

Stats

MD5 0c1d770fb8895dc91dcd0b01545ffe14
Eval Count 22
Decode Time 110 ms