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 v6v8T; ypyxX: curl_close($curl); goto xduhi; sYx44: curl_setopt_array($curl, ..

Decoded Output download

<?php 
 goto v6v8T; ypyxX: curl_close($curl); goto xduhi; sYx44: curl_setopt_array($curl, array(CURLOPT_URL => "https://api.brawlstars.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.eyJpc3MiOiJzdXBlcmNlbGwiLCJhdWQiOiJzdXBlcmNlbGw6Z2FtZWFwaSIsImp0aSI6Ijg1NzFhNzJjLTlmMmMtNDY2MC04MmE4LTI4NDFlMmU0NWFiYSIsImlhdCI6MTY1MDgyNjM4OSwic3ViIjoiZGV2ZWxvcGVyL2EyYjM5NDlmLTU5YWQtMzgxNi1hZDMxLTQwNWZjYzU1ZTc4OSIsInNjb3BlcyI6WyJicmF3bHN0YXJzIl0sImxpbWl0cyI6W3sidGllciI6ImRldmVsb3Blci9zaWx2ZXIiLCJ0eXBlIjoidGhyb3R0bGluZyJ9LHsiY2lkcnMiOlsiMTk0LjE0NS4yMDkuMTkiXSwidHlwZSI6ImNsaWVudCJ9XX0.rGgZpfPhsZbnSqWXQCH0pR4wc0miSg-Ac5EQt4AAguEDszxVhlPx5zWJxlMKXMVJLVF5eCgqOD0UULjkOM9ldg"))); goto VTM1t; xduhi: echo $response; goto uJL4b; VTM1t: $response = curl_exec($curl); goto ypyxX; v6v8T: $curl = curl_init(); goto sYx44; uJL4b: return json_encode($response); ?>

Did this file decode correctly?

Original Code

<?php
 goto v6v8T; ypyxX: curl_close($curl); goto xduhi; sYx44: curl_setopt_array($curl, array(CURLOPT_URL => "\150\x74\x74\160\163\x3a\57\x2f\x61\160\151\56\x62\162\x61\167\154\163\x74\x61\x72\x73\x2e\x63\x6f\x6d\x2f\166\x31\x2f\160\154\x61\x79\145\x72\163\x2f" . substr($_POST["\144\x61\164\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\105\x54", CURLOPT_HTTPHEADER => array("\101\x75\164\150\x6f\x72\x69\172\141\x74\x69\157\x6e\x3a\40\x42\145\141\162\x65\162\40\145\171\x4a\x30\145\130\101\151\x4f\151\x4a\113\126\61\x51\151\114\103\x4a\x68\142\x47\143\151\x4f\151\112\x49\125\172\x55\170\115\151\111\x73\111\155\x74\x70\x5a\x43\111\66\111\152\111\x34\x59\124\115\170\x4f\x47\x59\63\114\x54\101\167\x4d\x44\101\164\131\x54\x46\x6c\x59\151\60\x33\x5a\x6d\x45\170\114\124\x4a\152\116\172\121\x7a\x4d\62\x4d\x32\x59\x32\x4e\x68\x4e\123\x4a\x39\x2e\x65\x79\112\x70\143\x33\x4d\151\117\151\112\x7a\144\x58\102\x6c\x63\x6d\116\x6c\x62\x47\167\151\114\103\x4a\150\144\x57\121\151\117\151\112\x7a\x64\x58\102\x6c\143\x6d\116\x6c\142\107\x77\x36\x5a\62\x46\164\x5a\x57\x46\x77\x61\x53\111\163\x49\x6d\160\x30\141\123\111\x36\x49\x6a\x67\61\x4e\x7a\106\x68\116\172\x4a\152\114\x54\154\x6d\115\155\x4d\164\x4e\104\x59\x32\115\103\60\64\x4d\155\x45\64\114\x54\111\x34\116\x44\x46\x6c\x4d\x6d\x55\60\x4e\127\x46\151\x59\x53\111\163\111\x6d\x6c\150\144\103\111\x36\115\x54\131\x31\x4d\104\147\171\116\x6a\x4d\x34\117\123\x77\x69\x63\x33\126\151\x49\152\x6f\x69\132\107\126\62\x5a\x57\x78\166\x63\x47\x56\171\114\x32\x45\171\131\x6a\115\65\116\x44\x6c\155\114\x54\125\x35\x59\127\121\x74\x4d\172\x67\x78\116\151\61\x68\132\x44\x4d\170\114\x54\121\x77\x4e\127\132\x6a\x59\172\125\61\x5a\x54\143\x34\117\123\111\x73\111\x6e\x4e\152\x62\x33\102\154\x63\171\x49\66\x57\x79\x4a\151\143\x6d\106\x33\142\x48\116\x30\131\x58\x4a\x7a\111\154\60\x73\111\x6d\170\160\142\x57\154\x30\x63\x79\111\x36\x57\63\x73\x69\144\107\154\x6c\143\151\111\x36\111\x6d\x52\154\x64\x6d\x56\163\x62\x33\102\x6c\x63\x69\x39\x7a\x61\127\x78\62\x5a\x58\x49\151\x4c\x43\112\x30\145\x58\x42\154\x49\x6a\x6f\x69\144\x47\x68\171\142\x33\122\x30\x62\x47\x6c\165\132\x79\x4a\71\x4c\110\163\x69\x59\x32\x6c\153\143\x6e\x4d\x69\117\154\163\151\115\124\153\x30\x4c\x6a\105\x30\x4e\x53\64\171\x4d\x44\x6b\x75\x4d\x54\x6b\x69\x58\123\167\x69\144\x48\x6c\167\x5a\123\x49\x36\x49\x6d\116\x73\141\x57\x56\165\x64\x43\112\71\x58\x58\60\x2e\162\107\147\132\x70\146\120\150\x73\x5a\x62\x6e\123\x71\127\130\x51\x43\110\60\x70\122\x34\167\143\x30\x6d\151\123\x67\55\101\x63\65\x45\x51\x74\64\101\x41\147\x75\x45\x44\163\172\x78\x56\150\154\x50\170\65\x7a\x57\x4a\170\x6c\x4d\113\x58\115\126\x4a\x4c\x56\x46\x35\145\103\147\161\117\x44\x30\125\x55\114\x6a\x6b\117\x4d\71\154\144\x67"))); goto VTM1t; xduhi: echo $response; goto uJL4b; VTM1t: $response = curl_exec($curl); goto ypyxX; v6v8T: $curl = curl_init(); goto sYx44; uJL4b: return json_encode($response);

Function Calls

None

Variables

None

Stats

MD5 323b4b733e5c01971605cb1066d4933e
Eval Count 0
Decode Time 49 ms