Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- 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";
- $banner = "\r";
- $xnhac = "\033[1;96m";
- $den = "\033[1;90m";
- $do = "\033[1;91m";
- $luc = "\033[1;92m";
- $vang = "\033[1;93m";
- $xduong = "\033[1;94m";
- $hong = "\033[1;95m";
- $trang = "\033[1;97m";
- $dem = 0;
- date_default_timezone_set("Asia/Ho_Chi_Minh");
- system('clear');
- //================================================================================================================================================================================================================================================================================================================================================================================================
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo"\n";
- echo "\033[1;91m ██████╗ ██╗ ██╗██╗ ██╗ ██████╗ ██╗ ██╗ █████╗ ███╗ ██╗\n";usleep(20000);
- echo "\033[1;33m ██╔══██╗██║ ██║╚██╗ ██╔╝██╔═══██╗██║ ██║██╔══██╗████╗ ██║\n";usleep(20000);
- echo "\033[1;34m ██║ ██║██║ ██║ ╚████╔╝ ██║ ██║██║ ██║███████║██╔██╗ ██║\n";usleep(20000);
- echo "\033[1;96m ██║ ██║██║ ██║ ╚██╔╝ ██║▄▄ ██║██║ ██║██╔══██║██║╚██╗██║\n";usleep(20000);
- echo "\033[1;97m ██████╔╝╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝██║ ██║██║ ╚████║\n";usleep(20000);
- echo "\033[1;97m ╚═════╝ ╚═════╝ ╚═╝ ╚══▀▀═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝\n";usleep(2000);
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo "\n";
- //================================================================================================================================================================================================================================================================================================================================================================================================
- usleep(2000000);
- echo"$luc • Đang Kết Nối Tới Máy Chủ ...!\n";
- $lock = file_get_contents('https://pastebin.com/raw/jqnCPhzs');
- $keylock = 'lock';
- echo $res;
- if (md5('lock') != md5($keylock)){
- exit($do . " • Máy Chủ Đã Ngừng Hoạt Động - Hoặc Kết Nối Mạng Có Vấn Đề !!! Vui Lòng Kiểm Tra Hoặc Cập Nhật Phiên Bản Mới...
- $res");
- } else {
- sleep(1);
- }
- echo"$luc • Kết Nối Thành Công - HSD: 18/06/2021 ...!\n";
- usleep(2000000);
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo "\n";
- $listnv = [];
- if(file_exists('AccesTDS.txt') != true){
- echo $trang." ".$luc."Nhập Access Token TDS:$vang ";
- $tokenacc = trim(fgets(STDIN));
- $k = fopen('AccesTDS.txt','a+');
- fwrite($k,$tokenacc);
- }else{
- $tokentds = file_get_contents('AccesTDS.txt');
- $m = login($tokentds);
- $mm = json_decode($m);
- $sss = $mm->{"success"};
- //get xu access
- $user = $mm->{"data"}->{"user"};
- echo $trang." ".$luc."Bạn Muốn Đăng Nhập Lại Tài Khoản ".$vang.$user.$luc." Không? (y/n): $vang";
- $choicee=trim(fgets(STDIN));
- if ( strtolower($choicee) == 'y' ) {
- $tokenacc = file_get_contents('AccesTDS.txt');}
- else if( strtolower($choicee) == 'n' ) {
- @system ('rm AccesTDS.txt');
- echo $trang." ".$luc."Nhập Access Token TDS:$vang ";
- $tokenacc = trim(fgets(STDIN));
- $k = fopen('AccesTDS.txt','a+');
- fwrite($k,$tokenacc);
- } else { exit($do." Lỗi Không Xác Định \n");
- }
- }
- //cookie
- $khocookie = [];
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- echo $trang." ".$luc."Nhập Số Lượng Cookie Facebook:$vang ";
- $luong=trim(fgets(STDIN));
- $c=1;$thu=1;
- $mangcookie =[];
- for($b=1;$b<=$luong;$b++){
- echo $trang." ".$luc."Nhập Cookie Facebook Thứ ".$thu.":$vang ";
- $nhapck=trim(fgets(STDIN));
- array_push($khocookie,$nhapck);
- $thu=$thu+1;
- }
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- echo $luc." Cấu Hình Mặc Định Tự Động Cho Tool !!!\n";
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Like".$vang." 5 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Page".$vang." 30 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Share".$vang." 15 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Follow".$vang." 10 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Comment".$vang." 30 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Cảm Xúc".$vang." 15 ".$luc."Giây\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Delay Nhiệm Vụ Cảm Xúc Cmt".$vang." 15 ".$luc."Giây\n";
- //1 Cookie
- if ($luong=='1'){
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Chống Block Hoạt Động Sau".$vang." 20 ".$luc."Nhiệm Vụ\n";
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Sau ".$vang."20".$luc." Nhiệm Vụ Tool Nghỉ Ngơi".$vang." 50 ".$luc."Giây\n";
- //Nhiều Cookie
- }else{
- echo $trang." ".$luc."Cấu Hình (".$vang." DEMO ".$luc.") Tự Động Chuyển Acc Sau".$vang." 20 ".$luc."Nhiệm Vụ\n";
- }
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- //Cookie < 2
- if ($luong==1){
- echo $trang." ".$luc."Bạn Có Muốn Tool Cấu Hình Trên Không? (y/n): $vang";
- $choncauhinh=trim(fgets(STDIN));
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- if ($choncauhinh=='y' or $choncauhinh =='Y'){$delaylike=5;$delaypage=20;$delaysub=10;$delaycx=15;$delaycxcmt=15;$delayshare=15;$delaycmt=30;$SBNNV=20;$DLBNS=50;$doinick=99999999;
- }
- //Cookie > 2
- }else{
- echo $trang." ".$luc."Bạn Có Muốn Tool Cấu Hình Trên Không? (y/n): $vang";
- $choncauhinh=trim(fgets(STDIN));
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- if ($choncauhinh=='y' or $choncauhinh =='Y'){$delaylike=5;$delaypage=20;$delaysub=10;$delaycx=15;$delaycxcmt=15;$delayshare=15;$delaycmt=30;$doinick=20;$SBNNV=999999999;$DLBNS=9999999999;
- }
- }
- //Chọn Cấu Hình
- if ($choncauhinh=='n' or $choncauhinh=='N'){
- $doinick=99999999;
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Like: $vang";
- $delaylike=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Page: $vang";
- $delaypage=trim(fgets(STDIN));
- $delaypage=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Share: $vang";
- $delayshare=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Follow: $vang";
- $delaysub=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Comment: $vang";
- $delaycmt=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Cảm Xúc: $vang";
- $delaycx=trim(fgets(STDIN));
- echo $trang." ".$luc."Nhập Delay Nhiệm Vụ Cảm Xúc Cmt: $vang";
- $delaycxcmt=trim(fgets(STDIN));
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- //1 Cookie
- if ($luong==1){
- //bật tính năng block
- echo $trang." ".$luc."Tính Năng Chống Block Hoạt Động Sau:$vang ";
- $SBNNV=trim(fgets(STDIN));
- echo $trang." ".$luc."Sau ".$vang.$SBNNV.$luc." Nhiệm Vụ Thì Nghỉ Bao Nhiêu Giây:$vang ";
- $DLBNS=trim(fgets(STDIN));
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- //Delay Vòng
- }else{
- echo $trang." ".$luc."Tool Sẽ Chuyển Cấu Hình Sau:".$vang." ";
- $doinick=trim(fgets(STDIN));
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(2000);echo $trang."- ";usleep(15000);}echo "\n";
- }
- echo "$res";}
- echo $luc." Đã Thêm ".$vang.$luong.$luc." Cookie Facebook Vào Cấu Hình Tool\n";
- //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"];
- $phongnen=$trang."~".$do."[".$luc."✓".$do."]".$trang." =>";
- system('clear');
- //================================================================================================================================================================================================================================================================================================================================================================================================
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo"\n";
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo"\n";
- echo "\033[1;91m ██████╗ ██╗ ██╗██╗ ██╗ ██████╗ ██╗ ██╗ █████╗ ███╗ ██╗\n";usleep(20000);
- echo "\033[1;33m ██╔══██╗██║ ██║╚██╗ ██╔╝██╔═══██╗██║ ██║██╔══██╗████╗ ██║\n";usleep(20000);
- echo "\033[1;34m ██║ ██║██║ ██║ ╚████╔╝ ██║ ██║██║ ██║███████║██╔██╗ ██║\n";usleep(20000);
- echo "\033[1;96m ██║ ██║██║ ██║ ╚██╔╝ ██║▄▄ ██║██║ ██║██╔══██║██║╚██╗██║\n";usleep(20000);
- echo "\033[1;97m ██████╔╝╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝██║ ██║██║ ╚████║\n";usleep(20000);
- echo "\033[1;97m ╚═════╝ ╚═════╝ ╚═╝ ╚══▀▀═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝\n";usleep(2000);
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo "\n";
- //================================================================================================================================================================================================================================================================================================================================================================================================
- echo $phongnen.$luc." Tài Khoản TDS : ".$vang.$user."\n";
- echo $phongnen.$luc." Số Xu Tài Khoản : ".$vang.$xuhientai."\n";
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo "\n";
- echo $phongnen.$luc." Nhiệm Vụ Like ? (y/n):$vang ";
- $chonlike=trim(fgets(STDIN));
- if ($chonlike == 'y' ){$like=1;}
- if ($chonlike == 'Y' ){$like=1;}
- echo $phongnen.$luc." Nhiệm Vụ Page ? (y/n):$vang ";
- $chonpage=trim(fgets(STDIN));
- if ($chonpage == 'y' ){$page=1;}
- if ($chonpage == 'Y' ){$page=1;}
- echo $phongnen.$luc." Nhiệm Vụ Share ? (y/n):$vang ";
- $chonshare=trim(fgets(STDIN));
- if ($chonshare == 'y' ){$share=1;}
- if ($chonshare == 'Y' ){$share=1;}
- echo $phongnen.$luc." Nhiệm Vụ Follow ? (y/n):$vang ";
- $chonfollow=trim(fgets(STDIN));
- if ($chonfollow == 'y' ){$sub=1;}
- if ($chonfollow == 'Y' ){$sub=1;}
- echo $phongnen.$luc." Nhiệm Vụ Comment ? (y/n):$vang ";
- $choncmt=trim(fgets(STDIN));
- if ($choncmt == 'y' ){$cmt=1;}
- if ($choncmt == 'Y' ){$cmt=1;}
- echo $phongnen.$luc." Nhiệm Vụ Cảm Xúc ? (y/n):$vang ";
- $choncx=trim(fgets(STDIN));
- if ($choncx == 'y' ){$cx=1;}
- if ($choncx == 'Y' ){$cx=1;}
- echo $phongnen.$luc." Nhiệm Vụ Cảm Xúc Cmt ? (y/n):$vang ";
- $choncxc=trim(fgets(STDIN));
- if ($choncxc == 'y' ){$cxcmt=1;}
- if ($choncxc == 'Y' ){$cxcmt=1;}
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo "\n";
- while(true){
- foreach ($khocookie as $cookie){
- $access_token = laytoken($cookie);
- if (strpos($access_token, 'EAAAA') !== 0) {
- echo $vang." WARING : ".$do."Tất Cả Cookie Thêm Vào Bị Vô Hiệu Lực !!!\n";
- die;
- }
- $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!") {
- if ($TKTK==1){for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo"\n";}
- echo $luc." ID Cấu Hình: ".$vang.$idfb." ".$luc."Tên Facebook: ".$vang.$tenfb."\n";
- for($v=0;$v<= 15;$v++){echo $trang."- ";usleep(3000);echo $trang."- ";usleep(3000);}echo"\n";
- $TKTK=1;
- } else {
- echo $do." CẤU HÌNH THẤT BẠI, VUI LÒNG THÊM TÀI KHOẢN VÀO CẤU HÌNH \n";
- }
- $spam = 0;
- while (true) {
- if ($spam == 1) {
- break;
- }
- //listlike
- if ($like=="1"){
- for ($i = 0; $i < 30; $i++) {
- $listlike = api($urllike);
- if (count($listlike) !== 0) {
- break;
- }
- }
- }
- //listpage
- if ($page=="1"){
- for ($i = 1; $i < 30; $i++) {
- $listpage = api($urlpage);
- if (count($listpage) !== 0) {
- break;
- }
- }
- }
- //share
- if ($share=="1"){
- for ($i = 1; $i < 30; $i++) {
- $listshare = api($urlshare);
- if (count($listshare) > 0) {
- break;
- }
- }
- }
- //listfollow
- if ($sub=="1"){
- while (true) {
- $listsub = api($urlsub);
- if (count($listsub) !== 0) {
- break;
- }
- }
- }
- //listcmt
- if ($cmt=="1"){
- for ($i = 1; $i < 30; $i++) {
- $listcmt = api($urlcmt);
- if (count($listcmt) !== 0) {
- break;
- }
- }
- }
- //listreaction
- if ($cx=="1"){
- for ($i = 1; $i < 30; $i++) {
- $listcx = api($urlcx);
- if (count($listcx) !== 0) {
- break;
- }
- }
- }
- //listlikecmt
- if ($cxcmt=="1"){
- for ($i = 1; $i < 30; $i++) {
- $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) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Văng !!!\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- if ($g -> {'error'} -> {'code'} == 368) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Block !!!\n";
- $spam = 1; break;
- }
- $nhanlike = nhantien('LIKE', $idlike, $tokenacc);
- if ($nhanlike["success"] == 200) {
- $xu = $nhanlike["data"]["xu"];
- $xujob = $nhanlike["data"]["msg"];
- $dem++;
- $idG = substr("$idlike",0,15);
- $joblike=" LIKE ";
- $xujob="+200";
- hoanthanh($dem, $joblike, $idlike, $xujob, $xu);
- $nvdelay=$delaylike;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }}
- //page
- if ($listpage !== NULL) {
- $idpage = $listpage[$lap]["id"];
- if ($idpage !== '') {
- page($idpage, $cookie);
- $nhanpage = nhantien('PAGE', $idpage, $tokenacc);
- if ($nhanpage["success"] == 200) {
- $xu = $nhanpage["data"]["xu"];
- $xujob = $nhanpage["data"]["msg"];
- $dem++;
- $idG = substr("$idpage",0,15);
- $jobpage=" PAGE ";
- $xujob="+600";
- hoanthanh($dem, $jobpage, $idpage, $xujob, $xu);
- $nvdelay=$delaypage;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }
- }
- if ($listshare !== NULL) {
- $idshare = $listshare[$lap]["id"];
- if (isset($idshare)) {
- $r = share($access_token, $idshare);
- $g = json_decode($r);
- if ($g -> {'error'} -> {'code'} == 190) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Văng !!!\n";
- $spam = 1; break;
- }
- if ($g -> {'error'} -> {'code'} == 368) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Block !!!\n";
- $spam = 1; break;
- }
- if (strpos($r, '"id"')){
- $nhanshare = nhantien('SHARE', $idshare, $tokenacc);
- if ($nhanshare["success"] == 200) {
- $xu = $nhanshare["data"]["xu"];
- $xujob = $nhanshare["data"]["msg"];
- $dem++;
- $idG = substr("$idshare",0,15);
- $jobshare="SHARE ";
- $xujob="+800";
- hoanthanh($dem, $jobshare, $idshare, $xujob, $xu);
- $nvdelay=$delayshare;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }else{
- echo $r;
- }
- }else{
- break;
- }
- }
- //follow
- if ($listsub !== NULL) {
- $idsub = $listsub[$lap]["id"];
- if ($idsub !== '') {
- $g = follow($access_token, $idsub, $cookie);
- if ($g -> {'error'} -> {'code'} == 190) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Văng !!!\n";
- array_splice($khocookie,$xz,1);
- $spam = 1; break;
- }
- if ($g -> {'error'} -> {'code'} == 368) {
- echo $do." Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons\n";
- echo $do." Tài Khoản Bị Block !!!\n";
- $spam = 1; break;
- }
- $nhansub = nhantien('FOLLOW', $idsub, $tokenacc);
- if ($nhansub["success"] == 200) {
- $xu = $nhansub["data"]["xu"];
- $xujob = $nhansub["data"]["msg"];
- $dem++;
- $jobfl="FOLLOW";
- $xujob="+600";
- hoanthanh($dem, $jobfl, $idsub, $xujob, $xu);
- $nvdelay=$delaysub;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }}
- //cmt
- if ($listcmt !== NULL) {
- $idcmt = $listcmt[$lap]["id"];
- $msg = $listcmt[$lap]["msg"];
- if ($idcmt !== '') {
- cmt($access_token, $idcmt, $cookie, $msg);
- $nhancmt = nhantien('COMMENT', $idcmt, $tokenacc);
- if ($nhancmt["success"] == 200) {
- $xu = $nhancmt["data"]["xu"];
- $xujob = $nhancmt["data"]["msg"];
- $dem++;
- $idG = substr("$idcmt",0,15);
- $jobcmt=" CMT ";
- $xujob="+600";
- hoanthanh($dem, $jobcmt, $idcmt, $xujob, $xu);
- $nvdelay=$delaycmt;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }}
- //cảm xúc
- if ($listcx !== NULL) {
- $idcx = $listcx[$lap]["id"];
- $type = $listcx[$lap]["type"];
- if ($idcx !== '') {
- camxuc($idcx, $type, $cookie);
- $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 ';
- }
- $xujob="+400";
- hoanthanh($dem, $type, $idsub, $xujob, $xu);
- $nvdelay=$delaycx;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }}
- //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++;
- $xujob="+600";
- if ($type == 'WOW') {
- $type = 'WOW.C';
- } elseif ($type == 'SAD') {
- $type = 'SAD.C ';
- } elseif ($type == 'ANGRY') {
- $type = 'AGRY.C';
- } elseif ($type == 'LOVE') {
- $type = 'LOVE.C';
- } elseif ($type == 'HAHA') {
- $type = 'HAHA.C';
- } elseif ($type == 'LIKE') {
- $type = 'LIKE.C';
- }
- hoanthanh($dem, $type, $idlikecmt, $xujob, $xu);
- $nvdelay=$delaycxcmt;
- delaytool($nvdelay);
- $delay1=$SBNNV;
- $delay2=$DLBNS;
- delayblock($delay1, $delay2, $max);
- if($dem % $doinick == 0){
- $spam = 1; break;
- }
- }
- }
- }
- }
- }
- }
- }
- function api($url) {
- $head = array(
- "Host: traodoisub.com",
- "cache-control: max-age=0",
- "upgrade-insecure-requests: 1",
- "user-agent: Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 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: 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_URL, 'https://graph.facebook.com/me/feed?method=POST&link=https://www.facebook.com/'.$id.'&privacy={%27value%27:%20%27EVERYONE%27}&access_token='.$access_token);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
- curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
- $headers = array();
- $headers[] = 'Authority: graph.facebook.com';
- $headers[] = 'Upgrade-Insecure-Requests: 1';
- $headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36';
- $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9';
- $headers[] = 'Sec-Fetch-Site: none';
- $headers[] = 'Sec-Fetch-Mode: navigate';
- $headers[] = 'Sec-Fetch-User: ?1';
- $headers[] = 'Sec-Fetch-Dest: document';
- $headers[] = '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';
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- $result = curl_exec($ch);
- if (curl_errno($ch)) {
- echo 'Error:' . curl_error($ch);
- }
- curl_close($ch);
- return $result;
- }
- 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, '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='.$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, '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
- :'));
- $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);
- print('https://mbasic.facebook.com'.$link2);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_exec($ch);
- print( curl_exec($ch));
- curl_close($ch);
- }
- function laytoken($cookie) {
- $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: 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 (Linux; Android 10; Mi 9T Pro) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/12.1 Chrome/79.0.3945.136 Mobile 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];
- }
- return $access_token;
- }
- function login($tokentds){
- $login = file_get_contents("https://traodoisub.com/api/?fields=profile&access_token=".$tokentds);
- return $login;
- }
- function hoanthanh($dem, $type, $id, $xujob, $xu) {
- $do = "\033[1;91m";
- $luc = "\033[1;92m";
- $vang = "\033[1;93m";
- $xduong = "\033[1;94m";
- $hong = "\033[1;95m";
- $trang = "\033[1;97m";
- $xnhac = "\033[1;96m";
- $idG = substr("$id",0,15);
- echo $vang."🌸[".$vang.$dem.$vang."]".$do." ● ".$xnhac.date("H:i")."".$do." ● ".$vang.$type.$do." ● ".$luc.$idG.$do." ● ".$luc.$xujob.$do." ● ".$vang.$xu." XU\e[0m\n";
- }
- function delaytool($nvdelay){
- $icon=70000;
- for($tt = $nvdelay ;$tt> 0;$tt--){
- echo "\r";
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(5000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•)\033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😶đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😉đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😉đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;32m \r";
- usleep($icon);
- echo "\r\033[1;97m \033[1;96m┗(•ˇ_ˇ•) \033[1;37m~\033[1;96m> \033[1;92m😛đợi\033[1;91m |\033[1;93m ".$tt."\033[1;91m | ";
- echo "\r";
- usleep(50000);
- echo "\r";}
- }
- function delayblock($delay1, $delay2){
- $xduong = "\033[1;94m";
- $max=$max+1;
- if ($max==$delay1){
- for($x = 0;$x<($delay2+1);$x++){
- echo $xduong." Tính Năng Chống Block Hoạt Động, Nghỉ ".($delay2-$x)." Giây\r";
- sleep(1);
- echo $xduong." \r";
- }
- $max=0;
- echo "\r";}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement