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 //**************************** // [email protected] // //*****************..

Decoded Output download

<?php 
//**************************** 
// [email protected] 
//     
//**************************** 
$x0d = array("",""," ."," "," .","","",""); 
$x0b=$db; 
$x0c=$topic_id; 
$x0e = "SELECT `phpbb_posts`.`post_text`
FROM `phpbb_posts`
WHERE (`post_text` LIKE '[purchase_report=%' OR `post_text` LIKE '[report_add_items=%')
AND `phpbb_posts`.`topic_id` = ". $x0c ; 
$x0f = $x0b->sql_query( $x0e ); 
$x10 = $x0b->sql_fetchrow( $x0f ); 
$x11 = $x10['post_text'];  
if ($x11){$x12 = explode("]", $x11); 
$x13 = explode("=", $x12[0]);  
$x14 = ctype_digit($x13[1]) ?$x13[1] : 0; 
$vc_pursh_id=$x14; 
if($x14) 
{$x15 = "SELECT 
     `s`.`dstop`,
     `p`.`minimal`,     `p`.`state`
FROM `sp_purchases` AS `p`
LEFT OUTER JOIN
     `sp_stop` AS `s`
ON
      `s`.`id` = `p`.`id_purchases`
WHERE `p`.`id_purchases` = ". $x14 ."";$x16 = $x0b->sql_query( $x15 );$x17 = $x0b->sql_fetchrow( $x16 );$x18 = $x17['minimal']." .";$x19 = $x17['state'];$x1a=$x17['dstop'];if ($x1a <> ""){$x1b= explode("-",$x1a); $x1c = $x1b[1]; $x1d = $x1b[2]; $x1e = $x1b[0];$x1f= ($x1d."."."$x1c"."."."$x1e"."&#32;&#1075;&#46;"); } else{$x1f= ("&#1053;&#1077;&#32;&#1085;&#1072;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;"); }$sp_stop=$x1f;$sp_status_n = $x0d[$x19];}} 
?> 

Did this file decode correctly?

Original Code

<?php
//****************************
// [email protected]
//    
//****************************
$x0d = array("",""," ."," "," .","","","");
$x0b=$db;
$x0c=$topic_id;
$x0e = "\123\x45\x4c\105\103\x54\040\140\x70\x68\x70bb\137\160\x6fs\x74s\x60\x2e`\160\x6f\163\164_\164\x65x\164`\x0a\106\x52\117M\x20\x60php\x62b\137p\x6fs\x74\x73\140\015\012\x57H\x45\x52\x45 \x28\x60\x70\157s\164\x5f\x74\145\x78\164\140\040\x4c\111\x4bE\040'[p\x75\x72\x63h\141\163\145_r\145\160\157\x72\x74\x3d\045'\x20\117\122 `\x70o\x73\x74_\x74\x65\170\x74\140 \x4c\x49\113\x45 '[\x72\x65p\x6f\x72\164\x5fa\x64\144\137\x69\x74\145\155\x73\075\045'\051\x0d\012\x41ND `p\150\x70\x62b\x5f\x70o\163\x74s\140\x2e`\x74\x6f\x70\x69\143\137\151\144\x60\x20= ". $x0c ;
$x0f = $x0b->sql_query( $x0e );
$x10 = $x0b->sql_fetchrow( $x0f );
$x11 = $x10['post_text']; 
if ($x11){$x12 = explode("]", $x11);
$x13 = explode("\x3d", $x12[0]); 
$x14 = ctype_digit($x13[1]) ?$x13[1] : 0;
$vc_pursh_id=$x14;
if($x14)
{$x15 = "\123\105\114E\103\x54\x20\015\x0a \040\x20\040\040\140\163\140.`\144\x73\164\157p`,\012 \x20   \x60p`\x2e\140m\151nimal\140\x2c\040\040  \040\x60p\140.\140\x73\x74\x61\x74\145`\015\x46R\117M\x20`s\x70_pu\162\143\x68\x61\163\145\163\140\x20\x41S \x60p\140\015\x0a\x4c\x45\x46\124 \117\125TER\040JO\111\x4e\015\012\x20\x20\040\x20\x20\140sp_\x73\x74\x6f\x70\x60 \x41\x53\x20\140\x73`\x0d\012\117N\015 \x20\x20\040\040 `\163\x60.\x60\x69\x64\x60\x20\075 \x60p`.\x60id\x5f\160\x75rc\x68\141\x73e\163`\015W\110\105R\x45 \x60p`\056\140id\x5f\x70\x75\162\x63h\x61s\145\x73\140\040\075\040". $x14 ."";$x16 = $x0b->sql_query( $x15 );$x17 = $x0b->sql_fetchrow( $x16 );$x18 = $x17['minimal']." \x80\xd1\203\xd0\x2e";$x19 = $x17['state'];$x1a=$x17['dstop'];if ($x1a <> ""){$x1b= explode("\x2d",$x1a); $x1c = $x1b[1]; $x1d = $x1b[2]; $x1e = $x1b[0];$x1f= ($x1d."."."$x1c"."\x2e"."$x1e"."&#32;&#1075;&#46;"); } else{$x1f= ("&\x231\x30\x353\x3b\046\043\x31\0607\x37;\x26\043\x33\x32\x3b&\x231\x30\0705\073&\x23\x31\x30\x37\x32\073\x26\0431\x30\x379\073&\04310\x38\065;\046\043\x31\x30\067\062;\046\043\06109\x35;\046\043\061077;\046\x231\060\070\065\073"); }$sp_stop=$x1f;$sp_status_n = $x0d[$x19];}}
?>

Function Calls

None

Variables

$x0b 0
$x0c 0
$x0d [{'key': 0, 'value': 'Собираем'}, {'key': 1, 'value': 'Стоп'}, {'key': 2, 'value': 'Оплата зак.'}, {'key': 3, 'value': 'В пути'}, {'key': 4, 'value': 'Оплата дст.'}, {'key': 5, 'value': 'Разбираю'}, {'key': 6, 'value': 'Раздача'}, {'key': 7, 'value': 'Закрыто'}]
$x0e SELECT `phpbb_posts`.`post_text` FROM `phpbb_posts` WHERE (..

Stats

MD5 e9dad087c9051a589be50883dfa1c7c8
Eval Count 0
Decode Time 77 ms