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 #date_default_timezone_set('Asia/Jakarta'); system("clear"); $ = "\033[0"."m".PH..
Decoded Output download
<?php
#date_default_timezone_set('Asia/Jakarta');
system("clear");
$ = "[0"."m".PHP_EOL;
$ = " ";
$ = "
";
define('pth',"[89m");
define("abu","[90m");
define("red","[91m");
define("ijo","[92m");
define("kn","[93m");
define("br","[94m");
define("pink","[95m");
define("tr","[90m");
define("bred","[41m");
define("bijo","[42m");
define("bkn","[43m");
define("bbr","[44m");
define("bpink","[45m");
define("btr","[46m");
define("babu","[100m");
define("blk","[8m");
//warna
$="[34m";$="[36m";$="[92m";
$="[37m";$="[35m";$="[31m";
$="[33m";$="[8m";$="[0"."m";
function curl( $,$,$=array()){
$ = curl_init($);
curl_setopt($, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($, CURLOPT_HTTPHEADER, $ );
curl_setopt($, CURLOPT_SSL_VERIFYPEER, 1 );
curl_setopt($, CURLOPT_TIMEOUT,30 );
curl_setopt($, CURLOPT_VERBOSE, 0 );
#curl_setopt($ch, CURLOPT_USERAGENT, $ag );
if(strlen($) > 0 ){ // POST METHOD
curl_setopt($, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($, CURLOPT_POSTFIELDS, $ ); }
if(strlen($) > 0 ){ // settings proxy
curl_setopt($, CURLOPT_PROXY, $ ); }
$ = curl_exec($);
$ = curl_getinfo($);
curl_close($);
if($["http_code"]==302){
return $["redirect_url"]; } else { return $; } }
function clr($){system("clear");echo $.$;}
function cl($){system("rm -rf $");}
function strip(){
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
";}
function saveas($,$){
if(!file_exists($)){file_put_contents($,"[]"); }
$ = json_decode(file_get_contents($),1);
$ = array_merge($,$);
file_put_contents($,json_encode($,JSON_PRETTY_PRINT));}
function head($){
foreach($ as $=>$){$[]=$.": ".$;}
return $; }
function parse($){
parse_str($,$);return $;}
function build($){return http_build_query($);}
function verif_keys($,$){
$="
";$=" ";
//warna
$ = "[34m"; $ = "[36m"; $ = "[92m";
$= "[37m"; $= "[35m"; $ = "[31m";
$ = "[33m"; $= "[8m"; $ = "[0"."m";
while(true): clr($);
if( $ ){
$ = 0;
while(true): clr($); strip();
$ = str_replace($,"",file_get_contents("keys"));
$ = "http://tuyulgaple.tech/aktivator/";
$ = json_encode([ "request" => $,"keys" => $]);
$ = json_decode( curl($,$,array()),1 );
if( $["respon"] ) {
echo $."=> ".$["respon"].$;
$ = readline($."input key : ");
if( $ ){
$ = json_encode(["request" => $,"keys" => $]);
$ = json_decode(curl($,$,array()),1);
if( $["code"] != 10 ) {
file_put_contents("keys",$);
$ = str_replace($,"",file_get_contents("keys")); break; }}}
else{ readline($."your keys is uptodate ");break; }endwhile; }
//cek keys
$ = "http://tuyulgaple.tech/aktivator/";
$ = str_replace($,"",file_get_contents("keys"));
$ = json_encode(["request" => $,"keys" => $]);
$ = json_decode(curl($,$,array()),1);
if( $["code"] == 10 ){ $=1; }else{ break; }
endwhile;}
function str_rand($){
$="abcdefghijklmnopqrstuvwqyz1234567890ABCDEFGHIJKLMNOPQRSTUVWQYZ";
$=preg_split("//",$);
for($=0;$<$;$++){
$=array_rand($);$[]=$[$];}
return join($);}
function verif_user($,$){
$="https://tuyulgaple.tech/premium/";
$=json_encode([
"request" => $,
"tipe" => "verif",
"userid" => $
]);$=json_decode(curl($,$,array()),1);
if($["code"]==200){return $["code"];} }
function get_imei(){
$ = [
1 => "termux-telephony-deviceinfo",
2 => "getprop persist.radio.imei",
3 => "getprop persist.sys.vtouch.imei",
4 => "getprop ro.boot.ap_serial",
5 => "getprop ril.serialnumber" ];
foreach($ as $ => $){
switch($){
case 1:
$ = shell_exec($);
$ = json_decode($,1);
$ = $["device_id"];
if($){ return $; }
break;
case 2:
$ = shell_exec($);
$ = str_replace("
","",$);
if($ && strlen($)==15 ){ return $; }
break;
case 3:
$ = shell_exec($);
$ = str_replace("
","",$);
if($ && strlen($)==15 ){ return $; }
break;
case 4:
$ = shell_exec($);
$ = str_replace("
","",$);
if( $ ){ return $; }
break;
case 5:
$ = shell_exec($);
$ = str_replace("
","",$);
if( $ ){ return $; }
break;
} } }
function lisensi($){
$ = get_imei();
if(!$){
echo "
";
echo "termux api belum di install
";exit; }
$ = hash("sha1",$.$);
return $; }
function settings($,$,$){
$ = "[36m"; $ = "[92m"; $ = "[37m";
$ = "https://tuyulgaple.tech/adidoank/";
$ = json_encode(
array(
'sk' => $,
'vr' => $ ));
$ = array('http' =>
array(
'method' => 'POST',
'header' => 'Content-Type: application/json',
'content' => $
));
$ = stream_context_create($);
$ = json_decode(file_get_contents($, false, $),1);
if($){ $ = $."online"; }else{ $ = $."offline"; }
if(!$){
$ = native();
echo $.$.$; exit; }
$ = $["baner"];
$ = $."[-] server $ ";
if(!$["status"]){
$ = "skrip di non-aktifkan
";
echo $.$.$.$.$; exit; }
else{ return $.$.$.$; } }
function native() {
$ = "[36m"; $ = "[92m"; $ = "[37m";
$ = $."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$
___ _ _ _ _ _ _ _ ____ ____ ___ _ ____
| | | \_/ | | | | __ |__| |__] | |___
| |__| | |__| |___ |__] | | | |___ |___ $
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $
- server status $ offline $
- tidak dapat terhubung ke server
- silahkan coba beberapa saat lagi
- pastikan anda memiliki aksess internet $
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
";
return $; }
function timer($,$){
$ = time()+$;
while(true):
echo "
";
$= $-time();
if($<1){ break; }
echo $." ".date("H:i:s",$);
sleep(1);
endwhile; }
function rata($,$){
$ = strlen($);
if($ < $ ){
$ = $-$;
$ = $.str_repeat(" ",$); }
elseif( $ > $ ){ $ = substr($,0,$); }
return $; }
function signature($){
$ = "https://tuyulgaple.tech/api/new/";
$ = json_encode([
"request" => "vtube",
"tipe" => "sign",
"keys" => str_replace("
","",file_get_contents("keys")),
"data" => $ ]);
return curl($,$);
}
function passwordMD5($){
$ = "https://tuyulgaple.tech/api/new/";
$ = json_encode([
"request" => "vtube",
"tipe" => "password",
"keys" => str_replace("
","",file_get_contents("keys")),
"data" => $ ]);
return curl($,$); }
/////////////////////////////////////////////////////////////////
$="vtube";$="1.0"; $="config.json";
class vtube{
public function __construct(){
$this-> server = "https://app.v-tube.biz";
$this-> cfg = "config.json";
$this-> versi = "2.0.6";
$this-> config = [
"user-agent" => "Dart/2.8 (dart:io)",
"content-type" => "application/json; charset=utf-8" ];
$this-> api = [
"image" => "/api/getGraphAuthCode", //request
"todayvideo" => "/api/todayVideoCount", //request
"getcat" => "/api/getCategories", //request
"record" => "/api/getAuthRecord", //request
"level" => "/api/transferToExchangeLevel",//request
"week" => "/api/getMyWeekTotal", //requrst
"meter" => "/api/getUserMatter", //user
"userinfo" => "/api/getUserInfo", //user
"absen" => "/api/registration", //user
"watch" => "/api/completeAWatch", //user
];
$this-> akun = [ "userid" => "", "token" => "" ];
}
private function curl( $,$){
$ = curl_init($);
curl_setopt($, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($, CURLOPT_HTTPHEADER, $this->head() );
curl_setopt($, CURLOPT_SSL_VERIFYPEER, 1 );
curl_setopt($, CURLOPT_TIMEOUT,30 );
curl_setopt($, CURLOPT_VERBOSE, 0 );
if(strlen($) > 0 ){ // POST METHOD
curl_setopt($, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($, CURLOPT_POSTFIELDS, $ ); }
if(strlen($) > 0 ){ // settings proxy
curl_setopt($, CURLOPT_PROXY, $ ); }
$ = curl_exec($);
$ = curl_getinfo($);
curl_close($);
if($["http_code"]==302){
return $["redirect_url"]; } else { return $; }
}
private function head(){
foreach($this->config as $=>$){ $[]=$.": ".$; }
return $;
}
public function saveas($){
$ = $this->cfg;
if(!file_exists($)){file_put_contents($,"[]"); }
$ = json_decode(file_get_contents($),1);
$ = array_merge($,$);
file_put_contents($,json_encode($,JSON_PRETTY_PRINT));
}
private function stamp(){ return time().rand(100,999); }
public function nologin($){
$ = $this->server.$this->api[$];
$ = [
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function login($,$,$){
$ = $this->server."/api/login";
$ = [
"mobile" => $,
"password" => passwordMD5($),
"authCode" => $,
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function request($){
$ = $this->server.$this->api[$];
$ = [
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function users($){
$ = $this->server.$this->api[$];
$ = [
"targetId" => $this->akun["userid"],
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function systemtask(){
$ = $this->server."/api/getSystemTasks";
$ = [
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function mytask(){
$ = $this->server."/api/getMyTasks";
$ = [
"type" => "1",
"page" => "1",
"size" => "100",
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function starttask($){
$ = $this->server."/api/startTask";
$ = [
"taskId" => $,
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function buytask($,$){
$ = $this->server."/api/buyTask";
$ = [
"taskId" => $,
"pwd2nd" => passwordMD5($),
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function claim($){
$ = $this->server."/api/getTodayReward";
$ = [
"userId" => $this->akun["userid"],
"authCode" => $,
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function captcha(){
$ = $this->request("image");
if(!$["value"]){ readline($["message"]); return false; }
file_put_contents("img.svg",$["value"]);
shell_exec("convert img.svg img.png");
#$auto = autosolve();
if($["token"]){
shell_exec("rm -rf img.*");
return strtolower($["token"]);
}else{
shell_exec("termux-open img.png");
$ = readline("image text: ");
shell_exec("rm -rf img.*");
return strtolower($); }
}
public function cap(){
$ = $this->nologin("image");
if(!$["value"]){ readline($["message"]); return false; }
file_put_contents("img.svg",$["value"]);
shell_exec("convert img.svg img.png");
shell_exec("termux-open img.png");
$ = readline("image text: ");
#shell_exec("rm -rf img.*");
return strtolower($);
}
public function set_config($){
$this->akun["token"] = $["token"];
$this->akun["userid"] = $["userid"];
$this->akun["device"] = md5($this->stamp());
}
}
function input( $ ){
$ = [ "userid","token" ];
foreach( $ as $ ){ $[$] = readline($." : "); }
foreach($ as $ => $ ){ if(!$){ return false; } }
$ = json_decode(file_get_contents($),1);
$ = "user-".$["userid"];
$= $[$]["login"];
if( !$ ){ $ = array(); }
saveas($,[ $ => array_merge($,$) ]);
return $; }
function underref(){
// verivikasi all user
echo $."checking user, please wait ! ".$;
$ = json_decode(file_get_contents($),1);
$= 0;
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$ = verif_user($,$);
$ = verif_user($,$);
if( !$ ){
if( !$ ){
$ = true; $++;
echo $.$."invalid user$ $".$;
} else { /*echo "$nik verif by referer "; */} } }
if($){
exit($."verifikasi gagal,$ $$ akun berbeda jaringan !");}}
//////////////////////////////////////////////////////////////////
error_reporting(0);
$ = settings($,$,"");
verif_keys($,$);
$ = new vtube();
while(true): clr($);
$ = json_decode(file_get_contents($),1);
if(!$){ $ = 0; }else{ $ = count($); }
echo $."jumlah total akun vtube$ $ ".$;
echo $.$."[1]$ add account ".$;
echo $.$."[2]$ cek profil info".$;
echo $.$."[3]$ daily mission ".$;
echo $.$."[4]$ claim bonus mission".$;
echo $.$."[5]$ beli misi bintang ".$;
$ = readline("options: ");
if(!$->unlockd){
$ = lisensi($);
$ = verif_user($,$);
if(!$){
echo $."lisensi :$ ".$.$;
echo $."sorry failed verifikasi device !".$;
echo $."hubungi admin untuk mengaktifkan lisensi ".$; exit;
}else{ $->unlockd = true; } }
switch ($){
case 1:
echo $."[1]$ login phone password".$;
echo $."[2]$ login data capture".$.$;
$ = readline("login options: ");
if($ == 1 ){
$->set_config($);
$ = readline("phone : 62");
$ = readline("password: ");
$ = $->cap();
$ = $->login($,$,$);
if($["message"]){ echo "login invalid ".$["message"].$; }
elseif($["value"]){
$ = $["value"]["userId"];
$= $["value"]["sessionToken"];
$ = [ "user-$" => [
"userid" => $, "token" => $, "phone" => $ ]];
echo $."login success ".$["value"]["nickname"].$;
saveas($,$); }
}
elseif($ == 2 ){ input($); }
$->unlockd = false;
break;
case 2:
$ = json_decode(file_get_contents($),1);
foreach($ as $ => $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){
$ = $["phone"];
echo $["message"]." -> $".$; continue;
}
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$= $["value"]["mobile"];
$ = $["value"]["has2ndPwd"];
$["phone"] = $;
saveas($,[ $ => $ ]);
if($){ $ = $."OK"; }else{ $ = $."not-set"; }
echo $."welcome$ $$ level$ $".$;
strip();
echo $.$."upline :$ ".$.$;
echo $.$."phone :$ $".$;
echo $.$."password2nd : ".$.$;
$ = $->users("meter");
if($["message"]){ exit($["message"]); }
foreach( $["value"] as $ => $ ){
$ = rata($,14);
echo $.$.$.": ".$.$.$; }
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if($["status"]){
$ = $["task"]["title"];
$= $["clicks"];
$= $["taskCycle"];
echo $.$."running$ ".$."$ $/$".$; } } }
} }
strip();
break;
case 3:
strip();
$ = json_decode(file_get_contents($),1);
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$ = rata($,14);
$ = $."account$ $ ";
$ = $->users("absen");
if($["message"]){ echo $.$.$["message"].$; }
else{ echo $.$."daily check-in success".$; } }
strip();
while(true):
$ = 0; $ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){
$ = $["phone"];
echo $["message"]." -> $".$;
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); continue;
}
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$ = $."account $/$$ $$ level$ $ ".$;
$ = $->request("todayvideo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["count"];
$= $["value"]["isComplete"];
if( $ == 10 ){
if(!$){
echo $.$."- misi hari ini selesai,$ belum di claim !".$; }
else{
echo $.$."- misi hari ini selesai,$ sudah di claim !".$; }
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); }
else{
$ = $->users("watch");
if($["value"]){
$ = $+1;
echo $.$.$."watch ads$ ".$."/10$ success !".$;
if( $ == 10 ){ $++; }
$ = round(10/count($),3);
timer($."next ads timer",$*60); }
else{
$ = $["message"];
if(strpos($,"min")){
$ = (int) filter_var($, FILTER_SANITIZE_NUMBER_INT);
$ = round($/count($),3);
timer($."next ads timer",$*60); }
else{
echo $.$.$.$.$;
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); } }
} $++; }
strip();
if($ >= count($)){ break; }
sleep(1);
endwhile;
break;
case 4:
$ = json_decode(file_get_contents($),1);
$ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["level"];
echo $."account $/$$ $ level $".$;
$ = $->request("todayvideo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["count"];
$= $["value"]["isComplete"];
if($ < 10 ){ echo $.$."watch video$ $/10".$; }
elseif( $ ){ echo $.$."status sudah di claim".$; }
else{
$ = $->captcha();
if($){
$ = $->claim($);
if( !$ or $["message"] ){
echo $.$."system error$ ".$["message"].$; }
else{ echo $.$."success claim$ daily bonus".$; } } }
// my task
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if($["status"]){
$ = $["task"]["title"];
$= $["clicks"];
$= $["taskCycle"];
echo $.$."running$ ".$."$ $/$".$; } } }
} $++; }
break;
case 5:
$ = json_decode(file_get_contents($),1);
$ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["level"];
echo $."account $/$$ $$ level$ $".$;
$ = $->users("meter");
if($["message"]){ exit($["message"]); }
$ = $["value"]["viewPoint"];
echo $.$."viewPoint:$ ".$.$;
strip();
$ = readline("access account y/n: ");
if($=="y"){
$ = 1;
$ = $->systemtask();
if($["message"]){ exit($["message"]); }
foreach( $["value"] as $ ){
$ = $["taskLevel"];
$ = $["price"];
$ = ($["maxRun"] - $["nowCount"]);
$ = $.$.$." misi bintang$ $";
echo $.$.$." harga$ $$ VP$ ($)".$;
$++; } strip();
$ = readline("pilih produk: ");
if($){
$ = $-1;
$ = $["value"][$];
$ = $["id"];
$ = $["taskLevel"];
$ = readline("password2nd: ");
$ = $->buytask($,$);
if($["message"]){ echo $["message"].$; }
elseif($["value"]){
echo $."success$ beli misi bintang$ $".$;
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if(!$["startTime"]){
$ = $["id"];
$ = $->starttask($);
if($["value"]){
echo $."misi bintang$ $$ aktif".$; } } } } }
} } } $++; }
break;
}
readline("continue enter ");
endwhile;
?>
Did this file decode correctly?
Original Code
<?php
#date_default_timezone_set('Asia/Jakarta');
system("clear");
$ = "\033[0"."m".PHP_EOL;
$ = "\t";
$ = "\r";
define('pth',"\033[89m");
define("abu","\033[90m");
define("red","\033[91m");
define("ijo","\033[92m");
define("kn","\033[93m");
define("br","\033[94m");
define("pink","\033[95m");
define("tr","\033[90m");
define("bred","\033[41m");
define("bijo","\033[42m");
define("bkn","\033[43m");
define("bbr","\033[44m");
define("bpink","\033[45m");
define("btr","\033[46m");
define("babu","\033[100m");
define("blk","\033[8m");
//warna
$="\033[34m";$="\033[36m";$="\033[92m";
$="\033[37m";$="\033[35m";$="\033[31m";
$="\033[33m";$="\033[8m";$="\033[0"."m";
function curl( $,$,$=array()){
$ = curl_init($);
curl_setopt($, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($, CURLOPT_HTTPHEADER, $ );
curl_setopt($, CURLOPT_SSL_VERIFYPEER, 1 );
curl_setopt($, CURLOPT_TIMEOUT,30 );
curl_setopt($, CURLOPT_VERBOSE, 0 );
#curl_setopt($ch, CURLOPT_USERAGENT, $ag );
if(strlen($) > 0 ){ // POST METHOD
curl_setopt($, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($, CURLOPT_POSTFIELDS, $ ); }
if(strlen($) > 0 ){ // settings proxy
curl_setopt($, CURLOPT_PROXY, $ ); }
$ = curl_exec($);
$ = curl_getinfo($);
curl_close($);
if($["http_code"]==302){
return $["redirect_url"]; } else { return $; } }
function clr($){system("clear");echo $.$;}
function cl($){system("rm -rf $");}
function strip(){
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";}
function saveas($,$){
if(!file_exists($)){file_put_contents($,"[]"); }
$ = json_decode(file_get_contents($),1);
$ = array_merge($,$);
file_put_contents($,json_encode($,JSON_PRETTY_PRINT));}
function head($){
foreach($ as $=>$){$[]=$.": ".$;}
return $; }
function parse($){
parse_str($,$);return $;}
function build($){return http_build_query($);}
function verif_keys($,$){
$="\n";$="\t";
//warna
$ = "\033[34m"; $ = "\033[36m"; $ = "\033[92m";
$= "\033[37m"; $= "\033[35m"; $ = "\033[31m";
$ = "\033[33m"; $= "\033[8m"; $ = "\033[0"."m";
while(true): clr($);
if( $ ){
$ = 0;
while(true): clr($); strip();
$ = str_replace($,"",file_get_contents("keys"));
$ = "http://tuyulgaple.tech/aktivator/";
$ = json_encode([ "request" => $,"keys" => $]);
$ = json_decode( curl($,$,array()),1 );
if( $["respon"] ) {
echo $."=> ".$["respon"].$;
$ = readline($."input key : ");
if( $ ){
$ = json_encode(["request" => $,"keys" => $]);
$ = json_decode(curl($,$,array()),1);
if( $["code"] != 10 ) {
file_put_contents("keys",$);
$ = str_replace($,"",file_get_contents("keys")); break; }}}
else{ readline($."your keys is uptodate ");break; }endwhile; }
//cek keys
$ = "http://tuyulgaple.tech/aktivator/";
$ = str_replace($,"",file_get_contents("keys"));
$ = json_encode(["request" => $,"keys" => $]);
$ = json_decode(curl($,$,array()),1);
if( $["code"] == 10 ){ $=1; }else{ break; }
endwhile;}
function str_rand($){
$="abcdefghijklmnopqrstuvwqyz1234567890ABCDEFGHIJKLMNOPQRSTUVWQYZ";
$=preg_split("//",$);
for($=0;$<$;$++){
$=array_rand($);$[]=$[$];}
return join($);}
function verif_user($,$){
$="https://tuyulgaple.tech/premium/";
$=json_encode([
"request" => $,
"tipe" => "verif",
"userid" => $
]);$=json_decode(curl($,$,array()),1);
if($["code"]==200){return $["code"];} }
function get_imei(){
$ = [
1 => "termux-telephony-deviceinfo",
2 => "getprop persist.radio.imei",
3 => "getprop persist.sys.vtouch.imei",
4 => "getprop ro.boot.ap_serial",
5 => "getprop ril.serialnumber" ];
foreach($ as $ => $){
switch($){
case 1:
$ = shell_exec($);
$ = json_decode($,1);
$ = $["device_id"];
if($){ return $; }
break;
case 2:
$ = shell_exec($);
$ = str_replace("\n","",$);
if($ && strlen($)==15 ){ return $; }
break;
case 3:
$ = shell_exec($);
$ = str_replace("\n","",$);
if($ && strlen($)==15 ){ return $; }
break;
case 4:
$ = shell_exec($);
$ = str_replace("\n","",$);
if( $ ){ return $; }
break;
case 5:
$ = shell_exec($);
$ = str_replace("\n","",$);
if( $ ){ return $; }
break;
} } }
function lisensi($){
$ = get_imei();
if(!$){
echo "\r \r";
echo "termux api belum di install\n";exit; }
$ = hash("sha1",$.$);
return $; }
function settings($,$,$){
$ = "\033[36m"; $ = "\033[92m"; $ = "\033[37m";
$ = "https://tuyulgaple.tech/adidoank/";
$ = json_encode(
array(
'sk' => $,
'vr' => $ ));
$ = array('http' =>
array(
'method' => 'POST',
'header' => 'Content-Type: application/json',
'content' => $
));
$ = stream_context_create($);
$ = json_decode(file_get_contents($, false, $),1);
if($){ $ = $."online"; }else{ $ = $."offline"; }
if(!$){
$ = native();
echo $.$.$; exit; }
$ = $["baner"];
$ = $."[-] server $ ";
if(!$["status"]){
$ = "skrip di non-aktifkan\n";
echo $.$.$.$.$; exit; }
else{ return $.$.$.$; } }
function native() {
$ = "\033[36m"; $ = "\033[92m"; $ = "\033[37m";
$ = $."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$
___ _ _ _ _ _ _ _ ____ ____ ___ _ ____
| | | \_/ | | | | __ |__| |__] | |___
| |__| | |__| |___ |__] | | | |___ |___ $
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $
- server status $ offline $
- tidak dapat terhubung ke server
- silahkan coba beberapa saat lagi
- pastikan anda memiliki aksess internet $
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
return $; }
function timer($,$){
$ = time()+$;
while(true):
echo "\r \r";
$= $-time();
if($<1){ break; }
echo $." ".date("H:i:s",$);
sleep(1);
endwhile; }
function rata($,$){
$ = strlen($);
if($ < $ ){
$ = $-$;
$ = $.str_repeat(" ",$); }
elseif( $ > $ ){ $ = substr($,0,$); }
return $; }
function signature($){
$ = "https://tuyulgaple.tech/api/new/";
$ = json_encode([
"request" => "vtube",
"tipe" => "sign",
"keys" => str_replace("\n","",file_get_contents("keys")),
"data" => $ ]);
return curl($,$);
}
function passwordMD5($){
$ = "https://tuyulgaple.tech/api/new/";
$ = json_encode([
"request" => "vtube",
"tipe" => "password",
"keys" => str_replace("\n","",file_get_contents("keys")),
"data" => $ ]);
return curl($,$); }
/////////////////////////////////////////////////////////////////
$="vtube";$="1.0"; $="config.json";
class vtube{
public function __construct(){
$this-> server = "https://app.v-tube.biz";
$this-> cfg = "config.json";
$this-> versi = "2.0.6";
$this-> config = [
"user-agent" => "Dart/2.8 (dart:io)",
"content-type" => "application/json; charset=utf-8" ];
$this-> api = [
"image" => "/api/getGraphAuthCode", //request
"todayvideo" => "/api/todayVideoCount", //request
"getcat" => "/api/getCategories", //request
"record" => "/api/getAuthRecord", //request
"level" => "/api/transferToExchangeLevel",//request
"week" => "/api/getMyWeekTotal", //requrst
"meter" => "/api/getUserMatter", //user
"userinfo" => "/api/getUserInfo", //user
"absen" => "/api/registration", //user
"watch" => "/api/completeAWatch", //user
];
$this-> akun = [ "userid" => "", "token" => "" ];
}
private function curl( $,$){
$ = curl_init($);
curl_setopt($, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($, CURLOPT_HTTPHEADER, $this->head() );
curl_setopt($, CURLOPT_SSL_VERIFYPEER, 1 );
curl_setopt($, CURLOPT_TIMEOUT,30 );
curl_setopt($, CURLOPT_VERBOSE, 0 );
if(strlen($) > 0 ){ // POST METHOD
curl_setopt($, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($, CURLOPT_POSTFIELDS, $ ); }
if(strlen($) > 0 ){ // settings proxy
curl_setopt($, CURLOPT_PROXY, $ ); }
$ = curl_exec($);
$ = curl_getinfo($);
curl_close($);
if($["http_code"]==302){
return $["redirect_url"]; } else { return $; }
}
private function head(){
foreach($this->config as $=>$){ $[]=$.": ".$; }
return $;
}
public function saveas($){
$ = $this->cfg;
if(!file_exists($)){file_put_contents($,"[]"); }
$ = json_decode(file_get_contents($),1);
$ = array_merge($,$);
file_put_contents($,json_encode($,JSON_PRETTY_PRINT));
}
private function stamp(){ return time().rand(100,999); }
public function nologin($){
$ = $this->server.$this->api[$];
$ = [
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function login($,$,$){
$ = $this->server."/api/login";
$ = [
"mobile" => $,
"password" => passwordMD5($),
"authCode" => $,
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function request($){
$ = $this->server.$this->api[$];
$ = [
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function users($){
$ = $this->server.$this->api[$];
$ = [
"targetId" => $this->akun["userid"],
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function systemtask(){
$ = $this->server."/api/getSystemTasks";
$ = [
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function mytask(){
$ = $this->server."/api/getMyTasks";
$ = [
"type" => "1",
"page" => "1",
"size" => "100",
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function starttask($){
$ = $this->server."/api/startTask";
$ = [
"taskId" => $,
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function buytask($,$){
$ = $this->server."/api/buyTask";
$ = [
"taskId" => $,
"pwd2nd" => passwordMD5($),
"userId" => $this->akun["userid"],
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function claim($){
$ = $this->server."/api/getTodayReward";
$ = [
"userId" => $this->akun["userid"],
"authCode" => $,
"sessionToken" => $this->akun["token"],
"virtualDeviceId" => $this->akun["device"],
"timestamp" => $this->stamp(),
"version" => $this->versi ];
$["sign"] = signature($);
$ = json_encode($);
return json_decode($this->curl($,$),1);
}
public function captcha(){
$ = $this->request("image");
if(!$["value"]){ readline($["message"]); return false; }
file_put_contents("img.svg",$["value"]);
shell_exec("convert img.svg img.png");
#$auto = autosolve();
if($["token"]){
shell_exec("rm -rf img.*");
return strtolower($["token"]);
}else{
shell_exec("termux-open img.png");
$ = readline("image text: ");
shell_exec("rm -rf img.*");
return strtolower($); }
}
public function cap(){
$ = $this->nologin("image");
if(!$["value"]){ readline($["message"]); return false; }
file_put_contents("img.svg",$["value"]);
shell_exec("convert img.svg img.png");
shell_exec("termux-open img.png");
$ = readline("image text: ");
#shell_exec("rm -rf img.*");
return strtolower($);
}
public function set_config($){
$this->akun["token"] = $["token"];
$this->akun["userid"] = $["userid"];
$this->akun["device"] = md5($this->stamp());
}
}
function input( $ ){
$ = [ "userid","token" ];
foreach( $ as $ ){ $[$] = readline($." : "); }
foreach($ as $ => $ ){ if(!$){ return false; } }
$ = json_decode(file_get_contents($),1);
$ = "user-".$["userid"];
$= $[$]["login"];
if( !$ ){ $ = array(); }
saveas($,[ $ => array_merge($,$) ]);
return $; }
function underref(){
// verivikasi all user
echo $."checking user, please wait ! ".$;
$ = json_decode(file_get_contents($),1);
$= 0;
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$ = verif_user($,$);
$ = verif_user($,$);
if( !$ ){
if( !$ ){
$ = true; $++;
echo $.$."invalid user$ $".$;
} else { /*echo "$nik verif by referer "; */} } }
if($){
exit($."verifikasi gagal,$ $$ akun berbeda jaringan !");}}
//////////////////////////////////////////////////////////////////
error_reporting(0);
$ = settings($,$,"");
verif_keys($,$);
$ = new vtube();
while(true): clr($);
$ = json_decode(file_get_contents($),1);
if(!$){ $ = 0; }else{ $ = count($); }
echo $."jumlah total akun vtube$ $ ".$;
echo $.$."[1]$ add account ".$;
echo $.$."[2]$ cek profil info".$;
echo $.$."[3]$ daily mission ".$;
echo $.$."[4]$ claim bonus mission".$;
echo $.$."[5]$ beli misi bintang ".$;
$ = readline("options: ");
if(!$->unlockd){
$ = lisensi($);
$ = verif_user($,$);
if(!$){
echo $."lisensi :$ ".$.$;
echo $."sorry failed verifikasi device !".$;
echo $."hubungi admin untuk mengaktifkan lisensi ".$; exit;
}else{ $->unlockd = true; } }
switch ($){
case 1:
echo $."[1]$ login phone password".$;
echo $."[2]$ login data capture".$.$;
$ = readline("login options: ");
if($ == 1 ){
$->set_config($);
$ = readline("phone : 62");
$ = readline("password: ");
$ = $->cap();
$ = $->login($,$,$);
if($["message"]){ echo "login invalid ".$["message"].$; }
elseif($["value"]){
$ = $["value"]["userId"];
$= $["value"]["sessionToken"];
$ = [ "user-$" => [
"userid" => $, "token" => $, "phone" => $ ]];
echo $."login success ".$["value"]["nickname"].$;
saveas($,$); }
}
elseif($ == 2 ){ input($); }
$->unlockd = false;
break;
case 2:
$ = json_decode(file_get_contents($),1);
foreach($ as $ => $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){
$ = $["phone"];
echo $["message"]." -> $".$; continue;
}
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$= $["value"]["mobile"];
$ = $["value"]["has2ndPwd"];
$["phone"] = $;
saveas($,[ $ => $ ]);
if($){ $ = $."OK"; }else{ $ = $."not-set"; }
echo $."welcome$ $$ level$ $".$;
strip();
echo $.$."upline :$ ".$.$;
echo $.$."phone :$ $".$;
echo $.$."password2nd : ".$.$;
$ = $->users("meter");
if($["message"]){ exit($["message"]); }
foreach( $["value"] as $ => $ ){
$ = rata($,14);
echo $.$.$.": ".$.$.$; }
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if($["status"]){
$ = $["task"]["title"];
$= $["clicks"];
$= $["taskCycle"];
echo $.$."running$ ".$."$ $/$".$; } } }
} }
strip();
break;
case 3:
strip();
$ = json_decode(file_get_contents($),1);
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$ = rata($,14);
$ = $."account$ $ ";
$ = $->users("absen");
if($["message"]){ echo $.$.$["message"].$; }
else{ echo $.$."daily check-in success".$; } }
strip();
while(true):
$ = 0; $ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
$ = $->users("userinfo");
if($["message"]){
$ = $["phone"];
echo $["message"]." -> $".$;
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); continue;
}
$ = $["value"]["nickname"];
$= $["value"]["parentId"];
$= $["value"]["level"];
$ = $."account $/$$ $$ level$ $ ".$;
$ = $->request("todayvideo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["count"];
$= $["value"]["isComplete"];
if( $ == 10 ){
if(!$){
echo $.$."- misi hari ini selesai,$ belum di claim !".$; }
else{
echo $.$."- misi hari ini selesai,$ sudah di claim !".$; }
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); }
else{
$ = $->users("watch");
if($["value"]){
$ = $+1;
echo $.$.$."watch ads$ ".$."/10$ success !".$;
if( $ == 10 ){ $++; }
$ = round(10/count($),3);
timer($."next ads timer",$*60); }
else{
$ = $["message"];
if(strpos($,"min")){
$ = (int) filter_var($, FILTER_SANITIZE_NUMBER_INT);
$ = round($/count($),3);
timer($."next ads timer",$*60); }
else{
echo $.$.$.$.$;
$++;
$ = round(10/count($),3);
timer($."next ads timer",$*60); } }
} $++; }
strip();
if($ >= count($)){ break; }
sleep(1);
endwhile;
break;
case 4:
$ = json_decode(file_get_contents($),1);
$ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["level"];
echo $."account $/$$ $ level $".$;
$ = $->request("todayvideo");
if($["message"]){ exit($["message"]); }
$ = $["value"]["count"];
$= $["value"]["isComplete"];
if($ < 10 ){ echo $.$."watch video$ $/10".$; }
elseif( $ ){ echo $.$."status sudah di claim".$; }
else{
$ = $->captcha();
if($){
$ = $->claim($);
if( !$ or $["message"] ){
echo $.$."system error$ ".$["message"].$; }
else{ echo $.$."success claim$ daily bonus".$; } } }
// my task
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if($["status"]){
$ = $["task"]["title"];
$= $["clicks"];
$= $["taskCycle"];
echo $.$."running$ ".$."$ $/$".$; } } }
} $++; }
break;
case 5:
$ = json_decode(file_get_contents($),1);
$ = 1; $ = count($);
foreach($ as $ ){
$->set_config($);
strip();
$ = $->users("userinfo");
if($["message"]){ echo $["message"].$; continue; }
$ = $["value"]["userId"];
$ = $["value"]["nickname"];
$= $["value"]["level"];
echo $."account $/$$ $$ level$ $".$;
$ = $->users("meter");
if($["message"]){ exit($["message"]); }
$ = $["value"]["viewPoint"];
echo $.$."viewPoint:$ ".$.$;
strip();
$ = readline("access account y/n: ");
if($=="y"){
$ = 1;
$ = $->systemtask();
if($["message"]){ exit($["message"]); }
foreach( $["value"] as $ ){
$ = $["taskLevel"];
$ = $["price"];
$ = ($["maxRun"] - $["nowCount"]);
$ = $.$.$." misi bintang$ $";
echo $.$.$." harga$ $$ VP$ ($)".$;
$++; } strip();
$ = readline("pilih produk: ");
if($){
$ = $-1;
$ = $["value"][$];
$ = $["id"];
$ = $["taskLevel"];
$ = readline("password2nd: ");
$ = $->buytask($,$);
if($["message"]){ echo $["message"].$; }
elseif($["value"]){
echo $."success$ beli misi bintang$ $".$;
$ = $->mytask();
if($["message"]){ echo $.$["message"].$; }
else{
if($["value"]){
foreach($["value"] as $ => $ ){
if(!$["startTime"]){
$ = $["id"];
$ = $->starttask($);
if($["value"]){
echo $."misi bintang$ $$ aktif".$; } } } } }
} } } $++; }
break;
}
readline("continue enter ");
endwhile;
Function Calls
None |
Stats
MD5 | 7e674a81f9dda3ad81e8c8ff967b02a0 |
Eval Count | 0 |
Decode Time | 123 ms |