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 $x20="\141\x62\163"; $x21="d\141\164e"; $x22="\145rro\162_\162e\160\x6f\162\x74\x69..
Decoded Output download
<?php
$x20="abs"; $x21="date"; $x22="error_reporting"; $x23="explode"; $x24="header"; $x25="md5"; $x26="str_replace"; $x27="strlen"; $x28="time";
$x22(0);require_once("include/nusoap/nusoap.php");$x0b = "adb";$x0c = "vtiger_current_version";$x0d = "site_URL";$x0e = "currentModule";global $x0f, $$x0e;$x0f = new soapclient2("http://www.crm4you.sk/PDFMaker/ITS4YouWS.php", false);$x0f->soap_defencoding = 'UTF-8';$x10 = $x0f->getError();if ($x10 == false) {$x11 = "";if ($_REQUEST["key"] != "") {include("version.php");$x12 = "version";$x13 = $x26(" ", "_", $$x12);$x14 = $x25("web/" . $$x0d);$x15 = "professional";$x11 = x0b($x15, $$x0c, $x13, $x14);if ($x11 != "validated") {$x15 = "basic";$x11 = x0b($x15, $$x0c, $x13, $x14);}}if ($x11 == "validated") {$$x0b->query("DELETE FROM vtiger_pdfmaker_license");$$x0b->query("INSERT INTO vtiger_pdfmaker_license VALUES('" . $x15 . "','" . $_REQUEST["key"] . "')");if ($x15 == "professional")$x15 = "";else$x15 .= "/";$$x0b->query("UPDATE vtiger_pdfmaker_version SET license='" . $x25($x15 . $$x0d) . "' WHERE version='" . $$x0c . "'");$x16 = "ok";$x17 = CRMEntity::getInstance("PDFMaker");$x17->actualizeLinks();}else {$x16 = "invalid";}} else {$x16 = "error";}$x24("Location:index.php?module=" . $$x0e . "&action=License&parenttab=Tools&reactivate=" . $x16);exit;function x0b($x15, $x18, $x13, $x14) { global $x20,$x21,$x22,$x23,$x24,$x25,$x26,$x27,$x28; global $x0f;$x19 = $x28();$x1a = array("key" => $_REQUEST["key"],"type" => $x15,"vtiger" => $x18,"pdfmaker" => $x13,"url" => $x14,"time" => $x19);$x11 = $x0f->call("reactivate_license", $x1a);if ($x11 != "invalidated" && $x11 != "validate_err") {$x1b = $x23("_", $x11);$x11 = "invalidated";$x1c = $x21("Yy", $x19);$x1d = $x27($x15);$x1e = $x27($x14);$x1f = $x1c;$x1f -= ($x1d + $x1e);$x1f -= $x19;if ($x1b[1] == $x20($x1f))$x11 = $x1b[0];}return $x11;}
?>
Did this file decode correctly?
Original Code
<?php
$x20="\141\x62\163"; $x21="d\141\164e"; $x22="\145rro\162_\162e\160\x6f\162\x74\x69\156\x67"; $x23="e\x78\160\x6c\157de"; $x24="\150e\x61d\x65r"; $x25="\x6dd\x35"; $x26="\x73\x74\x72_\x72\145p\154\x61\143e"; $x27="st\x72l\145\156"; $x28="\164ime";
$x22(0);require_once("i\156\143\x6cude/\156\x75s\157a\x70\057n\x75\163\x6fap.p\150p");$x0b = "\x61\144\x62";$x0c = "\166t\x69ge\162\137c\165rre\156\164\x5f\166e\162s\151o\x6e";$x0d = "\x73i\164\145_UR\x4c";$x0e = "c\x75\162\x72e\x6etMod\x75\x6c\x65";global $x0f, $$x0e;$x0f = new soapclient2("h\x74\164\160\072\057/\x77\167\x77\056c\x72\x6d\064\x79ou\x2es\153\057P\x44\106\115\x61\x6be\x72\057\111\x54\x53\064\131ou\x57\123\056p\x68p", false);$x0f->soap_defencoding = 'UTF-8';$x10 = $x0f->getError();if ($x10 == false) {$x11 = "";if ($_REQUEST["k\145y"] != "") {include("\166\x65rsi\x6f\156\056\160\150\160");$x12 = "v\145\162\163\151o\x6e";$x13 = $x26("\x20", "\137", $$x12);$x14 = $x25("we\x62\x2f" . $$x0d);$x15 = "p\x72\157\146\145\163s\x69o\156\141\x6c";$x11 = x0b($x15, $$x0c, $x13, $x14);if ($x11 != "\166\141li\x64\x61\x74\x65\x64") {$x15 = "\142\141\163i\143";$x11 = x0b($x15, $$x0c, $x13, $x14);}}if ($x11 == "\166a\154id\141ted") {$$x0b->query("\104\x45\114\x45\124\105\040\106\122\x4f\x4d\x20\x76\164ig\145\162\x5f\x70d\x66m\x61ker\137lic\145nse");$$x0b->query("I\116\x53\105\122\x54 I\x4e\124\x4f vt\151\147\x65\162\137\x70d\x66\155a\153e\x72_l\151\x63\145ns\x65\040\126A\x4c\x55\x45\x53\x28'" . $x15 . "'\054'" . $_REQUEST["\153\x65\171"] . "'\x29");if ($x15 == "p\162\157\146\x65\163s\x69\x6f\156\141\154")$x15 = "";else$x15 .= "\x2f";$$x0b->query("U\x50D\101\124E\x20\166\164\x69\x67\x65\x72\x5f\x70\144fm\x61\x6b\145r\x5f\x76\145r\163\x69\157\156\040S\105\124\040\x6c\x69c\145nse\x3d'" . $x25($x15 . $$x0d) . "'\x20\x57\110E\122E\x20\x76\145\162\x73\x69o\x6e\x3d'" . $$x0c . "'");$x16 = "ok";$x17 = CRMEntity::getInstance("\120D\x46\115a\x6be\x72");$x17->actualizeLinks();}else {$x16 = "\151\156\x76\x61\154\151d";}} else {$x16 = "\145rror";}$x24("\x4co\143\141\164ion\072\151n\144\145x\056\160\x68\x70\077\x6d\x6fd\165l\145\075" . $$x0e . "&\x61\143\x74\151\x6f\156=\114\x69\143\145\156\163\145\x26\160\141\162\145n\x74\x74\x61\142=\x54\157\157ls&rea\x63ti\x76\x61te\075" . $x16);exit;function x0b($x15, $x18, $x13, $x14) { global $x20,$x21,$x22,$x23,$x24,$x25,$x26,$x27,$x28; global $x0f;$x19 = $x28();$x1a = array("\153ey" => $_REQUEST["\153\x65\x79"],"t\x79\x70\145" => $x15,"v\x74ig\x65r" => $x18,"\160\x64\146\155a\153\x65\x72" => $x13,"u\162l" => $x14,"ti\155\145" => $x19);$x11 = $x0f->call("\x72\145\x61\x63\x74\151va\x74\x65\137\154\x69\143\x65\x6e\x73\x65", $x1a);if ($x11 != "\151n\x76al\151\144\141\x74\145\144" && $x11 != "\x76a\x6c\x69d\141\164\x65\137\x65\162\x72") {$x1b = $x23("\x5f", $x11);$x11 = "\x69n\x76\x61\154\151\144at\145\x64";$x1c = $x21("\131\x79", $x19);$x1d = $x27($x15);$x1e = $x27($x14);$x1f = $x1c;$x1f -= ($x1d + $x1e);$x1f -= $x19;if ($x1b[1] == $x20($x1f))$x11 = $x1b[0];}return $x11;}
?>
Function Calls
error_reporting | 1 |
Stats
MD5 | fee2fd8208fffcf9298bd6bec3a589e3 |
Eval Count | 0 |
Decode Time | 98 ms |