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

Signing you up...

Thank you for signing up!

PHP Decode

$xxx3d.= "\x7d \012\040\040 \x20\x20\x20 \x20 \x20 \040\x20\x20 \x20\x20 \x20\x20 \x20\0..

Decoded Output download

<?  $xxx3d.= "} 

                                div.Section" . $xxx10 . "
 
                                {page:Section" . $xxx10 . ";}";$xxx3d.= "p.MsoHeader, li.MsoHeader, div.MsoHeader
 
                                        {margin:0in;
 
                                        margin-bottom:.0001pt;
 
                                        mso-pagination:widow-orphan; 

                                        tab-stops:center 3.0in right 6.0in;}
                                  p.MsoFooter, li.MsoFooter, div.MsoFooter 

                                  { mso-pagination:widow-orphan;
                                    tab-stops:center 216.0pt right 432.0pt; 

                                    font-family:\"Arial\";
 
                                    font-size:1.0pt;
 
                                  }
 
                                        -->
                                        </style> 
                                        <!--[if gte mso 9]><xml>
 
                                        <o:shapedefaults v:ext=\"edit\" spidmax=\"1032\"> 

                                        <o:colormenu v:ext=\"edit\" strokecolor=\"none\"/> 

                                        </o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
                                        <o:shapelayout v:ext=\"edit\"> 

                                        <o:idmap v:ext=\"edit\" data=\"1\"/>
                                        </o:shapelayout></xml><![endif]-->";$xxx3d.= "</head>";$xxx3d.= "<body>"; foreach ($xxx2a AS $xxx10 => $xxx3f) {if ($xxx10 > 1)$xxx3d.= "<br clear=all style=\"mso-special-character:line-break;page-break-before:always\">";$xxx3d.= $xxx3f["content"];} if ($xxx5c($xxx32) > 0) {foreach ($xxx32 AS $xxx26 => $xxx4a) {$xxx29 = $xxx4a["body"];foreach ($xxx36[$xxx26] AS $xxx4b => $xxx4c) {$xxx4d = "";$xxx4e = 1;foreach ($xxx1b as $xxx17) {$xxx4d .= $xxx65("", $xxx37[$xxx26][$xxx4b][$xxx17]);$xxx4d = $xxx6f('$xxx4f$', $xxx4e++, $xxx4d);}$xxx29 = $xxx6e($xxx4c, $xxx4d, $xxx29);}if ($xxx10 > 1)$xxx3d.= "<br clear=all style=\"mso-special-character:line-break;page-break-before:always\">";$xxx3d.= $xxx29;}}$xxx3d.= "</body>";$xxx3d.= "</html>";$xxx3d = $this->x0b($xxx3d);@$xxx63("Cache-Control: ");@$xxx63("Pragma: ");if ($xxx1a == "doc") {@$xxx63("Content-type: application/vnd.ms-word");@$xxx63("Content-Disposition: attachment;Filename=" . $xxx24 . ".doc");} elseif ($xxx1a == "rtf") {@$xxx63("Content-type: application/rtf");@$xxx63("Content-Disposition: attachment;Filename=" . $xxx24 . ".rtf");}echo $xxx3d;} else {$xxx50 = "";if (isset($xxx18) && $xxx18 == "edit") {foreach ($xxx23 as $xxx26) {$xxx50["header" . $xxx26] = $xxx0d["header" . $xxx26];$xxx50["body" . $xxx26] = $xxx0d["body" . $xxx26];$xxx50["footer" . $xxx26] = $xxx0d["footer" . $xxx26];}} $xxx51 = "";$xxx24 = $xxx0c->GetPreparedMPDF($xxx51, $xxx1b, $xxx23, $xxx13, $xxx19, $xxx50); $xxx52 = $xxx0b->get('is_portal');if ($xxx52 == "true") {$xxx53 = "cache/" . $xxx72();$xxx54 = $xxx53 . "/" . $xxx24 . ".pdf";$xxx68($xxx53);$xxx51->Output($xxx54, "F");$_SESSION["portal_pdf_name"] = $xxx54;} else {$xxx51->Output('cache/' . $xxx24 . '.pdf');@$xxx69();$xxx63('Content-Type: application/pdf');$xxx63("Content-length: " . $xxx5f("./cache/$xxx24.pdf"));$xxx63("Cache-Control: private");$xxx63("Content-Disposition: attachment; filename=$xxx24.pdf");$xxx63("Content-Description: PHP Generated Data");echo $xxx61($xxx60("./cache/$xxx24.pdf", "r"), $xxx5f("./cache/$xxx24.pdf"));@$xxx73("cache/$xxx24.pdf");} }} }}private function x0b($xxx38) { global $xxx5b,$xxx5c,$xxx5d,$xxx5e,$xxx5f,$xxx60,$xxx61,$xxx62,$xxx63,$xxx64,$xxx65,$xxx66,$xxx67,$xxx68,$xxx69,$xxx6a,$xxx6b,$xxx6c,$xxx6d,$xxx6e,$xxx6f,$xxx70,$xxx71,$xxx72,$xxx73; $xxx55 = "site_URL";$xxx56 = vglobal($xxx55);$xxx57 = "http://";require_once("modules/PDFMaker/resources/classes/simple_html_dom.php");$xxx58 = str_get_html($xxx38);foreach ($xxx58->find("img") as $xxx59) {if ($xxx70($xxx59->src, $xxx57) === false) {$xxx5a = $xxx56 . "/" . $xxx59->src;$xxx59->src = $xxx5a;}}return $xxx58->save();}} ?>

