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 goto ixwTx; Il4dq: $license_url = ''; goto Bku3l; ixwTx: $IIIIIIIIIIIl = ''; got..

Decoded Output download

<?php 
 
 goto ixwTx; Il4dq: $license_url = ''; goto Bku3l; ixwTx: $IIIIIIIIIIIl = ''; goto Il4dq; Bku3l: function IIIIIIIIIII1($IIIIIIIIIIlI) { $IIIIIIIIIIll = "https://keysdb.net/api"; $IIIIIIIIIIl1 = array("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36", "Content-Type: application/json", "X-API-Key: dba1fb4ed4cf8989c28b8434063a02baf68a3be067cf1db748b4377ed2f6242f"); $IIIIIIIIII1I = curl_init(); curl_setopt($IIIIIIIIII1I, CURLOPT_URL, $IIIIIIIIIIll); curl_setopt($IIIIIIIIII1I, CURLOPT_RETURNTRANSFER, 1); curl_setopt($IIIIIIIIII1I, CURLOPT_HTTPHEADER, $IIIIIIIIIIl1); curl_setopt($IIIIIIIIII1I, CURLOPT_POST, 1); curl_setopt($IIIIIIIIII1I, CURLOPT_POSTFIELDS, json_encode($IIIIIIIIIIlI)); curl_setopt($IIIIIIIIII1I, CURLOPT_TIMEOUT, 30); $IIIIIIIIIlII = curl_exec($IIIIIIIIII1I); if ($IIIIIIIIIlII === false) { return false; } curl_close($IIIIIIIIII1I); return json_decode($IIIIIIIIIlII, true); } goto pq9iC; pq9iC: if ($_SERVER["REQUEST_METHOD"] === "POST") { if (isset($_POST["pssh"]) && isset($_POST["license_url"])) { $IIIIIIIIIIIl = $_POST["pssh"]; $license_url = $_POST["license_url"]; if (!empty($IIIIIIIIIIIl) && !empty($license_url)) { $IIIIIIIIIlII = IIIIIIIIIII1(array("pssh" => $IIIIIIIIIIIl, "license_url" => $license_url)); if ($IIIIIIIIIlII !== false) { if (isset($IIIIIIIIIlII["keys"]) && is_array($IIIIIIIIIlII["keys"]) && !empty($IIIIIIIIIlII["keys"])) { $keys = array(); $IIIIIIIIIll1 = array(); $keysJson = array("keys" => array()); foreach ($IIIIIIIIIlII["keys"] as $key) { if (isset($key["key"])) { $keys[] = $key["key"]; $IIIIIIIIIl11 = explode(":", $key["key"]); if (count($IIIIIIIIIl11) == 2) { $k = rtrim(strtr(base64_encode(hex2bin($IIIIIIIIIl11[1])), "+/", "-_"), "="); $kid = rtrim(strtr(base64_encode(hex2bin($IIIIIIIIIl11[0])), "+/", "-_"), "="); $keysJson["keys"][] = array("kty" => "oct", "k" => $k, "kid" => $kid); $IIIIIIIIIll1[] = $key["license_url"]; } } } if (!empty($keys) && !empty($IIIIIIIIIll1)) { $keysJson["type"] = "temporary"; $keyJsonOneLine = json_encode($keysJson, JSON_UNESCAPED_SLASHES); echo json_encode(array("keys" => $keys, "license_urls" => $IIIIIIIIIll1, "keysJson" => $keysJson, "keyJsonOneLine" => $keyJsonOneLine)); } else { echo json_encode(array("error" => '')); } } else { echo json_encode(array("error" => '')); } } else { echo json_encode(array("error" => '')); } } else { echo json_encode(array("error" => '')); } } else { echo json_encode(array("error" => '')); } } goto kdeHu; kdeHu: ;?> 

Did this file decode correctly?

Original Code

