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 $x1a="\145\162\145\147\x5fr\x65\x70lac\x65"; $x1b="m\x79\163\x71l\137\x63o\156nec..

Decoded Output download

<?php  
 $x1a="ereg_replace"; $x1b="mysql_connect"; $x1c="mysql_query"; $x1d="mysql_num_rows"; $x1e="mysql_fetch_row"; $x1f="mysql_select_db"; $x20="stripslashes"; $x21="urlencode"; $x22="urldecode";  
 If ($x0b=="mysql"){ include "./mysql.info.php"; if (!$x0c || !$x0d || !$x0e || !$x0f || !$x10){ print "Please configure mysql.info.php with your MySQL information. All settings in this config file are required."; exit; } $x11 = $x1b($x0c, $x0d, $x0e) or die("Connection to MySQL Failed."); $x1f($x0f, $x11) or die("Could not select database $x0f"); $x12 = $x1c($x10) or die("Query Failed: $x10"); $x13 = $x1d($x12); for($x14=0; $x14<$x13; $x14  ){ $x15 = $x1e($x12);$x16 = $x15[0];$x17 .= $x16."
";} } if ($x0b=="send"){ $x18 = $x21($x18);$x18 = $x1a("%5C%22", "%22", $x18);$x18 = $x22($x18);$x18 = $x20($x18);$x19 = $x20($x19);} ?> 

Did this file decode correctly?

Original Code

<?php 
 $x1a="\145\162\145\147\x5fr\x65\x70lac\x65"; $x1b="m\x79\163\x71l\137\x63o\156nec\x74"; $x1c="\x6d\171\163\x71l_qu\x65\162y"; $x1d="m\x79sql\x5f\x6eu\x6d\137\x72o\167\163"; $x1e="\155\x79s\161\154_\x66\x65t\x63\x68\x5f\162\157\x77"; $x1f="my\163\161\154\x5fs\x65l\145\143\164\x5f\x64\x62"; $x20="\x73\164r\x69\160\x73\154\141s\x68\x65\x73"; $x21="\165\162\x6c\x65n\143\x6fde"; $x22="ur\x6c\144\145\143o\144\x65"; 
 If ($x0b=="\x6dys\x71l"){ include "\056\057\155\171\163\x71l.\151nf\x6f\056\x70h\x70"; if (!$x0c || !$x0d || !$x0e || !$x0f || !$x10){ print "\120\154e\x61s\145\040\143\157n\146\151g\165\x72e my\163\161\x6c.\x69nfo\x2e\x70\150\160\040w\x69\x74\150\040\171\157\165\x72\040\115ySQ\x4c\x20\151\x6e\x66\x6fr\155\141tion\056 \101l\x6c s\145\164\x74i\x6e\147\x73\040\x69\156\040t\150\151\x73\040\143\x6fn\146ig\040\x66il\145 \141re\040req\x75\151re\144\056"; exit; } $x11 = $x1b($x0c, $x0d, $x0e) or die("\x43\x6f\156n\x65c\x74\151\157\x6e \164\157\040\x4d\171\x53\121L\x20\x46\141il\145\x64\056"); $x1f($x0f, $x11) or die("C\157\x75\x6c\x64\040\x6eo\x74 \163\145\x6c\x65c\164\x20d\141\164\x61ba\x73e $x0f"); $x12 = $x1c($x10) or die("\121u\145\x72\171 \x46a\151\154\x65d\072 $x10"); $x13 = $x1d($x12); for($x14=0; $x14<$x13; $x14  ){ $x15 = $x1e($x12);$x16 = $x15[0];$x17 .= $x16."\n";} } if ($x0b=="\x73\145\x6ed"){ $x18 = $x21($x18);$x18 = $x1a("\x25\065\103%2\x32", "\045\x32\062", $x18);$x18 = $x22($x18);$x18 = $x20($x18);$x19 = $x20($x19);} ?>

Function Calls

None

Variables

$x1a ereg_replace
$x1b mysql_connect
$x1c mysql_query
$x1d mysql_num_rows
$x1e mysql_fetch_row
$x1f mysql_select_db
$x20 stripslashes
$x21 urlencode
$x22 urldecode

Stats

MD5 794d52607d0c8eddc7d740fad470b9e8
Eval Count 0
Decode Time 99 ms