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 Z0EQZ; RC4dt: $response = curl_exec($curl); goto qCYl6; XEN8X: echo $re..

Decoded Output download

 
<?php 
goto Z0EQZ; 
RC4dt: 
$response = curl_exec($curl); 
goto qCYl6; 
XEN8X: 
echo $response; 
goto tTpp_; 
Z0EQZ: 
$curl = curl_init(); 
goto g_tdN; 
T97G2: 
curl_setopt_array($curl, array(CURLOPT_URL => "https://api.clashroyale.com/v1/players/" . substr($_POST["data1"], 6), CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array("Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4YTMxOGY3LTAwMDAtYTFlYi03ZmExLTJjNzQzM2M2Y2NhNSJ9.eyJpc3MiOiJzdXBlcmNlbGwiLCJhdWQiOiJzdXBlcmNlbGw6Z2FtZWFwaSIsImp0aSI6Ijg1ZjYyZDkxLWExNGEtNGM1Ny04MWRjLTY2NzlkYWQ3Zjc0NCIsImlhdCI6MTY1MjAyOTI3NCwic3ViIjoiZGV2ZWxvcGVyLzk0ZTUyNmU2LWVhODUtNmU0Zi0zZDFjLWQ4Y2UyMTA0M2VhOCIsInNjb3BlcyI6WyJyb3lhbGUiXSwibGltaXRzIjpbeyJ0aWVyIjoiZGV2ZWxvcGVyL3NpbHZlciIsInR5cGUiOiJ0aHJvdHRsaW5nIn0seyJjaWRycyI6WyIxOTQuMTQ1LjIwOS4xOSJdLCJ0eXBlIjoiY2xpZW50In1dfQ.6Znsj-VzkF5CT-QvdDiZZgCW8UFLEyKP3HEnKji4um7kjuLyWjxBOMYNAEUJKrrREruBjW6ONT4Iux_C1gJzxw"))); 
goto RC4dt; 
g_tdN: 
$valor_input = $_POST["data1"]; 
goto T97G2; 
qCYl6: 
curl_close($curl); 
goto XEN8X; 
tTpp_: 
return json_encode($response); 
 ?>

Did this file decode correctly?

Original Code


<?php
goto Z0EQZ;
RC4dt:
$response = curl_exec($curl);
goto qCYl6;
XEN8X:
echo $response;
goto tTpp_;
Z0EQZ:
$curl = curl_init();
goto g_tdN;
T97G2:
curl_setopt_array($curl, array(CURLOPT_URL => "\x68\x74\164\x70\x73\72\57\x2f\x61\x70\x69\x2e\x63\x6c\141\x73\x68\x72\157\x79\141\x6c\145\x2e\143\x6f\155\x2f\x76\x31\x2f\x70\x6c\x61\171\x65\x72\163\57" . substr($_POST["\x64\x61\x74\x61\x31"], 6), CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "\x47\x45\x54", CURLOPT_HTTPHEADER => array("\x41\165\x74\x68\157\x72\151\172\x61\164\x69\157\156\x3a\x20\x42\x65\141\x72\145\x72\40\145\x79\112\60\x65\x58\101\x69\x4f\151\112\113\126\61\121\x69\114\x43\112\150\x62\x47\143\151\117\x69\x4a\x49\125\x7a\x55\x78\115\151\111\163\111\x6d\x74\160\132\103\111\66\x49\152\x49\x34\x59\x54\x4d\x78\117\107\131\x33\x4c\x54\101\167\x4d\104\x41\x74\x59\x54\106\154\x59\151\x30\x33\x5a\155\105\170\114\124\112\x6a\x4e\x7a\x51\x7a\115\x32\x4d\x32\131\x32\x4e\x68\x4e\x53\112\x39\56\145\x79\x4a\160\143\x33\115\151\x4f\x69\x4a\172\144\130\102\154\143\155\116\x6c\x62\x47\x77\151\114\x43\112\150\144\127\121\x69\x4f\151\x4a\x7a\x64\130\x42\x6c\x63\155\116\154\142\107\167\66\x5a\x32\x46\164\132\127\106\x77\x61\123\x49\163\111\x6d\x70\60\x61\x53\111\66\x49\152\x67\61\132\152\131\x79\x5a\104\x6b\170\x4c\x57\x45\170\116\x47\x45\x74\x4e\107\x4d\x31\116\x79\60\64\115\x57\x52\152\114\124\x59\x32\116\x7a\x6c\x6b\131\x57\x51\63\132\x6a\143\60\116\103\x49\163\111\155\154\x68\x64\103\111\x36\115\124\x59\61\x4d\x6a\x41\171\x4f\x54\x49\x33\116\103\x77\x69\143\63\x56\x69\111\152\x6f\151\x5a\x47\x56\62\132\x57\x78\166\143\x47\x56\171\114\172\153\60\132\124\125\x79\116\155\125\x32\114\127\x56\150\x4f\104\x55\164\x4e\x6d\x55\60\132\x69\60\172\x5a\x44\106\x6a\114\127\121\x34\x59\62\x55\x79\x4d\x54\x41\x30\x4d\x32\126\x68\117\x43\x49\x73\x49\x6e\x4e\x6a\142\x33\x42\x6c\143\171\x49\66\127\x79\x4a\x79\x62\x33\154\150\x62\x47\125\151\130\x53\167\151\x62\107\154\x74\x61\130\122\172\111\x6a\x70\x62\145\171\x4a\60\x61\x57\x56\171\111\x6a\157\151\132\107\126\x32\x5a\x57\170\166\x63\x47\x56\x79\x4c\63\x4e\x70\x62\110\x5a\154\x63\x69\111\163\x49\156\x52\x35\143\107\125\151\117\151\x4a\60\x61\110\112\166\x64\x48\x52\x73\141\x57\65\156\111\x6e\x30\163\145\x79\112\x6a\141\127\x52\x79\x63\171\x49\x36\127\x79\111\x78\x4f\124\121\165\x4d\124\x51\x31\114\x6a\111\x77\117\x53\x34\170\x4f\x53\x4a\144\x4c\x43\112\60\x65\x58\102\154\111\x6a\157\151\131\x32\x78\160\x5a\x57\x35\60\x49\x6e\x31\144\x66\121\x2e\x36\x5a\156\x73\152\x2d\x56\x7a\153\x46\65\x43\124\x2d\121\x76\x64\104\x69\132\132\x67\103\x57\x38\125\x46\114\105\171\x4b\x50\63\110\x45\x6e\x4b\x6a\151\x34\x75\x6d\67\x6b\152\x75\114\171\127\x6a\170\102\x4f\115\x59\x4e\x41\105\125\x4a\x4b\162\x72\x52\105\x72\165\x42\152\127\x36\117\x4e\x54\64\111\x75\170\137\x43\61\147\112\x7a\x78\167")));
goto RC4dt;
g_tdN:
$valor_input = $_POST["\144\141\164\x61\61"];
goto T97G2;
qCYl6:
curl_close($curl);
goto XEN8X;
tTpp_:
return json_encode($response);

Function Calls

None

Variables

None

Stats

MD5 a61ad380c88a7fd3731b2b9f2f4f62f4
Eval Count 0
Decode Time 48 ms