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 eval(gzinflate(base64_decode(strrev(str_rot13('==jiaCdzbpnZc/4sGwX/51jyLg0tEO0Fynpt..
Decoded Output download
///-- Get m3u8 from cUrl request --///
$ch_id = $_GET['ch_id'];
if(!empty($ch_id)){
//$credit = $_GET['creator'];
$curl = curl_init();
$api_url = "https://lovesomecommunity.com/crichdsus.php?player=mobile&live=$ch_id";
curl_setopt_array($curl, array(
CURLOPT_URL => $api_url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
"Referer: https://stream.crichd.vip/"
),
));
$response = curl_exec($curl);
curl_close($curl);
//echo $response;
$ipointer = 'return(["h","t","t","p",';
$ibw_cut = strstr($response, $ipointer);
$ireplace = str_replace('return([','',$ibw_cut);
$ifw_string = '].join("")';
$ifw_cut = substr($ireplace, 0, strpos($ireplace, $ifw_string));
//echo $ifw_cut;
$iireplace = str_replace(' ','',str_replace('////','//',str_replace(',','',str_replace('"','',str_replace('\/','/',$ifw_cut)))));
echo '{"id": "'.$ch_id.'", "m3u8": "'.$iireplace.'", "referer": "https://lovesomecommunity.com/"}';
}else{
echo "<h1>Channel id is not given, put a valid ch_id value.</h1>";
}
Did this file decode correctly?
Original Code
<?php
eval(gzinflate(base64_decode(strrev(str_rot13('==jiaCdzbpnZc/4sGwX/51jyLg0tEO0FynptuazBTLEHthuQ76Pex7s/kuqhlmUTL/8qh+pLW8s+BKlC0hU1aHKeSiOzRVeTf9x6uO2VF3WTsdNFjVcYfiaC92yLp0iA9FMAxo/OrcrlCCibtqURuckKmUbboygskG3rAnsnbVy4qOBFzjQFl1Cko3WU4RYv2Xv/KT3xQ2qSRLECL94awLPTWqL0neF7YBR0c2PcbkRVY3Etz4L0qaEFQ5J9EAJ5N7tRLAn7MG4fJgybh3YgdWOkHaI0WWRY0gVfJd6k4tgiAZFIqCJkSYCf/u4+pxE2bRqc66OZW24OmbbS6d2KGgJQYgEyZTE9nHVpYQDNSShaiZ98Kp95EXUNj7rdVpbpikZJ/iMC17KGSCYxU8Lqz5jMqla3r1cayy9SComK9WcZZzD2OF/SqJaq7YF2NUNOsOVyWYQq6FgbMYSgLVIUvNGczUUeTgA4EiHyfJiOyKGJ1ezdAyri1GyJK9L6WuoPgoolLMeEAX3AprxZg2TJ7VpvFMgqbtgGVBy7TVTy1YyMubhIJFwV3U2rTK5WBYtP+uQzloP7ePz3XTeNX0a3MR2ji9fCky0tjpCR6dXGDxamGMdS0f3iATthJt6JgfPP/U6+PSgmHx+8pzVF4ws+F4sTkTRAvY7w/FCHqyQWFigO1Xm4TJO1amI7grLgKJxQnvrML32LNhAZPO3I73YQjf9oAAIs')))));
?>
Function Calls
strrev | 1 |
gzinflate | 1 |
str_rot13 | 1 |
base64_decode | 1 |
Stats
MD5 | 352af7d26dda4bdb6e9ed92968d1c848 |
Eval Count | 1 |
Decode Time | 37 ms |