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 $x22="\141\x62\x73"; $x23="\x64\x61\164\x65"; $x24="\145\162\162o\x72\x5f\162\145\x7..

Decoded Output download

<?php $x22="abs"; $x23="date"; $x24="error_reporting"; $x25="explode"; $x26="md5"; $x27="str_replace"; $x28="strlen"; $x29="time"; $x24(0);require_once("include/nusoap/nusoap.php");$x0b="adb";$x0c="vtiger_current_version";$x0d="site_URL";$x0e="mod_strings";$x0f=$$x0e;$x10 = "its4you_validated_ok";global $x11;$x11 = new soapclient2("http://www.crm4you.sk/ITS4YouReports/ITS4YouWS.php", false);$x11->soap_defencoding = 'UTF-8';$x12 = $x11->getError();if ($x12 == false) {$x13="";if($_REQUEST["key"]!="") {include("version.php");$x14="version";$x15 = $x27(" ","_",$$x14);$x16 = $x26("web/".$$x0d);$x17 = "professional";$x13 = lASzFfDzipehfoEbjFZQ($x17,$$x0c,$x15,$x16);}if($x13 == "validated"){$$x0b->query("DELETE FROM its4you_reports4you_license");$$x0b->query("INSERT INTO its4you_reports4you_license VALUES('".$x17."','".$_REQUEST["key"]."')");if ($x17 == "professional") $x17 = ""; else $x17 .= "/";$$x0b->query("UPDATE its4you_reports4you_version SET license='".$x26($x17.$$x0d)."' WHERE version='".$$x0c."'");$x18="ok";}else {$x18 = "";}}else {$x18 = "error";} $x19 = "index.php?module=ITS4YouReports&action=License&parenttab=Settings&reactivate=$x18";echo "<script>window.location.replace('$x19');</script>";exit;function lASzFfDzipehfoEbjFZQ($x17,$x1a,$x15,$x16){ global $x22,$x23,$x24,$x25,$x26,$x27,$x28,$x29; global $x11;$x1b = $x29();$x1c = array("key"=>$_REQUEST["key"],"type"=>$x17,"vtiger"=>$x1a,"pdfmaker"=>$x15,"url"=>$x16,"time"=>$x1b);$x13 = $x11->call("reactivate_license", $x1c);if ($x13 != "invalidated" && $x13!="validate_err"){$x1d = $x25("_",$x13);$x13 = "invalidated";$x1e = $x23("Yy",$x1b);$x1f = $x28($x17);$x20 = $x28($x16);$x21 = $x1e;$x21 -= ($x1f + $x20);$x21 -= $x1b;if ($x1d[1] == $x22($x21))$x13 = $x1d[0];}return $x13;}?>

Did this file decode correctly?

Original Code

