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 function fetch_value($str,$find_start,$find_end) { $start = @strpos($str,$fi..

Decoded Output download

<?php 
 
 
function fetch_value($str,$find_start,$find_end) { 
  $start = @strpos($str,$find_start); 
  if ($start === false) { 
    return ""; 
  } 
  $length = strlen($find_start); 
  $end = strpos(substr($str,$start +$length),$find_end); 
  return trim(substr($str,$start +$length,$end)); 
} 
 
 
while (true) 
{ 
 
include ("cfg.php"); 
 
$banner = " 
       _         _            _           _ 
   _| |_ _   _| |   _  | |   _ | |_ 
\ \ / / | | | | '_ \ / _ \ | '_ \ / _ \| | 
 \ V /| |_| |_| | |_) |  / | |_) | (_) | |_ 
  \_/  \__|\__,_|_.__/ \___| |_.__/ \___/ \__|  
   
 creator: bani sbg 
============================================== 
"; 
echo $banner; 
echo "
"; 
 
//dashboard 1 
$url1 =("http://app.vtube.co/api/getUserInfo"); 
 
$ua = array ( 
    'user-agent:'.$useragent, 
    'content-type:'. $contenttype, 
    'Content-Length:'.strlen($data), 
    'host:'.$host); 
 
//$data = $data; 
 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url1); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt"); 
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt"); 
$result = curl_exec($ch); 
$json = json_decode($result); 
$respon = $json->value->mobile; 
$json = json_decode($result); 
$responauth = $json->value->realName; 
echo "# no Hp : $respon.

"; 
echo "# Nama : $responauth.

"; 
sleep(1); 
 
//dashboard 2 
$url2 =("http://app.vtube.co/api/getUserMatter"); 
 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url2); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
$result = curl_exec($ch); 
$json = json_decode($result); 
$respon = $json->value->viewPoint; 
echo  "# Point: $respon.

"; 
sleep(1); 
 
//watch  
$url3 =("http://app.vtube.co/api/canWatchNow"); 
 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url3); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
$result = curl_exec($ch); 
echo "# menonton iklan .....
"; 
sleep(10); 
 
//complete watch  
$url4 =("http://app.vtube.co/api/completeAWatch"); 
 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url4); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
$result = curl_exec($ch); 
echo $result; 
echo "
"; 
 
//video count 
$url5 =("http://app.vtube.co/api/todayVideoCount"); 
 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url5); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
$result = curl_exec($ch); 
$json = json_decode($result); 
$respon = $json->value; 
echo $result; 
echo "
"; 
echo "# tunggu 10 menit ....
"; 
 
timer(10); 
} 
 
/* 
function jangan masukin dalam eksekusi 
ex: 
function timer() 
function curl() 
function user() 
pokoknya semua function jangan masukin dalam eksekusi nanti error 
*/ 
 
 
function timer($m) 
{ 
 while(1) 
 { 
  $m--; 
  $d=60; 
  while(1) 
  { 
   $d--; 
   echo"
   Wait [ ".$m.":".$d." ]                
"; 
   sleep(1); 
   if($d==0) 
   { 
    $m--; 
    $d=60; 
    if($m==-0) 
    { 
     break; 
    } 
   } 
  }break; 
 } 
} 
 
?>

Did this file decode correctly?

Original Code

<?php


function fetch_value($str,$find_start,$find_end) {
  $start = @strpos($str,$find_start);
  if ($start === false) {
    return "";
  }
  $length = strlen($find_start);
  $end = strpos(substr($str,$start +$length),$find_end);
  return trim(substr($str,$start +$length,$end));
}


while (true)
{

include ("cfg.php");

$banner = "
       _         _            _           _
   _| |_ _   _| |   _  | |   _ | |_
\ \ / / | | | | '_ \ / _ \ | '_ \ / _ \| |
 \ V /| |_| |_| | |_) |  / | |_) | (_) | |_
  \_/  \__|\__,_|_.__/ \___| |_.__/ \___/ \__| 
  
 creator: bani sbg
==============================================
";
echo $banner;
echo "\n";

//dashboard 1
$url1 =("http://app.vtube.co/api/getUserInfo");

$ua = array (
    'user-agent:'.$useragent,
    'content-type:'. $contenttype,
    'Content-Length:'.strlen($data),
    'host:'.$host);

//$data = $data;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
$result = curl_exec($ch);
$json = json_decode($result);
$respon = $json->value->mobile;
$json = json_decode($result);
$responauth = $json->value->realName;
echo "# no Hp : $respon.\n\n";
echo "# Nama : $responauth.\n\n";
sleep(1);

//dashboard 2
$url2 =("http://app.vtube.co/api/getUserMatter");

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url2);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch);
$json = json_decode($result);
$respon = $json->value->viewPoint;
echo  "# Point: $respon.\n\n";
sleep(1);

//watch 
$url3 =("http://app.vtube.co/api/canWatchNow");

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url3);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch);
echo "# menonton iklan .....\n";
sleep(10);

//complete watch 
$url4 =("http://app.vtube.co/api/completeAWatch");

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url4);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch);
echo $result;
echo "\n";

//video count
$url5 =("http://app.vtube.co/api/todayVideoCount");

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url5);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $ua);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch);
$json = json_decode($result);
$respon = $json->value;
echo $result;
echo "\n";
echo "# tunggu 10 menit ....\n";

timer(10);
}

/*
function jangan masukin dalam eksekusi
ex:
function timer()
function curl()
function user()
pokoknya semua function jangan masukin dalam eksekusi nanti error
*/


function timer($m)
{
 while(1)
 {
  $m--;
  $d=60;
  while(1)
  {
   $d--;
   echo"\r   Wait [ ".$m.":".$d." ]                \r";
   sleep(1);
   if($d==0)
   {
    $m--;
    $d=60;
    if($m==-0)
    {
     break;
    }
   }
  }break;
 }
}

?>

Function Calls

None

Variables

None

Stats

MD5 4dcd048c6de8b1a58f8ee7aabc7fbdfe
Eval Count 0
Decode Time 113 ms