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 /* __________________________________________________ | Obfuscated by YAK P..
Decoded Output download
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2023-09-20 16:12:27 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto pxq8c; r1Yox: if ($_REQUEST["method"] == "change") { goto mud7u; } if ($_REQUEST["method"] == "add") { goto I99yd; } if (!($_REQUEST["method"] == "test")) { goto U6mHG; } $fTkL6 = null; if (empty($_REQUEST["user_id"])) { goto XEZPF; } $fTkL6 = $_REQUEST["user_id"]; XEZPF: $K3gUa = KinamuGPTOutfittersLicense::isValid($currentModule, $fTkL6, true); if ($K3gUa !== true) { goto dhGba; } goto L43JT; BPGmM: echo "<br/>User validation = " . !empty($ZRLUD["result"]["validated_users"]); echo "<br/>Licensed User Count = " . $ZRLUD["result"]["licensed_user_count"]; echo "<br/>Current User Count = " . $ZRLUD["result"]["user_count"]; if (!($ZRLUD["result"]["user_count"] > $ZRLUD["result"]["licensed_user_count"])) { goto hYJNd; } echo "<br/><br/>Additional Users Required = " . ($ZRLUD["result"]["user_count"] - $ZRLUD["result"]["licensed_user_count"]); hYJNd: H5_cX: fYMSF: zrkID: goto VyKGt; L43JT: echo "License validated"; goto zrkID; dhGba: echo "License did NOT validate.<br/><br/>Reason: " . $K3gUa; $ZRLUD = KinamuGPTOutfittersLicense::doValidate($currentModule); if (!is_array($ZRLUD["result"])) { goto fYMSF; } echo "<br/><br/>Key validation = " . !empty($ZRLUD["result"]["validated"]); require "modules/" . $currentModule . "/license/config.php"; if (!($outfitters_config["validate_users"] == true)) { goto H5_cX; } goto BPGmM; VyKGt: U6mHG: goto eon67; I99yd: KinamuGPTOutfittersLicense::add(); eon67: goto wEzrq; mud7u: KinamuGPTOutfittersLicense::change(); wEzrq: goto nU2OG; nU2OG: goto XfBEt; P9bJC: KinamuGPTOutfittersLicense::validate(); goto LLf3D; pxq8c: if (!empty($_REQUEST["method"])) { goto IaM8J; } header("HTTP/1.1 400 Bad Request"); $EkFLH = "method is required."; $zY4kX = getJSONobj(); echo $zY4kX->encode($EkFLH); IaM8J: global $currentModule; require_once "modules/" . $currentModule . "/license/KinamuGPTOutfittersLicense.php"; if ($_REQUEST["method"] == "validate") { goto P9bJC; } goto r1Yox; LLf3D: XfBEt:
?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2023-09-20 16:12:27 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto pxq8c; r1Yox: if ($_REQUEST["\x6d\145\164\150\x6f\144"] == "\x63\150\141\x6e\147\145") { goto mud7u; } if ($_REQUEST["\155\145\x74\150\157\144"] == "\x61\x64\144") { goto I99yd; } if (!($_REQUEST["\x6d\x65\x74\x68\157\144"] == "\x74\x65\x73\164")) { goto U6mHG; } $fTkL6 = null; if (empty($_REQUEST["\165\x73\x65\x72\137\x69\144"])) { goto XEZPF; } $fTkL6 = $_REQUEST["\x75\x73\x65\162\x5f\x69\x64"]; XEZPF: $K3gUa = KinamuGPTOutfittersLicense::isValid($currentModule, $fTkL6, true); if ($K3gUa !== true) { goto dhGba; } goto L43JT; BPGmM: echo "\74\142\162\x2f\76\125\163\x65\x72\x20\166\x61\154\151\x64\x61\x74\151\x6f\156\40\x3d\40" . !empty($ZRLUD["\x72\145\163\x75\154\164"]["\166\x61\x6c\151\144\x61\164\x65\x64\137\x75\163\x65\x72\x73"]); echo "\74\142\162\57\76\114\151\x63\x65\x6e\x73\145\x64\40\x55\163\145\x72\x20\103\157\165\x6e\164\40\x3d\x20" . $ZRLUD["\162\x65\163\165\154\164"]["\x6c\151\x63\145\x6e\163\x65\x64\x5f\x75\x73\145\162\137\x63\x6f\165\x6e\164"]; echo "\74\x62\x72\x2f\76\x43\165\x72\x72\x65\156\x74\x20\125\163\145\162\40\103\157\165\x6e\x74\40\75\x20" . $ZRLUD["\x72\145\x73\x75\154\164"]["\x75\x73\x65\x72\x5f\x63\x6f\165\x6e\x74"]; if (!($ZRLUD["\x72\x65\163\x75\154\164"]["\165\163\x65\x72\x5f\143\x6f\165\x6e\164"] > $ZRLUD["\x72\145\x73\x75\x6c\164"]["\x6c\x69\143\145\156\163\145\x64\x5f\165\163\x65\162\137\143\157\165\156\164"])) { goto hYJNd; } echo "\74\x62\x72\57\x3e\74\x62\162\57\76\101\x64\144\x69\164\x69\x6f\x6e\x61\154\x20\x55\163\145\x72\x73\40\122\x65\161\165\x69\x72\145\144\40\x3d\40" . ($ZRLUD["\x72\x65\x73\x75\x6c\x74"]["\x75\x73\x65\x72\x5f\143\x6f\165\156\164"] - $ZRLUD["\162\x65\x73\165\x6c\x74"]["\154\151\x63\x65\156\x73\145\x64\x5f\165\x73\x65\x72\x5f\143\x6f\x75\x6e\164"]); hYJNd: H5_cX: fYMSF: zrkID: goto VyKGt; L43JT: echo "\x4c\x69\x63\145\156\163\x65\x20\166\x61\154\x69\x64\x61\x74\145\x64"; goto zrkID; dhGba: echo "\114\x69\143\145\x6e\163\x65\40\x64\x69\x64\x20\116\x4f\x54\40\166\141\154\x69\x64\x61\164\x65\x2e\74\x62\x72\57\76\x3c\x62\162\57\x3e\122\145\x61\x73\157\156\72\40" . $K3gUa; $ZRLUD = KinamuGPTOutfittersLicense::doValidate($currentModule); if (!is_array($ZRLUD["\x72\x65\163\165\x6c\164"])) { goto fYMSF; } echo "\74\x62\162\57\76\74\x62\x72\57\76\113\x65\171\x20\x76\141\x6c\x69\x64\x61\164\x69\x6f\156\40\x3d\40" . !empty($ZRLUD["\x72\x65\163\165\x6c\164"]["\166\141\154\151\x64\141\x74\x65\x64"]); require "\155\157\144\x75\154\x65\163\x2f" . $currentModule . "\x2f\154\x69\143\x65\156\x73\x65\x2f\143\157\x6e\x66\151\x67\56\160\x68\x70"; if (!($outfitters_config["\166\x61\154\151\x64\141\x74\145\x5f\165\x73\145\x72\x73"] == true)) { goto H5_cX; } goto BPGmM; VyKGt: U6mHG: goto eon67; I99yd: KinamuGPTOutfittersLicense::add(); eon67: goto wEzrq; mud7u: KinamuGPTOutfittersLicense::change(); wEzrq: goto nU2OG; nU2OG: goto XfBEt; P9bJC: KinamuGPTOutfittersLicense::validate(); goto LLf3D; pxq8c: if (!empty($_REQUEST["\155\145\x74\150\x6f\x64"])) { goto IaM8J; } header("\x48\x54\x54\x50\x2f\61\56\61\x20\x34\60\x30\40\x42\x61\x64\40\122\145\161\x75\145\163\164"); $EkFLH = "\155\145\164\x68\157\x64\x20\151\x73\40\x72\x65\161\165\151\162\x65\144\x2e"; $zY4kX = getJSONobj(); echo $zY4kX->encode($EkFLH); IaM8J: global $currentModule; require_once "\155\x6f\144\x75\x6c\145\x73\x2f" . $currentModule . "\x2f\x6c\151\143\145\156\163\x65\x2f\x4b\151\x6e\x61\x6d\165\x47\120\124\x4f\x75\x74\146\151\164\164\x65\x72\163\114\x69\x63\x65\x6e\x73\x65\56\x70\150\x70"; if ($_REQUEST["\155\x65\x74\150\x6f\x64"] == "\166\141\x6c\x69\x64\141\164\145") { goto P9bJC; } goto r1Yox; LLf3D: XfBEt:
Function Calls
None |
Stats
MD5 | 9d12994454e883b14767237fb6453a16 |
Eval Count | 0 |
Decode Time | 74 ms |