<?php $x22="\141\x62\x73"; $x23="\x64\x61\164\x65"; $x24="\145\162\162o\x72\x5f\162\145\x70\157\x72\x74ing"; $x25="\x65\170plo\x64\145"; $x26="\x6dd5"; $x27="st\x72_\162\145\x70la\143\145"; $x28="s\x74\x72l\145\x6e"; $x29="\164i\x6d\x65"; $x24(0);require_once("\151\x6eclud\145\x2f\x6e\x75\163oa\160\057n\165s\x6fa\160\x2e\x70h\x70");$x0b="a\x64\142";$x0c="v\x74i\147\145\x72_\143\165\x72ren\x74\x5f\x76\145\162\x73\151\x6fn";$x0d="sit\145\x5f\x55\x52L";$x0e="\155\157\144\137\163\164\162\151\x6e\147\163";$x0f=$$x0e;$x10 = "its4\171\x6f\x75_v\x61\154\x69\144a\x74ed_\x6f\153";global $x11;$x11 = new soapclient2("\150t\164\160\072\x2f/\167ww\x2e\143\x72\155\x34\x79\x6fu\056\163\x6b\057IT\123\x34Y\157\x75R\145p\x6fr\x74\x73\x2fI\124\x53\064\131\157u\x57\x53\x2e\160\150p", false);$x11->soap_defencoding = 'UTF-8';$x12 = $x11->getError();if ($x12 == false) {$x13="";if($_REQUEST["\x6be\171"]!="") {include("\166\x65\x72s\x69\x6f\x6e.\x70hp");$x14="\x76\x65\162\x73\x69\157\156";$x15 = $x27("\040","\x5f",$$x14);$x16 = $x26("\x77\145\x62\057".$$x0d);$x17 = "p\162o\x66\x65s\x73\151\157n\141l";$x13 = lASzFfDzipehfoEbjFZQ($x17,$$x0c,$x15,$x16);}if($x13 == "v\141\x6cida\x74\145\144"){$$x0b->query("\104E\x4cETE F\122\117\115 \x69t\163\064\x79o\x75\x5f\x72\x65\160\157\x72\x74s4\171o\x75\x5f\154\151c\x65\156\163e");$$x0b->query("IN\123E\x52T\x20\x49\116\124\117\x20\151\x74s\064\x79\157u\137\162\145p\157rt\1634\171\x6f\165_l\151c\x65\x6es\145 V\x41\114\125\x45S\x28'".$x17."','".$_REQUEST["\153\x65y"]."'\x29");if ($x17 == "p\x72\x6ffes\x73\151\x6f\156a\x6c") $x17 = ""; else $x17 .= "\x2f";$$x0b->query("\125\x50\x44\101T\105\x20\x69t\1634\171o\x75\x5f\x72\145\x70ort\163\064\x79\157\165_\166e\x72si\x6f\156\040S\105T\040\154\151\143\145\x6es\x65\075'".$x26($x17.$$x0d)."' \x57HE\122E\040\166e\x72sio\156\x3d'".$$x0c."'");$x18="o\x6b";}else {$x18 = "";}}else {$x18 = "e\162\162\157r";} $x19 = "\151\156\x64\145\x78\056\x70\150\x70\077\x6d\x6f\x64\x75\x6c\145\075\111\124S\064\x59\x6fuR\145\160o\x72t\163&acti\157\156\075\114\151\143\145n\x73\145\x26\x70\x61\x72\145\156\x74\x74ab\x3d\123e\x74\164\x69\156\147\x73\046r\145\x61\x63t\x69v\x61t\x65\x3d$x18";echo "<s\x63\x72i\x70\164>\167\x69n\144\157\167\x2e\154o\143a\164\151\x6f\x6e\x2ere\160l\141\143\x65\050'$x19'\051;\x3c/s\x63r\151p\x74\x3e";exit;function lASzFfDzipehfoEbjFZQ($x17,$x1a,$x15,$x16){ global $x22,$x23,$x24,$x25,$x26,$x27,$x28,$x29; global $x11;$x1b = $x29();$x1c = array("\153e\171"=>$_REQUEST["k\x65\x79"],"\x74\x79\x70e"=>$x17,"\x76t\151\x67er"=>$x1a,"pd\x66\155a\153er"=>$x15,"\x75rl"=>$x16,"\164i\155\x65"=>$x1b);$x13 = $x11->call("\x72e\x61\x63\x74\151v\x61te\x5f\154i\x63\x65ns\145", $x1c);if ($x13 != "\151\156\166\141\x6ci\144a\x74\x65d" && $x13!="va\x6ci\x64\x61\164\145\137\145\x72r"){$x1d = $x25("\x5f",$x13);$x13 = "\x69\x6e\x76a\x6c\151\x64a\x74ed";$x1e = $x23("\x59\x79",$x1b);$x1f = $x28($x17);$x20 = $x28($x16);$x21 = $x1e;$x21 -= ($x1f + $x20);$x21 -= $x1b;if ($x1d[1] == $x22($x21))$x13 = $x1d[0];}return $x13;}?>

Function Calls

error_reporting 1

Variables

$x22 abs
$x23 date
$x24 error_reporting
$x25 explode
$x26 md5
$x27 str_replace
$x28 strlen
$x29 time

Stats

MD5 48d272329bdbc99b9b05749dd8b894cd
Eval Count 0
Decode Time 57 ms