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 RvG8P; RvG8P: include "\141\160\151\x6b\x65\x79\56\160\150\x70"; goto On4un; ..

Decoded Output download

<?php 
 goto RvG8P; RvG8P: include "apikey.php"; goto On4un; bWW5f: $checkfile = file_get_contents("dump/viu/{$id}.txt"); goto RT1MT; On4un: $id = $_GET["id"]; goto bWW5f; RT1MT: $getthelink12 = explode("refresh: at ", $checkfile); goto Ooy2J; Ooy2J: if ($getthelink12[1] < time()) { $url = "http://apis.mbed.cc/apiviu.php?apikey={$apikey}&id={$id}"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "{$url}"); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); $file = fopen("dump/viu/{$id}.txt", "w+"); $simpan = fwrite($file, "{$output}"); fclose($file); $getthelink = explode("link = '", $output); $getlink = explode("' token", $getthelink[1]); $m3u8link = $getlink[0]; header("Location: {$m3u8link}"); } else { $getthelink = explode("link = '", $checkfile); $getlink = explode("' token", $getthelink[1]); $m3u8link = $getlink[0]; header("Location: {$m3u8link}"); } goto kcFrp; kcFrp: ?>

Did this file decode correctly?

Original Code

<?php
 goto RvG8P; RvG8P: include "\141\160\151\x6b\x65\x79\56\160\150\x70"; goto On4un; bWW5f: $checkfile = file_get_contents("\144\x75\155\160\x2f\x76\151\x75\x2f{$id}\x2e\x74\x78\164"); goto RT1MT; On4un: $id = $_GET["\151\x64"]; goto bWW5f; RT1MT: $getthelink12 = explode("\162\x65\146\162\x65\163\150\x3a\40\x61\164\40", $checkfile); goto Ooy2J; Ooy2J: if ($getthelink12[1] < time()) { $url = "\x68\x74\164\160\x3a\x2f\57\x61\x70\151\x73\x2e\155\x62\x65\x64\x2e\x63\x63\57\x61\160\151\166\x69\x75\56\160\150\160\77\141\x70\x69\153\x65\171\75{$apikey}\x26\151\x64\75{$id}"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "{$url}"); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); $file = fopen("\144\x75\155\x70\57\166\x69\x75\x2f{$id}\x2e\x74\x78\x74", "\167\53"); $simpan = fwrite($file, "{$output}"); fclose($file); $getthelink = explode("\154\151\x6e\153\x20\x3d\40\x27", $output); $getlink = explode("\x27\x20\164\157\x6b\145\x6e", $getthelink[1]); $m3u8link = $getlink[0]; header("\114\157\143\x61\x74\151\x6f\x6e\72\x20{$m3u8link}"); } else { $getthelink = explode("\154\151\156\153\40\75\40\x27", $checkfile); $getlink = explode("\x27\x20\164\x6f\153\145\x6e", $getthelink[1]); $m3u8link = $getlink[0]; header("\x4c\157\x63\141\x74\151\x6f\156\72\40{$m3u8link}"); } goto kcFrp; kcFrp: ?>

Function Calls

None

Variables

None

Stats

MD5 91932399fbec402a6028f236b8a24b0f
Eval Count 0
Decode Time 49 ms