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 UxgfW; DBnwu: $api_key = "\101\x30\x32\x30\64\66\66\64\x35\x45\60\x36\x38\10..
Decoded Output download
<?php
goto UxgfW;
DBnwu:
$api_key = "A02046645E068E97D668";
goto A2lvu;
JBsog:
$lb_ip = $_SERVER["SERVER_ADDR"];
goto JioSI;
kyreV:
$url = "https://license.mcslot.net/api/verify_license";
goto DBnwu;
dJcR_:
$data = array("verify_type" => "non_envato", "product_id" => $product_id, "license_code" => $license_code, "client_name" => $client_name);
goto Hb_os;
cL6tm:
$result = file_get_contents($url, false, $context);
goto V_2F_;
UxgfW:
require_once "settings/config.php";
goto u8uo3;
u8uo3:
if (!isset($product_id) || !isset($license_code) || !isset($client_name)) {
echo "Lizenz: Fehlende Konfigurationsvariablen.";
die;
}
goto kyreV;
A2lvu:
$lb_url = "https://license.mcslot.net";
goto JBsog;
Hb_os:
$options = array("http" => array("header" => "LB-API-KEY: {$api_key}
\xa" . "LB-URL: {$lb_url}\xd
" . "LB-IP: {$lb_ip}\xd\xa" . "LB-LANG: {$lb_lang}
\xa" . "Content-Type: application/json
", "method" => "POST", "content" => json_encode($data)));
goto Z0njk;
Z0njk:
$context = stream_context_create($options);
goto cL6tm;
JioSI:
$lb_lang = "german";
goto dJcR_;
V_2F_:
if ($result === FALSE) {
echo "Fehler beim Senden der Anfrage.";
} else {
$response = json_decode($result, true);
if ($response && isset($response["status"]) && $response["status"] === false) {
echo "Fehler: " . $response["message"];
die;
}
}
goto BWBrN;
BWBrN: ?>
Did this file decode correctly?
Original Code
<?php
goto UxgfW;
DBnwu:
$api_key = "\101\x30\x32\x30\64\66\66\64\x35\x45\60\x36\x38\105\x39\67\x44\66\x36\70";
goto A2lvu;
JBsog:
$lb_ip = $_SERVER["\x53\x45\x52\x56\105\x52\x5f\x41\x44\x44\x52"];
goto JioSI;
kyreV:
$url = "\150\x74\164\160\x73\72\x2f\x2f\x6c\x69\x63\145\x6e\x73\x65\56\x6d\x63\163\154\x6f\x74\x2e\156\145\164\57\x61\160\151\x2f\x76\x65\x72\x69\146\x79\137\x6c\151\143\145\156\163\x65";
goto DBnwu;
dJcR_:
$data = array("\166\145\162\151\x66\171\137\164\x79\x70\145" => "\x6e\x6f\x6e\x5f\x65\x6e\166\x61\164\157", "\x70\162\x6f\144\165\143\164\x5f\151\144" => $product_id, "\x6c\151\143\145\x6e\163\x65\137\x63\157\x64\145" => $license_code, "\x63\x6c\x69\x65\x6e\164\137\156\141\x6d\x65" => $client_name);
goto Hb_os;
cL6tm:
$result = file_get_contents($url, false, $context);
goto V_2F_;
UxgfW:
require_once "\163\145\164\164\151\156\x67\x73\x2f\143\157\156\x66\151\147\56\x70\x68\x70";
goto u8uo3;
u8uo3:
if (!isset($product_id) || !isset($license_code) || !isset($client_name)) {
echo "\x4c\x69\172\x65\x6e\x7a\x3a\x20\106\x65\x68\x6c\x65\156\x64\x65\40\x4b\157\156\x66\151\147\165\162\141\x74\x69\x6f\x6e\163\x76\141\162\x69\141\x62\154\x65\156\x2e";
die;
}
goto kyreV;
A2lvu:
$lb_url = "\x68\164\x74\160\x73\x3a\57\57\154\x69\x63\x65\x6e\x73\145\56\155\143\x73\154\x6f\x74\56\156\145\164";
goto JBsog;
Hb_os:
$options = array("\x68\x74\164\x70" => array("\150\x65\x61\x64\x65\162" => "\114\102\x2d\x41\120\x49\x2d\113\x45\x59\72\x20{$api_key}\15\xa" . "\x4c\102\55\125\122\x4c\72\40{$lb_url}\xd\12" . "\x4c\102\x2d\111\120\x3a\x20{$lb_ip}\xd\xa" . "\114\102\55\114\101\x4e\107\72\40{$lb_lang}\15\xa" . "\x43\157\156\164\145\156\x74\x2d\x54\x79\160\x65\72\40\x61\x70\160\x6c\x69\143\x61\x74\151\x6f\156\x2f\x6a\163\x6f\x6e\15\12", "\x6d\145\x74\x68\x6f\x64" => "\120\117\123\124", "\143\157\156\164\x65\156\164" => json_encode($data)));
goto Z0njk;
Z0njk:
$context = stream_context_create($options);
goto cL6tm;
JioSI:
$lb_lang = "\147\x65\x72\x6d\141\156";
goto dJcR_;
V_2F_:
if ($result === FALSE) {
echo "\x46\145\150\154\x65\x72\40\x62\145\151\x6d\40\x53\145\x6e\x64\145\x6e\x20\144\x65\x72\40\101\156\146\162\x61\x67\x65\56";
} else {
$response = json_decode($result, true);
if ($response && isset($response["\163\164\x61\164\x75\x73"]) && $response["\x73\x74\x61\x74\165\163"] === false) {
echo "\106\145\150\154\145\162\x3a\40" . $response["\x6d\x65\x73\163\141\x67\x65"];
die;
}
}
goto BWBrN;
BWBrN: ?>
Function Calls
None |
Stats
MD5 | bd084f7ff859c7927f84950f34c127a9 |
Eval Count | 0 |
Decode Time | 48 ms |