Did this file decode correctly?

Original Code

$xxx3d.= "\x7d
\012\040\040 \x20\x20\x20 \x20  \x20 \040\x20\x20 \x20\x20 \x20\x20 \x20\040\x20\040 \040\040\x20\040 d\151\x76\x2e\x53\145\143\164\151\x6fn" . $xxx10 . "\x0d
\x20\x20  \x20\x20\040 \x20 \040\040    \x20\x20\040\040\040 \x20 \x20\040\x20\x20\x20\040\x20 {p\x61\147e:S\x65ctio\x6e" . $xxx10 . "\x3b\x7d";$xxx3d.= "\x70\056\x4d\163\157\x48\x65\141\x64\145\162\x2c l\x69.\115s\157H\x65\x61de\x72\x2c\040\x64i\166\x2eM\x73o\x48\x65ad\145r\x0d
\040\x20\x20\040 \x20 \040 \x20\x20\040\040\040\040\040\040 \x20   \040\040\x20 \040\040      \040 \040\040\x20 {\x6da\x72g\151\x6e\x3a\060in\x3b\015
\x20\x20\040\040\x20 \x20    \040 \040\040\x20\x20\040\040\040\x20  \x20\x20\x20 \040\040\x20\x20\x20\040\x20\040\x20\x20 \040\040m\141r\x67\x69\156\055b\x6f\x74t\157\155\x3a\056\0600\x301\160\x74\073\015
\040\x20\040\040\040  \040\040\x20\040      \040\x20\040\040\x20  \x20\x20\x20\040\040 \040\x20\040 \040\x20 \040\x20\x20\155\x73\157\055p\141gi\156\141\x74io\156\x3aw\x69d\x6f\x77\x2d\x6f\x72\160\x68\141n\073
\x0a\x20\040\040\x20\040 \x20\040\040\x20\x20\040 \040\040\040 \x20\x20\040\x20\040\x20\040\x20\x20\x20\x20\040     \040 \x20 \x20\x20\164\141\142\055\163\x74\157\x70\x73\072ce\156\x74\x65\x72\x203.\x30\x69\x6e\040\162\x69\147\x68t\040\x36\x2e0\x69\x6e\x3b\175\015\x0a\x20\040\040\x20  \x20\040    \040 \x20 \040\040  \x20\040 \x20 \040\040 \040\040\x20\040\x20 \160.\x4d\163\x6f\x46oote\162\x2c\040\x6ci\x2eM\163\157Footer\054\x20d\151\166\x2e\115s\x6fF\x6f\157t\145r
\012\x20 \040 \x20\040 \040\x20\x20 \x20 \x20 \040 \x20\040\x20\x20\x20\040 \040 \x20\x20\x20 \040 \040 \173\040\x6d\163\157\055\x70\141\x67\x69\x6e\141\164\151\x6fn\072\167id\x6f\x77\x2d\157\x72p\150an;\015\x0a   \x20\040 \040\040\040\x20 \040 \040\x20 \x20 \x20\x20\x20 \040\040 \x20\040\040\040  \040\x20 \x20\x20ta\142-\x73\x74o\160s:\143\x65\x6e\164e\162\040\0621\x36\x2e\060p\x74\x20r\x69gh\164\040\0643\x32\x2e\060\x70t;
\012 \x20  \x20\x20 \x20    \x20\x20 \040 \040\x20   \x20\x20\x20\x20\040\040\x20\040 \040\040\040\x20\x20fo\156\x74\055\x66a\155i\x6c\171\072\"\101\x72i\141l\";\015
 \040\x20\x20\040   \040 \040 \x20\x20\x20\040\040\040 \x20\040\040\040  \040 \x20\x20\x20\040\x20\x20\x20\x20 \x66\157\x6et-\163\151\172e\x3a\x31\x2e\x30\x70t\073\x0d
\x20\x20\040\x20\040 \040\040\040\040\x20 \x20\x20\x20\x20\040 \x20\x20\x20\040\040    \x20 \040\040\x20\x20\040\175\x0d
\x20\x20\x20  \x20\040\040\x20\x20\040\040\040\x20 \040\x20\040\x20 \x20\x20\040 \x20\x20 \040 \040\040\040 \x20\040\x20 \040\040\x20\055-\x3e\x0d\x0a\040   \040\x20   \040\x20 \040\040 \040 \x20 \040\040\x20\x20 \040\x20 \040 \x20 \040\x20\x20\040\040\040 \040 <\057styl\145\076
   \040\040\040\x20\040\x20\x20 \040\040 \x20\040 \040\040\040\x20 \x20\x20\040 \x20\040\040\040 \040 \040\040\040\040  \x20\074!-\055\133\151f\x20\x67\164e \155s\157\x20\x39]\076<\x78\x6d\x6c\x3e\x0d
 \040 \040 \040\x20\x20\040\x20  \x20  \x20\040\040\040 \040\040 \x20\040\x20 \040\040\040\x20   \040\040 \040\040\040<\x6f:\x73\x68\x61\160\x65\144\x65fa\165l\164s\040\x76\072ex\x74\075\"\x65d\x69\x74\"\040\x73\160id\155ax\075\"\061\x30\0632\"\x3e
\x0a\x20\x20\x20\x20\040\040\x20 \040\040\x20 \040  \040  \x20\x20\x20\040 \x20 \x20\x20\040\040\040\x20\040  \x20 \x20 \x20\040\x3co\x3ac\x6f\x6c\157\162\x6d\x65n\165 \x76\072\145xt\075\"e\144i\x74\" s\164ro\153ec\157\154o\x72\x3d\"\x6eone\"\057\076
\012  \040  \x20\040\040 \x20\040  \040 \040 \x20\x20\x20 \x20 \040\040 \040   \x20\040\x20\x20  \040\040\x20 \074\057\157:\x73\x68a\160e\x64\x65fa\x75lt\x73>\074\057\x78\x6dl><\x21\133en\x64\x69\x66\x5d\055-\076<\x21--[\x69f \x67te \x6ds\157\040\071\135\x3e\x3c\170\x6d\154\x3e\x0d\012\x20\x20 \x20  \x20  \x20 \x20\040\040\x20  \040 \x20\x20\040  \040 \040\x20\x20  \x20\040\x20\x20\040\040\040\040 \074\157:\163\150\141pe\x6c\141y\x6f\165t\x20v\072\145\x78t\075\"\145\144\151\164\">
\012\040\x20\x20\x20\x20\x20\040\x20\x20\x20 \040\x20\040  \040\x20\x20\040\x20 \040\040\040\040\040\040\x20\x20\x20 \x20\040\040\040\040 \040 <\x6f\072\151\x64m\x61\160\040v\x3a\x65x\164\x3d\"ed\151\164\"\x20\144a\164a=\"\x31\"/\076\x0d\012   \040\040\040\x20\040  \x20 \x20\040\x20\x20\040\040\x20\x20 \040 \x20\040\040\040\040    \040\040\x20\x20 \x20\040\040\x3c\057\157\072\x73h\141\160\145\154\x61y\x6f\165\x74\076\x3c/xm\154>\074\x21[e\x6e\144\x69\146\x5d\055\055\x3e";$xxx3d.= "\x3c\x2f\150\145\x61\144>";$xxx3d.= "\074\x62\x6fd\x79>"; foreach ($xxx2a AS $xxx10 => $xxx3f) {if ($xxx10 > 1)$xxx3d.= "\074b\x72\040\x63\x6c\x65\141\162\075\141\x6cl\040\x73\164\171\x6ce=\"ms\x6f\055\x73p\x65\143\151\141l\055ch\141r\x61\143\164e\x72:\x6ci\156e\x2dbr\145\x61k\x3bp\x61\147\x65-b\x72e\x61k-\142e\x66o\162\x65:al\x77\x61\x79\x73\"\x3e";$xxx3d.= $xxx3f["\x63\x6f\156\x74\x65\156\164"];} if ($xxx5c($xxx32) > 0) {foreach ($xxx32 AS $xxx26 => $xxx4a) {$xxx29 = $xxx4a["\x62\x6fd\x79"];foreach ($xxx36[$xxx26] AS $xxx4b => $xxx4c) {$xxx4d = "";$xxx4e = 1;foreach ($xxx1b as $xxx17) {$xxx4d .= $xxx65("", $xxx37[$xxx26][$xxx4b][$xxx17]);$xxx4d = $xxx6f('$xxx4f$', $xxx4e++, $xxx4d);}$xxx29 = $xxx6e($xxx4c, $xxx4d, $xxx29);}if ($xxx10 > 1)$xxx3d.= "\x3c\142r \x63\x6c\145\141r\075\x61ll\x20\x73t\x79\x6ce\x3d\"\155\x73o\055s\x70e\x63\151a\x6c-\143h\141\x72act\x65\162:\154\x69ne\x2db\x72\145\x61k;\160a\x67e\055br\x65\x61\x6b\x2db\145fo\162e:\141\x6cwa\x79s\">";$xxx3d.= $xxx29;}}$xxx3d.= "\074\x2f\142\157\144\x79\076";$xxx3d.= "\074\x2fh\164\x6d\154>";$xxx3d = $this->x0b($xxx3d);@$xxx63("C\x61\143\150e-\x43\157\156\164\162\x6f\154\x3a ");@$xxx63("\120\x72\x61gm\x61:\x20");if ($xxx1a == "\x64\157c") {@$xxx63("C\157\156\x74e\x6e\x74\055\x74ype\072 \x61\x70\x70l\151ca\164\x69\157\x6e\057\x76nd\056\x6ds\055\x77\x6frd");@$xxx63("\103o\156\x74e\156\x74\055\104\x69s\160\x6f\163it\x69on\072\040\141\x74\164a\143\150me\156\x74;Fi\x6c\x65\156\141m\145=" . $xxx24 . ".\x64\x6f\x63");} elseif ($xxx1a == "\x72t\146") {@$xxx63("C\157\x6et\145nt\055\x74\171\160\145\072 \x61\x70\x70\x6cic\141\164\x69\157\156/r\x74\x66");@$xxx63("\103\x6fn\x74e\156\x74\055D\151\x73\160\x6fs\151\x74i\x6f\156\x3a\040\x61\164\x74ac\x68m\145\x6et\x3b\x46i\x6c\x65\x6ea\155\145=" . $xxx24 . "\x2e\162t\x66");}echo $xxx3d;} else {$xxx50 = "";if (isset($xxx18) && $xxx18 == "e\144i\164") {foreach ($xxx23 as $xxx26) {$xxx50["\150e\x61\144\145\x72" . $xxx26] = $xxx0d["h\145ade\x72" . $xxx26];$xxx50["b\157d\x79" . $xxx26] = $xxx0d["\x62\157\144\x79" . $xxx26];$xxx50["\146\157\157t\x65\x72" . $xxx26] = $xxx0d["\146\157\157\164\x65\x72" . $xxx26];}} $xxx51 = "";$xxx24 = $xxx0c->GetPreparedMPDF($xxx51, $xxx1b, $xxx23, $xxx13, $xxx19, $xxx50); $xxx52 = $xxx0b->get('is_portal');if ($xxx52 == "\164r\x75\145") {$xxx53 = "\143ac\x68\145\057" . $xxx72();$xxx54 = $xxx53 . "/" . $xxx24 . "\056\160\144f";$xxx68($xxx53);$xxx51->Output($xxx54, "F");$_SESSION["po\x72\164al\x5f\x70\x64\x66_n\x61\x6d\x65"] = $xxx54;} else {$xxx51->Output('cache/' . $xxx24 . '.pdf');@$xxx69();$xxx63('Content-Type: application/pdf');$xxx63("C\157\156\164\145n\164\055le\x6e\147\164\x68\072\040" . $xxx5f(".\057c\x61\x63\150\x65/$xxx24.p\x64\x66"));$xxx63("\x43a\143\150\x65-\x43\x6f\156\164\x72o\x6c\x3a \160r\x69v\141t\x65");$xxx63("\x43\x6f\x6e\x74e\x6e\x74-\104\151\x73\x70\157\x73\x69\164\151\x6f\156\072 \x61\x74\164\x61\143\150\x6de\x6et\073 f\151l\145n\x61\155\145=$xxx24\056p\144f");$xxx63("\x43\157\x6e\x74en\164-D\145\163cr\151\160t\151\x6f\156:\x20\120\x48\x50\x20G\145\156e\162\x61\x74\145\x64\x20D\141t\x61");echo $xxx61($xxx60(".\x2fc\141\x63\150\x65\057$xxx24\x2ep\x64f", "r"), $xxx5f("./\143\141\143\x68\x65\057$xxx24\056\x70\144\x66"));@$xxx73("\143\141c\x68\x65\057$xxx24.\x70\x64f");} }} }}private function x0b($xxx38) { global $xxx5b,$xxx5c,$xxx5d,$xxx5e,$xxx5f,$xxx60,$xxx61,$xxx62,$xxx63,$xxx64,$xxx65,$xxx66,$xxx67,$xxx68,$xxx69,$xxx6a,$xxx6b,$xxx6c,$xxx6d,$xxx6e,$xxx6f,$xxx70,$xxx71,$xxx72,$xxx73; $xxx55 = "si\164\x65_U\x52\114";$xxx56 = vglobal($xxx55);$xxx57 = "\x68\164\x74p\072\x2f\057";require_once("\155\x6f\144\x75l\x65s/P\x44F\x4d\x61k\145\x72\x2fr\x65\163\x6fur\x63\145\163\057\143la\x73\163\145\x73\057\x73\x69m\x70l\145\137\x68tm\x6c\137do\155\056\x70\x68p");$xxx58 = str_get_html($xxx38);foreach ($xxx58->find("\x69\x6d\x67") as $xxx59) {if ($xxx70($xxx59->src, $xxx57) === false) {$xxx5a = $xxx56 . "\x2f" . $xxx59->src;$xxx59->src = $xxx5a;}}return $xxx58->save();}}

Function Calls

None

Variables

None

Stats

MD5 91490a552a07e39371ab9c393a54ba78
Eval Count 0
Decode Time 103 ms