<?php

 goto ixwTx; Il4dq: $license_url = ''; goto Bku3l; ixwTx: $IIIIIIIIIIIl = ''; goto Il4dq; Bku3l: function IIIIIIIIIII1($IIIIIIIIIIlI) { $IIIIIIIIIIll = "\x68\x74\x74\160\163\x3a\x2f\57\153\145\171\x73\144\142\x2e\x6e\x65\164\57\x61\x70\x69"; $IIIIIIIIIIl1 = array("\x55\x73\x65\x72\55\x41\x67\145\156\164\72\40\x4d\157\x7a\x69\x6c\x6c\x61\x2f\x35\x2e\x30\40\50\x57\x69\x6e\x64\x6f\x77\163\x20\x4e\124\40\x31\60\56\60\x3b\40\127\x69\156\66\x34\x3b\40\x78\x36\64\51\x20\101\160\160\x6c\145\127\145\142\113\151\164\x2f\x35\63\x37\x2e\63\x36\40\x28\x4b\x48\x54\115\114\x2c\x20\154\151\x6b\x65\40\107\145\x63\153\x6f\51\x20\103\x68\x72\157\155\145\57\x31\x31\x38\56\x30\56\x30\56\x30\x20\123\x61\146\x61\x72\151\x2f\65\63\67\56\x33\66", "\x43\157\x6e\x74\x65\x6e\164\55\124\171\x70\x65\x3a\x20\141\160\x70\x6c\x69\143\x61\164\x69\x6f\156\57\152\163\x6f\156", "\130\55\x41\120\x49\x2d\113\145\x79\72\40\x64\x62\x61\x31\x66\x62\x34\x65\x64\x34\143\146\x38\x39\70\71\143\x32\70\x62\x38\64\63\64\x30\x36\x33\x61\60\x32\142\141\x66\66\x38\x61\x33\x62\x65\60\66\67\143\146\x31\x64\x62\x37\64\70\x62\64\x33\67\x37\x65\144\62\146\x36\62\x34\x32\x66"); $IIIIIIIIII1I = curl_init(); curl_setopt($IIIIIIIIII1I, CURLOPT_URL, $IIIIIIIIIIll); curl_setopt($IIIIIIIIII1I, CURLOPT_RETURNTRANSFER, 1); curl_setopt($IIIIIIIIII1I, CURLOPT_HTTPHEADER, $IIIIIIIIIIl1); curl_setopt($IIIIIIIIII1I, CURLOPT_POST, 1); curl_setopt($IIIIIIIIII1I, CURLOPT_POSTFIELDS, json_encode($IIIIIIIIIIlI)); curl_setopt($IIIIIIIIII1I, CURLOPT_TIMEOUT, 30); $IIIIIIIIIlII = curl_exec($IIIIIIIIII1I); if ($IIIIIIIIIlII === false) { return false; } curl_close($IIIIIIIIII1I); return json_decode($IIIIIIIIIlII, true); } goto pq9iC; pq9iC: if ($_SERVER["\x52\x45\x51\x55\105\123\x54\137\x4d\x45\124\110\117\x44"] === "\x50\x4f\123\124") { if (isset($_POST["\x70\x73\x73\x68"]) && isset($_POST["\x6c\151\x63\x65\156\163\x65\x5f\x75\x72\154"])) { $IIIIIIIIIIIl = $_POST["\160\x73\163\x68"]; $license_url = $_POST["\x6c\x69\x63\145\156\x73\x65\x5f\x75\162\x6c"]; if (!empty($IIIIIIIIIIIl) && !empty($license_url)) { $IIIIIIIIIlII = IIIIIIIIIII1(array("\x70\x73\163\x68" => $IIIIIIIIIIIl, "\154\x69\143\145\156\163\145\137\x75\x72\154" => $license_url)); if ($IIIIIIIIIlII !== false) { if (isset($IIIIIIIIIlII["\153\145\x79\163"]) && is_array($IIIIIIIIIlII["\x6b\x65\x79\x73"]) && !empty($IIIIIIIIIlII["\153\145\171\163"])) { $keys = array(); $IIIIIIIIIll1 = array(); $keysJson = array("\153\x65\171\x73" => array()); foreach ($IIIIIIIIIlII["\x6b\x65\x79\x73"] as $key) { if (isset($key["\x6b\x65\x79"])) { $keys[] = $key["\153\145\171"]; $IIIIIIIIIl11 = explode("\72", $key["\x6b\x65\x79"]); if (count($IIIIIIIIIl11) == 2) { $k = rtrim(strtr(base64_encode(hex2bin($IIIIIIIIIl11[1])), "\53\x2f", "\55\137"), "\75"); $kid = rtrim(strtr(base64_encode(hex2bin($IIIIIIIIIl11[0])), "\53\57", "\x2d\137"), "\75"); $keysJson["\x6b\145\171\163"][] = array("\x6b\x74\x79" => "\x6f\x63\x74", "\153" => $k, "\x6b\151\144" => $kid); $IIIIIIIIIll1[] = $key["\154\151\143\x65\156\163\x65\x5f\x75\162\154"]; } } } if (!empty($keys) && !empty($IIIIIIIIIll1)) { $keysJson["\x74\x79\x70\x65"] = "\x74\x65\155\160\157\162\x61\x72\171"; $keyJsonOneLine = json_encode($keysJson, JSON_UNESCAPED_SLASHES); echo json_encode(array("\x6b\x65\171\x73" => $keys, "\x6c\x69\x63\x65\x6e\163\x65\137\x75\162\x6c\163" => $IIIIIIIIIll1, "\x6b\145\171\163\112\x73\157\156" => $keysJson, "\x6b\x65\x79\112\163\x6f\156\117\x6e\x65\x4c\x69\156\145" => $keyJsonOneLine)); } else { echo json_encode(array("\x65\x72\162\157\162" => '')); } } else { echo json_encode(array("\145\162\x72\x6f\x72" => '')); } } else { echo json_encode(array("\x65\x72\162\x6f\x72" => '')); } } else { echo json_encode(array("\x65\x72\x72\x6f\x72" => '')); } } else { echo json_encode(array("\145\x72\x72\157\x72" => '')); } } goto kdeHu; kdeHu: ;?>

Function Calls

None

Variables

None

Stats

MD5 1f2077ec20acd8d64b445f2883507df3
Eval Count 0
Decode Time 41 ms