Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error_reporting(0);
- session_start();
- $ress = "\033[0;32m";
- $res = "\033[0;33m";
- $red = "\033[0;31m";
- $green = "\033[0;37m";
- $yellow = "\033[0;33m";
- $white = "\033[0;33m";
- $xnhac = "\033[1;96m";
- $den = "\033[1;90m";
- $do = "\033[1;32m";
- $luc = "\033[1;92m";
- $xduong = "\033[1;94m";
- $hong = "\033[1;95m";
- $trang = "\033[1;97m";
- $BBlack="\033[1;30m" ;
- $BRed="\033[1;31m" ;
- $BGreen="\033[1;32m" ;
- $BYellow="\033[1;33m" ;
- $BBlue="\033[1;34m" ;
- $BPurple="\033[1;35m" ;
- $BCyan="\033[1;36m" ;
- $BWhite="\033[1;37m" ;
- $Blue="\033[0;34m";
- $lime="\033[1;32m";
- $red="\033[1;31m";
- $xanh="\033[1;32m";
- $cyan="\033[1;36m";
- $yellow="\033[1;33m";
- $turquoise="\033[1;34m";
- $maugi="\033[1;35m";
- $white= "\033[1;37m";
- $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- $cuongdz = $do."[".$luc."●".$do."] ".$trang."=> ";
- $cuongvip = $do."[".$luc."●".$do."]";
- date_default_timezone_set("Asia/Ho_Chi_Minh");
- $useragent = 'Mozilla/5.0 (Linux; Android 10; Mi 9T Pro) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/12.1 Chrome/79.0.3945.136 Mobile Safari/537.36';
- @system('clear');
- sleep(0);
- echo "\033[1;93m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n";
- echo "\033[1;93m┃ \033[1;93m┃\033[1;92m☞ Shop: \033[0;34mhttps://sellclonexu.site \033[1;93m┃
- \033[1;93m┃ \033[1;31m█▀▄ ▄▀█ █▄ █ █▄█ \033[1;93m┃\033[1;92m☞ zalo:\033[1;36m 0929533616 \033[1;93m┃
- \033[0;93m┃ \033[1;97m█▄▀ █▀█ █ ▀█ █▀█ \033[1;93m┃\033[1;92m☞ momo: \033[1;37m0336536030 \033[1;93m┃ \n\033[1;93m┃ ┃\033[1;92m☞ Facebook: \033[1;31mfb.com/100069088879543\033[1;93m┃ \n";
- echo "\033[1;93m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
- $dem = 0;
- echo $cuongdz.$luc."Vào Web ".$trang."Traodoisub.com".$luc." Bấm Cài Đặt Trên Web\n";
- echo $cuongdz.$luc."Sao Chép ".$vang."Access_ToKen".$luc." Dán Vào\n";
- echo $thanhngang;
- echo $cuongdz.$luc."Nhập Access_ToKen : $BWhite";
- $tokenacc = trim(fgets(STDIN));
- do {
- //cookie
- $khocookie = [];
- echo $thanhngang;
- echo $cuongdz.$luc."Nhập Cookie Facebook.\033[1;33mMuốn Dừng Nhập Thì Bấm Enter\n";
- for($a = 1; $a < 999999;$a++){
- echo $cuongdz.$cyan."Nhập Cookie Thứ $a: $trang";
- $nhapck = (string)trim(fgets(STDIN));
- if($nhapck == ''){break;}
- array_push($khocookie,$nhapck);
- }
- $demcki=count($khocookie);
- echo $white."● ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Cookie Facebook\n";
- sleep(1);
- } while (count($khocookie)==0);
- //url
- $urlinfo = "https://traodoisub.com/api/?fields=profile&access_token=$tokenacc";
- $urllike = "https://traodoisub.com/api/?fields=like&access_token=$tokenacc";
- $urlsub = "https://traodoisub.com/api/?fields=follow&access_token=$tokenacc";
- $urlcx = "https://traodoisub.com/api/?fields=reaction&access_token=$tokenacc";
- $urlshare = "https://traodoisub.com/api/?fields=share&access_token=$tokenacc";
- $urlcmt = "https://traodoisub.com/api/?fields=comment&access_token=$tokenacc";
- $urlpage = "https://traodoisub.com/api/?fields=page&access_token=$tokenacc";
- $urllikecmt = "https://traodoisub.com/api/?fields=reactcmt&access_token=$tokenacc";
- //login
- $info = api($urlinfo);
- if ($info["error"]) {
- exit ($info["error"]);
- }
- //$thongtin
- $user = strtolower($info["data"]["user"]);
- $xuhientai = $info["data"]["xu"];
- system('clear');
- sleep(0);
- echo "\033[1;93m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n";
- echo "\033[1;93m┃ \033[1;93m┃\033[1;92m☞ Shop: \033[0;34mhttps://sellclonexu.site \033[1;93m┃
- \033[1;93m┃ \033[1;31m█▀▄ ▄▀█ █▄ █ █▄█ \033[1;93m┃\033[1;92m☞ zalo:\033[1;36m 0929533616 \033[1;93m┃
- \033[0;93m┃ \033[1;97m█▄▀ █▀█ █ ▀█ █▀█ \033[1;93m┃\033[1;92m☞ momo: \033[1;37m0336536030 \033[1;93m┃ \n\033[1;93m┃ ┃\033[1;92m☞ Facebook: \033[1;31mfb.com/100069088879543\033[1;93m┃ \n";
- echo "\033[1;93m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
- echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Tool Auto TDS: $Đa Luồng Cookie\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$do."Tài Khoản TDS: ".$vang.$user."\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$xduong."Số Xu Hiện Tại: ".$vang.$xuhientai."\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$xnhac."Đang Dùng: ".$vang.$demcki."\033[1;32m Nick Chạy\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> \033[1;32mIP Tool Của Bạn:\033[1;34m$getip\n";
- echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."1".$do."]".$luc." Bật Like\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."2".$do."]".$luc." Bật Follow\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."3".$do."]".$luc." Bật Cảm Xúc\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."4".$do."]".$luc." Bật Comment\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."5".$do."]".$luc." Bật Fanpage\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."6".$do."]".$luc." Bật Share\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."7".$do."]".$luc." Bật Cảm Xúc CMT\n";
- echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Số Để Chạy Nhiệm Vụ \e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $yellowb ";
- $nhiemvu = trim(fgets(STDIN)); echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Thời Gian Làm Nhiệm Vụ ".$nendo.$trang."Min Max$end\n";
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Thời Gian Min\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $thoigianmin = trim(fgets(STDIN));
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Thời Gia Max\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $thoigianmax = trim(fgets(STDIN));
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mSau Bao Nhiêu Nhiệm Vụ Thì Kích Hoạt Chống Block\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $xxxxx = trim(fgets(STDIN));
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mSau $xxxxx Nhiệm Vụ Nghỉ Ngơi Bao Nhiêu Giây\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $delaybl = trim(fgets(STDIN));
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mĐổi Cấu Hình Sau Bao Nhiêu Nhiệm Vụ\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $doinick = trim(fgets(STDIN));
- echo "\e[1;34m┌─[\e[1;37m\e[1;90mChạy Bao Nhiêu Nhiệm Vụ Thì Dừng Tool\e[0m\e[1;34m]
- └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
- $dungtool = trim(fgets(STDIN));
- while(true){
- if(count($khocookie) == 0){
- echo $cuongdz.$luc."Nhập Cookie Facebook.\033[1;33mMuốn Dừng Nhập Thì Bấm Enter\n";
- for($a = 1; $a < 999999;$a++){
- echo $cuongdz.$cyan."Nhập Cookie Thứ $a: $trang";
- $nhapck = (string)trim(fgets(STDIN));
- if($nhapck == ''){break;}
- array_push($khocookie,$nhapck);
- }
- $demcki=count($khocookie);
- echo $cuongdz.$cyan."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Cookie Facebook\n";
- sleep(1);
- }
- $themtk = 0;
- for($xz=0;$xz<count($khocookie);$xz++){
- if ( $themck == 1){ break; }
- $cookie = $khocookie[$xz];
- $access_token = laytoken($cookie,$useragent);
- if ($access_token == 'die') {
- echo "\r";
- echo " \r";
- echo $white."Lỗi ".$red."Cookie Die!!!\n";
- array_splice($khocookie,$xz,1);
- continue;
- }
- $tenfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'name'};
- $idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'id'};
- $urlcauhinh = "https://traodoisub.com/api/?fields=run&id=$idfb&access_token=$tokenacc";
- $cauhinh = api($urlcauhinh);
- if ($cauhinh["data"]["msg"] == "Cấu hình thành công!") {
- echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- echo "\033[1;32mĐang Dùng FB: \033[1;33m".$tenfb."\033[1;32m ID:\033[1;33m ".$idfb."\n";
- echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
- }
- $spam = 0;
- while (true) {
- if ($spam == 1) {
- break;
- }
- //listlike
- if (strpos($nhiemvu, '1') !== false) {
- for ($i = 0; $i < 10; $i++) {
- $listlike = api($urllike);
- if($listlike == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listlike==''){
- $listlike = api($urllike);
- }}
- if (count($listlike) > 0) {
- break;
- }}
- }
- //listfollow
- if (strpos($nhiemvu, '2') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listsub = api($urlsub);
- if($listsub == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listsub==''){
- $listsub = api($urlsub);
- }}
- if (count($listsub) > 0) {
- break;
- }
- }
- }
- //listreaction
- if (strpos($nhiemvu, '3') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listcx = api($urlcx);
- if($listcx == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listcx==''){
- $listcx = api($urlcx);
- }}
- if (count($listcx) > 0) {
- break;
- }}
- }
- //listcmt
- if (strpos($nhiemvu, '4') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listcmt = api($urlcmt);
- if($listcmt == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listcmt==''){
- $listcmt = api($urlcmt);
- }}
- if (count($listcmt) > 0) {
- break;
- }}
- }
- //listpage
- if (strpos($nhiemvu, '5') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listpage = api($urlpage);
- if($listpage == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listpage==''){
- $listpage = api($urlpage);
- }}
- if (count($listpage) > 0) {
- break;
- }}
- }
- //share
- if (strpos($nhiemvu, '6') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listshare = api($urlshare);
- if($listshare == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listshare==''){
- $listshare = api($urlshare);
- }}
- if (count($listshare) > 0) {
- break;
- }}
- }
- //listlikecmt
- if (strpos($nhiemvu, '7') !== false) {
- for ($i = 1; $i < 10; $i++) {
- $listlikecmt = api($urllikecmt);
- if($listlikecmt == ''){
- echo $trang." • ".$do."Mạng không ổn định \r";
- while($listlikecmt==''){
- $listlikecmt = api($urllikecmt);
- }}
- if (count($listlikecmt) > 0) {
- break;
- }}
- }
- for ($lap = 0; $lap < 20; $lap++) {
- // like
- if ($listlike !== NULL) {
- $idlike = $listlike[$lap]["id"];
- if ($idlike !== '') {
- $g = like($access_token, $idlike, $cookie);
- if ($g -> {'error'} -> {'code'} == 190) {
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
- echo "\r";
- echo " \r";
- echo $white." >^_^< ".$red."Cookie Die\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- }
- if ($g->{'error'}->{'code'} == 368){
- echo " \r";
- echo $white." ● ".$red."Đã Bị Block Like\n";
- array_splice($khocookie,$xz,1);
- $spam = 1;
- break;
- }
- $nhanlike = nhantien('LIKE', $idlike, $tokenacc);
- if ($nhanlike["success"] == 200) {
- $xu = $nhanlike["data"]["xu"];
- $xujob = $nhanlike["data"]["msg"];
- $dem++;
- hoanthanh($dem, ' LIKE ', $idlike, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi Tool\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }}
- //follow
- if ($listsub !== NULL) {
- $idsub = $listsub[$lap]["id"];
- if ($idsub !== '') {
- $g = follow($access_token, $idsub, $cookie);
- if ($g -> {'error'} -> {'code'} == 190) {
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
- echo "\r";
- echo " \r";
- echo $white." >^_^< ".$red."Cookie Die\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- }
- if ($g->{'error'}->{'code'} == 368){
- echo " \r";
- echo $white." ● ".$red."Đã Bị Block Follow\n";
- array_splice($khocookie,$xz,1);
- $spam = 1;
- break;
- }
- $nhansub = nhantien('FOLLOW', $idsub, $tokenacc);
- if ($nhansub["success"] == 200) {
- $xu = $nhansub["data"]["xu"];
- $xujob = $nhansub["data"]["msg"];
- $dem++;
- hoanthanh($dem, ' FOLLOW ', $idsub, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }}
- //cảm xúc
- if ($listcx !== NULL) {
- $idcx = $listcx[$lap]["id"];
- $type = $listcx[$lap]["type"];
- if ($idcx !== '') {
- $g = camxuc($idcx, $type, $cookie);
- if ($g -> {'error'} -> {'code'} == 190) {
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
- echo "\r";
- echo " \r";
- echo $white." >^_^< ".$red."Cookie Die\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- }
- if ($g->{'error'}->{'code'} == 368){
- echo " \r";
- echo $white." ● ".$red."Đã Bị Block Like\n";
- array_splice($khocookie,$xz,1);
- $spam = 1;
- break;
- }
- $nhancx = nhantien($type, $idcx, $tokenacc);
- if ($nhancx["success"] == 200) {
- $xu = $nhancx["data"]["xu"];
- $xujob = $nhancx["data"]["msg"];
- $dem++;
- if ($type == 'WOW') {
- $type = ' WOW ';
- } elseif ($type == 'SAD') {
- $type = ' SAD ';
- } elseif ($type == 'ANGRY') {
- $type = ' ANGRY ';
- } elseif ($type == 'LOVE') {
- $type = ' LOVE ';
- } elseif ($type == 'HAHA') {
- $type = ' HAHA ';
- } elseif ($type == 'CARE') {
- $type = ' CARE ';
- }
- hoanthanh($dem, $type, $idcx, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }}
- if ($listshare !== NULL) {
- $id = $listshare[$lap]["id"];
- $g = share($access_token, $id);
- if ($g -> {'error'} -> {'code'} == 190) {
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
- echo "\r";
- echo " \r";
- echo $white." >^_^< ".$red."Cookie Die\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- }
- if ($g -> {'error'} -> {'code'} == 368) {
- echo "\033[1;91m".$g-> {'error'}-> {'message'};
- echo "\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- $nhanshare = nhantien('SHARE', $id, $tokenacc);
- if ($nhanshare["success"] == 200) {
- $xu = $nhanshare["data"]["xu"];
- $xujob = $nhanshare["data"]["msg"];
- $dem++;
- hoanthanh($dem, ' SHARES ', $id, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay($thoigiannghi);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }}
- //cmt
- if ($listcmt !== NULL) {
- $idcmt = $listcmt[$lap]["id"];
- $msg = $listcmt[$lap]["msg"];
- if ($idcmt !== '') {
- $g = cmt($access_token, $idcmt, $cookie, $msg);
- if ($g -> {'error'} -> {'code'} == 190) {
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
- echo "\r";
- echo " \r";
- echo $white." >^_^< ".$red."Cookie Die\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- }
- if ($g->{'error'}->{'code'} == 368){
- echo " \r";
- echo $white." ● ".$red."Đã Bị Block Cmt\n";
- array_splice($khocookie,$xz,1);
- $spam = 1;
- break;
- }
- $nhancmt = nhantien('COMMENT', $idcmt, $tokenacc);
- if ($nhancmt["success"] == 200) {
- $xu = $nhancmt["data"]["xu"];
- $xujob = $nhancmt["data"]["msg"];
- $dem++;
- hoanthanh($dem, 'COMMENTS', $idcmt, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Hay Cookie Cũ (y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }}
- //page
- if ($listpage !== NULL) {
- $idpage = $listpage[$lap]["id"];
- if ($idpage !== '') {
- $g = page($idpage, $cookie);
- if ($g -> {'error'} -> {'code'} == 190) {
- echo "Cookie die !!?!\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- if ($g -> {'error'} -> {'code'} == 368) {
- echo "\033[1;91m".$g-> {'error'}-> {'message'};
- echo "\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- $nhanpage = nhantien('PAGE', $idpage, $tokenacc);
- if ($nhanpage["success"] == 200) {
- $xu = $nhanpage["data"]["xu"];
- $xujob = $nhanpage["data"]["msg"];
- $dem++;
- hoanthanh($dem, ' PAGE ', $idpage, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Cường Tool\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không(y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }
- }
- //likecmt
- if ($listlikecmt !== NULL) {
- $idlikecmt = $listlikecmt[$lap]["id"];
- $type = $listlikecmt[$lap]["type"];
- if ($idlikecmt !== '') {
- if ($type == 'LIKE'){
- like($access_token, $idlikecmt, $cookie);
- }else{
- camxuc($idlikecmt, $type, $cookie);
- }
- $nhanpage = nhantien($type.'CMT', $idlikecmt, $tokenacc);
- if ($nhanpage["success"] == 200) {
- $xu = $nhanpage["data"]["xu"];
- $xujob = $nhanpage["data"]["msg"];
- $dem++;
- hoanthanh($dem, $type.' CMT', $idlikecmt, $xujob, $xu);
- if ( $dem >= $dungtool ){
- echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
- $stop = trim(fgets(STDIN));
- if ( $stop == "n" ){
- $dungtool = 999999;
- echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
- echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Cường Tool\n";
- exit;}
- else {
- echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
- $chaythem = trim (fgets(STDIN));
- $dungtool = $dungtool + $chaythem;}
- echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không(y/n) : $BWhite";
- $themtk = trim (fgets(STDIN));
- if ( $themtk == "y" ){
- $spam = 1;
- $themtk = 1;
- $khocookie=[];
- break;
- } else { continue; }
- }
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- if($dem % $xxxxx == 0){
- delay2($delaybl);
- }
- $delay = rand($thoigianmin, $thoigianmax);
- delay($delay);
- }
- }
- }
- }
- }}}
- function api($url) {
- $head = array(
- "Host: traodoisub.com",
- "cache-control: max-age=0",
- "upgrade-insecure-requests: 1",
- "user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/E7FBAF",
- "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",
- "sec-fetch-site: none",
- "sec-fetch-mode: navigate",
- "sec-fetch-user: ?1",
- "sec-fetch-dest: document",
- //"accept-encoding: gzip, deflate, br",
- "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",
- );
- $ch = curl_init();
- curl_setopt_array($ch, array(
- CURLOPT_URL => $url,
- CURLOPT_CUSTOMREQUEST => "GET",
- CURLOPT_HTTPHEADER => $head,
- CURLOPT_SSL_VERIFYPEER => FALSE,
- CURLOPT_RETURNTRANSFER => 1
- ));
- $get = curl_exec($ch);
- curl_close($ch);
- return json_decode($get, true);
- }
- function nhantien($type, $id, $tokenacc) {
- $nhan = file_get_contents("https://traodoisub.com/api/coin/?type=$type&id=$id&access_token=$tokenacc");
- return json_decode($nhan, true);
- }
- function follow($access_token, $idtest, $cookie) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idtest.'/subscribers');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $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 share($access_token,$id) {
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v2.0/me/feed');
- 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');
- $data = array(
- 'privacy' => '{"value":"EVERYONE"}',
- 'message' => '',
- 'link' => 'https://mbasic.facebook.com/'.$id.'',
- 'access_token' => $access_token
- );
- curl_setopt($ch, CURLOPT_POST,count($data));
- curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
- $a = json_decode(curl_exec($ch), true);
- curl_close($ch);
- return $a;
- }
- 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: 300";
- $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, $idcmt, $cookie, $msg) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idcmt.'/comments');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $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($idpage, $cookie) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$idpage);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $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, '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_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='.$idpage.'&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($idcx, $type, $cookie) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/reactions/picker/?is_permalink=1&ft_id='.$idcx);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $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, '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_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
- :'));
- $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 hoanthanh($dem, $type, $id, $xujob, $xu) {
- $maua = rand(31, 37);
- $maub = "\033[1;".$maua."m";
- $mauc = rand(31, 37);
- $maud = "\033[1;".$mauc."m";
- $maue = rand(31, 37);
- $mauf = "\033[1;".$maue."m";
- $maug = rand(31, 37);
- $mauh = "\033[1;".$maug."m";
- $mauj = rand(31, 37);
- $mauk = "\033[1;".$mauj."m";
- $maul = rand(31, 37);
- $maum = "\033[1;".$maul."m";
- $maun = rand(31, 37);
- $mauv = "\033[1;".$maun."m";
- $maun = rand(31, 37);
- $maut = "\033[1;".$maun."m";
- $maul = rand(90, 97);
- $maui = "\033[1;".$maul."m";
- $a = "".$maud."『".$maub."".$dem."".$mauf."』 \033[1;91m| ".$maut."".date("H")."".$trang.":".$mauk."".date("i")."".$trang.":".$maum."".date("s")."\033[1;91m |\033[1;96m $maui$type\033[1;91m | \033[1;90m\033[47mID Đã Được Ẩn\033[0;330m\033[1;91m | ".$mauv."".$xujob."\033[1;91m | \033[0m\e[0m\n";
- $len = strlen($a);
- for ($x = 0; $x < $len; $x++) {
- echo $a[$x];
- usleep(1000);
- $xuong = "\033[1;93m===============================================================\n Số Xu Hiện Tại Của Bạn Là: \033[1;92m$xu\n\033[1;93m===============================================================\n";
- }
- if ($dem % 10 == 0) {echo $xuong;}
- }
- function delay($delay) {
- for ($time = $delay; $time > -1; $time--) {
- echo "\r\033[1;93m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;91m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;92m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;94m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
- usleep(100000);
- echo "\r \r";
- }}
- function delay2($delaybl){
- $green="\e[1;32m";
- $yellow="\e[1;33m";
- for($j = $delaybl;$j> 0;$j--){
- echo "\r";
- echo " \r";
- echo $green." 🤪 Nghỉ tránh block, sẽ chạy lại sau$yellow $j Giây";
- sleep(1);
- }
- echo "\r";
- echo " \r";
- }
- function laytoken($cookie, $useragent) {
- $head= array("Connection: keep-alive","Keep-Alive: 300","authority: business.facebook.com","ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7","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","cache-control: max-age=0","upgrade-insecure-requests: 1","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","sec-fetch-site: none","sec-fetch-mode: navigate","sec-fetch-user: ?1","sec-fetch-dest: document");
- $ch=curl_init();
- curl_setopt_array($ch , array(
- CURLOPT_URL => "https://business.facebook.com/business_locations",
- CURLOPT_USERAGENT => $useragent,
- CURLOPT_COOKIE => $cookie,
- CURLOPT_HTTPHEADER => $head,
- CURLOPT_RETURNTRANSFER => 1,
- CURLOPT_SSL_VERIFYPEER => FALSE,
- CURLOPT_TIMEOUT => 60,
- CURLOPT_CONNECTTIMEOUT => 60,
- CURLOPT_FOLLOWLOCATION => TRUE
- ));
- $access = curl_exec($ch);
- curl_close($ch);
- $access_token = 'EAAG'.explode('","', explode('EAAG', $access)[1])[0];
- if(strlen($access_token) > 5){
- return $access_token;
- } else {
- return 'die';
- }
- }
- function joingr($id,$cookie){
- $ch = curl_init();
- $head_fb=array(
- "Host:mbasic.facebook.com",
- "cache-control:max-age=0",
- "upgrade-insecure-requests:1",
- "save-data:on",
- "user-agent:Mozilla/5.0 (Linux; Android 10; RMX1929) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36",
- "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",
- "sec-fetch-site:cross-site",
- "sec-fetch-mode:navigate",
- "sec-fetch-user:?1",
- "sec-fetch-dest:document",
- "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",
- "cookie:".$cookie);
- curl_setopt_array ($ch, array (
- CURLOPT_URL => "https://mbasic.facebook.com/groups/$id?_rdr",
- CURLOPT_FOLLOWLOCATION => false,
- CURLOPT_RETURNTRANSFER => 1,
- CURLOPT_POST => 1,
- CURLOPT_HTTPGET => true,
- CURLOPT_SSL_VERIFYPEER => 0,
- CURLOPT_HTTPHEADER => $head_fb,
- CURLOPT_HEADER => true,
- CURLOPT_ENCODING => TRUE));
- $data = curl_exec($ch);
- // var_dump($data);
- if (strpos($data,"xs=deleted") == true){
- echo ( $red."Cookie die rồi\n");
- }
- $tìm =explode("/a/group/join/?",$data);
- $tìm1=explode('"',$tìm[1]);
- $fb=explode('name="fb_dtsg" value="',$data);
- $fb=explode('"',$fb[1]);
- $fbdtsg=htmlspecialchars_decode($fb[0]);
- $jaz=explode('name="jazoest" value="',$data);
- $jaz=explode('"',$jaz[1]);
- $url="https://mbasic.facebook.com/a/group/join/?".htmlspecialchars_decode($tìm1[0]);
- $data="fb_dtsg=$fbdtsg&jazoest=".$jaz[0];
- curl_setopt_array ($ch, array (
- CURLOPT_URL => $url,
- CURLOPT_RETURNTRANSFER => 1,
- CURLOPT_CUSTOMREQUEST => "POST",
- CURLOPT_POSTFIELDS => $data,
- CURLOPT_SSL_VERIFYPEER => 0,
- CURLOPT_HTTPHEADER => $head_fb));
- $xxx = curl_exec($ch);
- }
Add Comment
Please, Sign In to add comment