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 error_reporting(0); session_start(); //config { @system("clear"); ..
Decoded Output download
<?php
error_reporting(0);
session_start();
//config
{
@system("clear");
$end="[0m";
$black="[0;30m";
$blackb="[1;30m";
$white="[0;37m";
$whiteb="[1;37m";
$red="[1;31m";
$redb="[1;31m";
$green="[0;32m";
$greenb="[1;32m";
$yellow="[0;33m";
$yellowb="[1;33m";
$blue="[0;34m";
$blueb="[1;34m";
$purple="[0;35m";
$purpleb="[1;35m";
$lightblue="[0;36m";
$lightblueb="[1;36m";
sleep(5);
echo $purpleb, "
_ _
/ \ | | ___ _ __ ___
/ _ \ | |/ _ \| '_ \ / _ \
/ ___ \| | (_) | | | | __/
/_/ \_\_|\___/|_| |_|\___|
";
//sever
$lock=file_get_contents('https://run.mocky.io/v3/560c1648-f0eb-44ee-812a-901546c5122e');
$keylock=md5(htmlspecialchars($lock));
echo $res;
if (md5('Bie') != $keylock) {
echo $red."Server Ngng Hot ng !!!
".$red;
exit($red." b b . tool vn ha nn yn tm m dng !!!
".$red);
@system('clear');
}
else{
echo$yellow
;
echo$red."
==========================>.Warning :
[1;32m[[1;31m[1;32m] [1;36mNh k nh: [1;37mVic mt xu l do cc bn okk
[1;32m[[1;31m[1;32m] [1;36mZalo: [1;37m0399315354.
[1;32m[[1;31m[1;32m] [1;36m: nh [1;37mGi th chi no
[1;32m[[1;31m[1;32m] [1;92mTool: [1;97mTrao i Sub.
[1;32m[[1;31m[1;32m] [1;92mVersion:[1;97mV2
[1;32m[[1;31m[1;32m] [1;92mNhim V: [1;97mFollow V Ramdom.";
echo"
";
echo"
";
echo $green." Server Hot ng$res
";
echo"
";
echo "ang tin hnh chy tool
";
echo $redb, "Hy nhp key kch hot: ";
$pw=trim(fgets(STDIN));
if ($pw == "bie"){
sleep(1);
echo $greenb, "Key ng
";
} else {
exit("Key Sai!!!!
");
}
echo"
";
echo"[1;96m'Enter Chuyn Tip ";
$_SESSION[" "]=trim(fgets(STDIN));
echo "
";
}
sleep(1);
$listnv = [];
echo $yellowb."Ti Khon: $yellowb";
$_SESSION["username"]=trim(fgets(STDIN));
echo $yellowb."Mt Khu: $yellowb";
$_SESSION['password']=trim(fgets(STDIN));
echo $purpleb."Cookie FB: $purpleb";
$cookie=trim(fgets(STDIN));
echo"$res";
$ch=curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/login.php');
curl_setopt($ch, CURLOPT_COOKIEJAR, "TDS.txt");
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Linux; Android 10; SM-J600G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36');
$login =array('username' => $_SESSION['username'],'password' => $_SESSION['password'],'submit' => ' ng Nhp');
curl_setopt($ch, CURLOPT_POST,count($login));
curl_setopt($ch, CURLOPT_POSTFIELDS,$login);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$source=curl_exec($ch);
curl_close($ch);
if ($source != 1 && $source != ''){
@system('clear');
echo $purpleb."ng nhp thnh cng!
";
$user = $_SESSION["username"];
echo $purpleb."[CHN NHIM V]
";
echo $lightblueb."[1] Nhim v like : $lightblueb";
if (trim(fgets(STDIN)) == '1'){
array_push($listnv,'like');
echo $blueb."Delay Like (t nht 5 giy): $blueb";
$_SESSION['delaylike']=trim(fgets(STDIN));
if($_SESSION['delaylike'] < 2)
{exit($red." ti thiu 2 giy
");}
}
echo $lightblueb."[2] Nhim v sub : $lightblueb";
if (trim(fgets(STDIN)) == '2'){
array_push($listnv,'sub');
echo $blueb."Delay Sub : $blueb";
$_SESSION['delaysub']=trim(fgets(STDIN));
if($_SESSION['delaysub'] < 0)
{exit($red."
");}
}
echo $lightblueb."[3] Nhim v cmt : $lightblueb";
if (trim(fgets(STDIN)) == '3'){
array_push($listnv,'cmt');
echo $blue."Delay CMT : $blue";
$_SESSION['delaycmt']=trim(fgets(STDIN));
if($_SESSION['delaycmt'] < 10)
{exit($red." t nht 10 giy
");}
}
echo $lightblueb."[4] Nhim v page : $lightblueb";
if (trim(fgets(STDIN)) == '4'){
array_push($listnv,'page');
echo $blueb."Delay Page : $blueb";
$_SESSION['delaypage']=trim(fgets(STDIN));
if($_SESSION['delaypage'] < 0)
{exit($red."
");}
}
echo $lightblueb."[5] Nhim v cm xc : $lightblueb";
if (trim(fgets(STDIN)) == '5'){
array_push($listnv,'cx');
echo $blueb."Delay cm xc : $blueb";
$_SESSION['delaycx']=trim(fgets(STDIN));
if($_SESSION['delaycx'] < 0)
{exit($red."
");}
}
if (count($listnv) == 0){exit($redb."Vui lng chn t nht 1 loi nhim v!");}
echo $yellowb."Delay vng chng block : $yellowb";
$_SESSION['j']=trim(fgets(STDIN));
if($_SESSION['j'] < 0)
{exit($red."Ti Thiu 0 giy
");}
echo $yellowb."S Ln Chy: $redb";
$_SESSION['i']=trim(fgets(STDIN));
if($_SESSION['i'] < 0)
{exit($red."Ti Thiu 1 Ln
");}
}else{
exit($redb."ng nhp tht bi, kim tra li ti khon mt khu!");
}
#get_token
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$access = curl_exec($ch);
curl_close($ch);
if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
$access_token = explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){
$idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'};
}else{
exit($red."Cookie die!!");
}
$h = datnick($user,$idfb);
$xu = file_get_contents('https://traodoisub.com/scr/test3.php?user='.$user);
if ($h == '1'){
$i=1;
@system("clear");
$b="[1;35m";
$redb="[1;31m";
$greenb="[1;32m";
$puti="[1;37m";
sleep(5);
print "
$yellow ___
,-.
| ) o
|-< . ,-.
| ) | |-'
`-' ' `-'
";
echo $banner;
echo"
[1;97m..
[1;96m B Vn Ho
[1;97m..";
sleep(5);
while ($i <= $_SESSION['i']){
$rand = $listnv[array_rand($listnv,1)];
if ($rand == 'like'){
$list = getnv('like',$user);
$check = count($list);
if ($check == 0){echo $red."|"; $i++; continue;}
echo $green."Tm thy ".$check."
";
foreach ($list as $id) {
$g = like($access_token,$id,$cookie);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('like',$id);
if ($s == 2){$xu = $xu + 200; echo $blueb."[$yellowb Thch $blueb] $stt|$yellowb ID:".$id."->|$greenb Success| $greenb ======>|".$red.$xu;}
$xxx = date("H:i");
$stt = $stt + 1;
echo $blue."";
echo "
";
echo$tim."
";
sleep($_SESSION['delaylike']);
echo "
";
}
}else if($rand == 'sub'){
$list = getnv('follow',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id) {
$g = follow($access_token,$id,$cookie);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('sub',$id);
if ($s == 2){$xu = $xu + 600;echo $blueb."[$yellowb FOLLOW $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaysub']);
echo "
";
}
}else if($rand == 'page'){
$list = getnv('likepage',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id) {
page($id,$cookie);
$s = nhantien('page',$id);
if ($s == 2){$xu = $xu + 600; echo $blueb."[$yellowb PAGE $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaypage']);
echo "
";
}
}else if($rand == 'cx'){
$list = getnv('camxuc',$user);
$check = count($list);
if ($check == 0){echo $red."|"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id => $key) {
$id = $key->{'id'};
$type = $key->{'type'};
camxuc($id,$type,$cookie);
$s = nhantiencx($type,$id);
if ($s == 2){$xu = $xu + 400; echo $blueb."[$yellowb $type $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +400 Xu -> ".$red.$xu;}
sleep($_SESSION['delaycx']);
echo "
";
}
}
else{
$list = getnv('cmt',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id => $key) {
$uid = $key->{'id'};
$msg = $key->{'nd'};
$g = cmt($access_token,$uid,$cookie,$msg);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('cmt',$uid);
if ($s == 2){$xu = $xu + 600; echo $blueb."[$yellowb CMT $buleb] []|$yollowb ID:".$uid." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaycmt']);
}
echo "
";
}
$i++;
echo $red."Delay ".$_SESSION['j']." =>:";
for ($x = 0; $x <= $_SESSION['j']; $x++) {
echo $green."";
sleep(1);
}
echo "
";
}
}else{exit($red."Cu hnh tht bi, vui lng thm id: $id vo cu hnh");}
}else{exit($red."Cookie die!!");}
function follow($access_token,$id,$cookie){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/subscribers');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function like($access_token,$id,$cookie){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/likes');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function cmt($access_token,$id,$cookie,$msg){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/comments');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('message' => $msg,'access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function page($id,$cookie){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "Accept-Language: en-us,en;q=0.5";
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
:'));
$page = curl_exec($ch);
if (explode('&refid=',explode('pageSuggestionsOnLiking=1&gfid=',$page)[1])[0]){
$get = explode('&refid=',explode('pageSuggestionsOnLiking=1&gfid=',$page)[1])[0];
$link = 'https://mbasic.facebook.com/a/profile.php?fan&id='.$id.'&origin=page_profile&pageSuggestionsOnLiking=1&gfid='.$get.'&refid=17';
curl_setopt($ch, CURLOPT_URL, $link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
}
curl_close($ch);
}
function camxuc($id,$type,$cookie){
$ch = curl_init();
if(strpos($id,'_')){
$uid = explode('_',$id, 2);
$id2 = 'story.php?story_fbid='.$uid[1].'&id='.$uid[0];
}else{
$id2 = $id;
}
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id2);
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "Accept-Language: en-us,en;q=0.5";
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
:'));
$page = curl_exec($ch);
if ($id2 != $id && explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0]){
$get = explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0];
}else{
$get = $id2;
}
$link = 'https://mbasic.facebook.com/reactions/picker/?is_permalink=1&ft_id='.$get;
curl_setopt($ch, CURLOPT_URL, $link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$cx = curl_exec($ch);
$haha = explode('<a href="',$cx);
if ($type == 'LOVE'){
$haha2 = explode('" style="display:block"',$haha[2])[0];
}else if ($type == 'WOW'){
$haha2 = explode('" style="display:block"',$haha[5])[0];
}else if ($type == 'HAHA'){
$haha2 = explode('" style="display:block"',$haha[4])[0];
}else if ($type == 'SAD'){
$haha2 = explode('" style="display:block"',$haha[6])[0];
}else{
$haha2 = explode('" style="display:block"',$haha[7])[0];
}
$link2 = html_entity_decode($haha2);
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com'.$link2);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
curl_close($ch);
}
function getnv($loai,$user){
$list = file_get_contents('https://traodoisub.com/scr/api_job.php?chucnang='.$loai.'&user='.$user);
return json_decode($list);
}
function datnick($user,$id){
$xxx = file_get_contents('https://traodoisub.com/scr/api_dat.php?user='.$user.'&idfb='.$id);
return $xxx;
}
function nhantien($loai,$id){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantien'.$loai.'.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$tdsxu=array('id' => $id);
curl_setopt($ch, CURLOPT_POST,count($tdsxu));
curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$xu=curl_exec($ch);
curl_close($ch);
return $xu;
}
function nhantiencx($loai,$id){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantiencx.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$tdsxu=array('id' => $id, 'loaicx' => $loai);
curl_setopt($ch, CURLOPT_POST,count($tdsxu));
curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$xu=curl_exec($ch);
curl_close($ch);
return $xu;
}
}
?>
Did this file decode correctly?
Original Code
<?php
error_reporting(0);
session_start();
//config
{
@system("clear");
$end="\033[0m";
$black="\033[0;30m";
$blackb="\033[1;30m";
$white="\033[0;37m";
$whiteb="\033[1;37m";
$red="\033[1;31m";
$redb="\033[1;31m";
$green="\033[0;32m";
$greenb="\033[1;32m";
$yellow="\033[0;33m";
$yellowb="\033[1;33m";
$blue="\033[0;34m";
$blueb="\033[1;34m";
$purple="\033[0;35m";
$purpleb="\033[1;35m";
$lightblue="\033[0;36m";
$lightblueb="\033[1;36m";
sleep(5);
echo $purpleb, "
_ _
/ \ | | ___ _ __ ___
/ _ \ | |/ _ \| '_ \ / _ \
/ ___ \| | (_) | | | | __/
/_/ \_\_|\___/|_| |_|\___|
";
//sever
$lock=file_get_contents('https://run.mocky.io/v3/560c1648-f0eb-44ee-812a-901546c5122e');
$keylock=md5(htmlspecialchars($lock));
echo $res;
if (md5('Bie') != $keylock) {
echo $red."Server Ngng Hot ng !!!\n".$red;
exit($red." b b . tool vn ha nn yn tm m dng !!!\n".$red);
@system('clear');
}
else{
echo$yellow
;
echo$red."\r==========================>.Warning :
\033[1;32m[\033[1;31m\033[1;32m] \033[1;36mNh k nh: \033[1;37mVic mt xu l do cc bn okk
\033[1;32m[\033[1;31m\033[1;32m] \033[1;36mZalo: \033[1;37m0399315354.
\033[1;32m[\033[1;31m\033[1;32m] \033[1;36m: nh \033[1;37mGi th chi no
\033[1;32m[\033[1;31m\033[1;32m] \033[1;92mTool: \033[1;97mTrao i Sub.
\033[1;32m[\033[1;31m\033[1;32m] \033[1;92mVersion:\033[1;97mV2
\033[1;32m[\033[1;31m\033[1;32m] \033[1;92mNhim V: \033[1;97mFollow V Ramdom.";
echo" \n";
echo"\n";
echo $green." Server Hot ng$res\n";
echo"\n";
echo "ang tin hnh chy tool\n";
echo $redb, "Hy nhp key kch hot: ";
$pw=trim(fgets(STDIN));
if ($pw == "bie"){
sleep(1);
echo $greenb, "Key ng\n";
} else {
exit("Key Sai!!!!\n");
}
echo"\n";
echo"\033[1;96m'Enter Chuyn Tip ";
$_SESSION[" "]=trim(fgets(STDIN));
echo "\n";
}
sleep(1);
$listnv = [];
echo $yellowb."Ti Khon: $yellowb";
$_SESSION["username"]=trim(fgets(STDIN));
echo $yellowb."Mt Khu: $yellowb";
$_SESSION['password']=trim(fgets(STDIN));
echo $purpleb."Cookie FB: $purpleb";
$cookie=trim(fgets(STDIN));
echo"$res";
$ch=curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/login.php');
curl_setopt($ch, CURLOPT_COOKIEJAR, "TDS.txt");
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Linux; Android 10; SM-J600G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36');
$login =array('username' => $_SESSION['username'],'password' => $_SESSION['password'],'submit' => ' ng Nhp');
curl_setopt($ch, CURLOPT_POST,count($login));
curl_setopt($ch, CURLOPT_POSTFIELDS,$login);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$source=curl_exec($ch);
curl_close($ch);
if ($source != 1 && $source != ''){
@system('clear');
echo $purpleb."ng nhp thnh cng!
";
$user = $_SESSION["username"];
echo $purpleb."[CHN NHIM V]
";
echo $lightblueb."[1] Nhim v like : $lightblueb";
if (trim(fgets(STDIN)) == '1'){
array_push($listnv,'like');
echo $blueb."Delay Like (t nht 5 giy): $blueb";
$_SESSION['delaylike']=trim(fgets(STDIN));
if($_SESSION['delaylike'] < 2)
{exit($red." ti thiu 2 giy
");}
}
echo $lightblueb."[2] Nhim v sub : $lightblueb";
if (trim(fgets(STDIN)) == '2'){
array_push($listnv,'sub');
echo $blueb."Delay Sub : $blueb";
$_SESSION['delaysub']=trim(fgets(STDIN));
if($_SESSION['delaysub'] < 0)
{exit($red."
");}
}
echo $lightblueb."[3] Nhim v cmt : $lightblueb";
if (trim(fgets(STDIN)) == '3'){
array_push($listnv,'cmt');
echo $blue."Delay CMT : $blue";
$_SESSION['delaycmt']=trim(fgets(STDIN));
if($_SESSION['delaycmt'] < 10)
{exit($red." t nht 10 giy
");}
}
echo $lightblueb."[4] Nhim v page : $lightblueb";
if (trim(fgets(STDIN)) == '4'){
array_push($listnv,'page');
echo $blueb."Delay Page : $blueb";
$_SESSION['delaypage']=trim(fgets(STDIN));
if($_SESSION['delaypage'] < 0)
{exit($red."
");}
}
echo $lightblueb."[5] Nhim v cm xc : $lightblueb";
if (trim(fgets(STDIN)) == '5'){
array_push($listnv,'cx');
echo $blueb."Delay cm xc : $blueb";
$_SESSION['delaycx']=trim(fgets(STDIN));
if($_SESSION['delaycx'] < 0)
{exit($red."
");}
}
if (count($listnv) == 0){exit($redb."Vui lng chn t nht 1 loi nhim v!");}
echo $yellowb."Delay vng chng block : $yellowb";
$_SESSION['j']=trim(fgets(STDIN));
if($_SESSION['j'] < 0)
{exit($red."Ti Thiu 0 giy
");}
echo $yellowb."S Ln Chy: $redb";
$_SESSION['i']=trim(fgets(STDIN));
if($_SESSION['i'] < 0)
{exit($red."Ti Thiu 1 Ln
");}
}else{
exit($redb."ng nhp tht bi, kim tra li ti khon mt khu!");
}
#get_token
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$access = curl_exec($ch);
curl_close($ch);
if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
$access_token = explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){
$idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'};
}else{
exit($red."Cookie die!!");
}
$h = datnick($user,$idfb);
$xu = file_get_contents('https://traodoisub.com/scr/test3.php?user='.$user);
if ($h == '1'){
$i=1;
@system("clear");
$b="\033[1;35m";
$redb="\033[1;31m";
$greenb="\033[1;32m";
$puti="\033[1;37m";
sleep(5);
print "
$yellow ___
,-.
| ) o
|-< . ,-.
| ) | |-'
`-' ' `-'
";
echo $banner;
echo"
\033[1;97m..
\033[1;96m B Vn Ho
\033[1;97m..";
sleep(5);
while ($i <= $_SESSION['i']){
$rand = $listnv[array_rand($listnv,1)];
if ($rand == 'like'){
$list = getnv('like',$user);
$check = count($list);
if ($check == 0){echo $red."|"; $i++; continue;}
echo $green."Tm thy ".$check."
";
foreach ($list as $id) {
$g = like($access_token,$id,$cookie);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('like',$id);
if ($s == 2){$xu = $xu + 200; echo $blueb."[$yellowb Thch $blueb] $stt|$yellowb ID:".$id."->|$greenb Success| $greenb ======>|".$red.$xu;}
$xxx = date("H:i");
$stt = $stt + 1;
echo $blue."";
echo "\n";
echo$tim."
";
sleep($_SESSION['delaylike']);
echo "
";
}
}else if($rand == 'sub'){
$list = getnv('follow',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id) {
$g = follow($access_token,$id,$cookie);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('sub',$id);
if ($s == 2){$xu = $xu + 600;echo $blueb."[$yellowb FOLLOW $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaysub']);
echo "
";
}
}else if($rand == 'page'){
$list = getnv('likepage',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id) {
page($id,$cookie);
$s = nhantien('page',$id);
if ($s == 2){$xu = $xu + 600; echo $blueb."[$yellowb PAGE $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaypage']);
echo "
";
}
}else if($rand == 'cx'){
$list = getnv('camxuc',$user);
$check = count($list);
if ($check == 0){echo $red."|"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id => $key) {
$id = $key->{'id'};
$type = $key->{'type'};
camxuc($id,$type,$cookie);
$s = nhantiencx($type,$id);
if ($s == 2){$xu = $xu + 400; echo $blueb."[$yellowb $type $blueb] []|$yellowb ID:".$id." -> $greenb Thnh Cng$greenb +400 Xu -> ".$red.$xu;}
sleep($_SESSION['delaycx']);
echo "
";
}
}
else{
$list = getnv('cmt',$user);
$check = count($list);
if ($check == 0){echo $red."Ht nhim v!
"; $i++; continue;}
echo $greenb."Tm thy ".$check." nhim v!
";
foreach ($list as $id => $key) {
$uid = $key->{'id'};
$msg = $key->{'nd'};
$g = cmt($access_token,$uid,$cookie,$msg);
if ($g->{'error'}->{'code'} == 368){
exit($red." b block!");
}
$s = nhantien('cmt',$uid);
if ($s == 2){$xu = $xu + 600; echo $blueb."[$yellowb CMT $buleb] []|$yollowb ID:".$uid." -> $greenb Thnh Cng$greenb +600 Xu -> ".$red.$xu;}
sleep($_SESSION['delaycmt']);
}
echo "
";
}
$i++;
echo $red."Delay ".$_SESSION['j']." =>:";
for ($x = 0; $x <= $_SESSION['j']; $x++) {
echo $green."";
sleep(1);
}
echo "
";
}
}else{exit($red."Cu hnh tht bi, vui lng thm id: $id vo cu hnh");}
}else{exit($red."Cookie die!!");}
function follow($access_token,$id,$cookie){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/subscribers');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function like($access_token,$id,$cookie){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/likes');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function cmt($access_token,$id,$cookie,$msg){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/comments');
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "authority: m.facebook.com";
$head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
$head[] = "cache-control: max-age=0";
$head[] = "upgrade-insecure-requests: 1";
$head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
$head[] = "sec-fetch-site: none";
$head[] = "sec-fetch-mode: navigate";
$head[] = "sec-fetch-user: ?1";
$head[] = "sec-fetch-dest: document";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$data = array('message' => $msg,'access_token' => $access_token);
curl_setopt($ch, CURLOPT_POST,count($data));
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$access = curl_exec($ch);
curl_close($ch);
return json_decode($access);
}
function page($id,$cookie){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "Accept-Language: en-us,en;q=0.5";
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
:'));
$page = curl_exec($ch);
if (explode('&refid=',explode('pageSuggestionsOnLiking=1&gfid=',$page)[1])[0]){
$get = explode('&refid=',explode('pageSuggestionsOnLiking=1&gfid=',$page)[1])[0];
$link = 'https://mbasic.facebook.com/a/profile.php?fan&id='.$id.'&origin=page_profile&pageSuggestionsOnLiking=1&gfid='.$get.'&refid=17';
curl_setopt($ch, CURLOPT_URL, $link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
}
curl_close($ch);
}
function camxuc($id,$type,$cookie){
$ch = curl_init();
if(strpos($id,'_')){
$uid = explode('_',$id, 2);
$id2 = 'story.php?story_fbid='.$uid[1].'&id='.$uid[0];
}else{
$id2 = $id;
}
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id2);
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 200";
$head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "Accept-Language: en-us,en;q=0.5";
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14');
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
:'));
$page = curl_exec($ch);
if ($id2 != $id && explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0]){
$get = explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0];
}else{
$get = $id2;
}
$link = 'https://mbasic.facebook.com/reactions/picker/?is_permalink=1&ft_id='.$get;
curl_setopt($ch, CURLOPT_URL, $link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$cx = curl_exec($ch);
$haha = explode('<a href="',$cx);
if ($type == 'LOVE'){
$haha2 = explode('" style="display:block"',$haha[2])[0];
}else if ($type == 'WOW'){
$haha2 = explode('" style="display:block"',$haha[5])[0];
}else if ($type == 'HAHA'){
$haha2 = explode('" style="display:block"',$haha[4])[0];
}else if ($type == 'SAD'){
$haha2 = explode('" style="display:block"',$haha[6])[0];
}else{
$haha2 = explode('" style="display:block"',$haha[7])[0];
}
$link2 = html_entity_decode($haha2);
curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com'.$link2);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
curl_close($ch);
}
function getnv($loai,$user){
$list = file_get_contents('https://traodoisub.com/scr/api_job.php?chucnang='.$loai.'&user='.$user);
return json_decode($list);
}
function datnick($user,$id){
$xxx = file_get_contents('https://traodoisub.com/scr/api_dat.php?user='.$user.'&idfb='.$id);
return $xxx;
}
function nhantien($loai,$id){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantien'.$loai.'.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$tdsxu=array('id' => $id);
curl_setopt($ch, CURLOPT_POST,count($tdsxu));
curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$xu=curl_exec($ch);
curl_close($ch);
return $xu;
}
function nhantiencx($loai,$id){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantiencx.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$tdsxu=array('id' => $id, 'loaicx' => $loai);
curl_setopt($ch, CURLOPT_POST,count($tdsxu));
curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
$xu=curl_exec($ch);
curl_close($ch);
return $xu;
}
}
?>
Function Calls
None |
Stats
MD5 | 1eda46fac5dfe2a2323d875202994643 |
Eval Count | 0 |
Decode Time | 122 ms |