· 4 years ago · Aug 15, 2021, 10:06 AM
1error_reporting(E_WARNING);
2error_reporting(0);
3$ress = "\033[0;32m";
4$res = "\033[0;33m";
5$red = "\033[0;31m";
6$green = "\033[0;37m";
7$yellow = "\033[0;33m";
8$white = "\033[0;33m";
9$xnhac = "\033[1;96m";
10$den = "\033[1;90m";
11$do = "\033[1;91m";
12$luc = "\033[1;92m";
13$vang = "\033[1;93m";
14$xduong = "\033[1;94m";
15$hong = "\033[1;95m";
16$trang = "\033[1;97m";
17$do="\033[1;91m";
18$maufulldo= "\e[1;47;31m";
19$res="\033[0m";
20$red="\e[1;31m";
21$pink="\e[1;35m";
22$green="\e[1;32m";
23$yellow="\e[1;33m";
24$y2="\033[0;33m";
25$white= "\033[0;37m";
26$cyan= "\e[1;36m";
27$blue="\e[1;34m";
28$ngreen="\033[42m";
29$ngblack="\033[40m";
30$nen="\033[1;47;1;34m";
31date_default_timezone_set("Asia/Ho_Chi_Minh");
32$key = [];
33$x = date("d");
34$y = date("m");
35$gt = 2.3;
36$key=($x+$y)*($x+$y)+3940*$x*$gt+$x*$y;
37$key=intval($key);
38//info
39$info = [];
40$info='TTT Original';
41//day
42$day = [];
43$day= date('d-m-y');
44//config
45$today = date("d-m-Y");
46$d = date("d-m");
47$_check = file_exists("keytk4$d.txt");
48$checkvip = file_exists("keyvip.txt");
49@system('clear');
50banner();
51echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
52echo $white." ➻❥ ".$green."Site Mua Key Tool, Clone Giá Rẻ Của TTT Original\n";
53echo $white." ➻❥ ".$green."Link Web:$pink https://keytoolvip.ml/\n";
54for($v=0;$v<= 26;$v++){
55 echo "\033[1;37m▂";
56 echo "\033[1;36m▂";
57}
58echo "\033[1;37m▂";
59echo"\n\n";
60echo $white." ➻❥ ".$red."Có Thể Bạn Chưa Biết:$trang Không Cần Phải Xóa File Key Hôm Qua, Tool Sẽ Tự Động Xóa Nếu Bạn Sử Dụng Liên Tục\n";
61echo $white." ➻❥ ".$green."API Free:$yellow http://olalink.io/keytk5\n";
62if ($checkvip !='1'){
63if ($_check !='1'){
64$gh = date("d-m", strtotime("yesterday"));
65$yt = "keytk4$gh.txt";
66$_check2 = file_exists("$yt");
67if($_check2==1){
68 unlink("$yt");
69}
70echo $white." ➻❥ ".$green."Nhập API Key: $white";
71$keyy=trim(fgets(STDIN));
72}
73if ($_check =='1'){
74 $keyy = file_get_contents("keytk4$d.txt");
75 $vt = 1;
76 echo $white." ➻❥ ".$green."Đang Lấy Key...";
77 sleep(2);
78 echo "\r \r";
79}
80if($keyy == ''){
81 echo $white." ➻❥ ".$red."Key Không Hợp Lệ\n";
82 exit;
83}
84 if($keyy == $key)
85 {
86 echo $white." ➻❥ ".$green."Key Hợp Lệ\n";
87 $mf = fopen("keytk4$d.txt", "w");
88 fwrite($mf, $keyy);
89 fclose($mf);
90 }
91 else
92 {
93 $in = file_get_contents("http://keytoolvip.ml/check_info.php?key=$keyy");
94 if ($in==''){
95 echo $white." ➻❥ ".$red."Key Không Hợp Lệ\n";
96 exit;
97 }else{
98 echo $white." ➻❥ ".$green."Key Hợp Lệ\n";
99 $day = explode("|", $in)[2];
100 $today = date("d-m-Y");
101 if (strtotime($today) > strtotime($day)){
102 echo $white." ➻❥ ".$red."Key Đã Hết Hạn\n";
103 exit;
104 }
105 $inn = explode("|", $in)[0];
106 $info = explode("|", $in)[1];
107 $mf = fopen("keyvip.txt", "w");
108 fwrite($mf, $inn);
109 fclose($mf);
110 }
111 }
112}else{
113 $keyy = file_get_contents("keyvip.txt");
114 echo $white." ➻❥ ".$green."Đang Lấy Key...";
115 sleep(2);
116 echo "\r \r";
117 $in = file_get_contents("http://keytoolvip.ml/check_info.php?key=$keyy");
118 if ($in==''){
119 echo $white." ➻❥ ".$red."Key Không Hợp Lệ\n";
120 unlink("keyvip.txt");
121 exit;
122 }else{
123 echo $white." ➻❥ ".$green."Key Hợp Lệ\n";
124 $day = explode("|", $in)[2];
125 $today = date("d-m-Y");
126 if (strtotime($today) > strtotime($day)){
127 echo $white." ➻❥ ".$red."Key Đã Hết Hạn\n";
128 unlink("keyvip.txt");
129 exit;
130 }
131 $inn = explode("|", $in)[0];
132 $info = explode("|", $in)[1];
133 }
134}
135usleep(500000);
136@system('clear');
137banner();
138echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
139echo $white." ➻❥ ".$green."Site Mua Key Tool, Clone Giá Rẻ Của TTT Original\n";
140echo $white." ➻❥ ".$green."Link Web:$pink https://keytoolvip.ml/\n";
141$dem = 0;
142//@system('clear');
143for($v=0;$v<= 26;$v++){
144 echo "\033[1;37m▂";
145 echo "\033[1;36m▂";
146}
147echo "\033[1;37m▂";
148echo"\n\n";
149echo $white." ➻❥ ".$green."Tài khoản: $yellow".$info."$green - Hạn Sử Dụng: $yellow ".$day."\n\n";
150for($v=0;$v<= 26;$v++){
151 echo "\033[1;37m▂";
152 echo "\033[1;36m▂";
153}
154echo "\033[1;37m▂";
155echo"\n\n";
156$_SESSION['check'] = file_exists("log.txt");
157if ($_SESSION['check'] =='1'){
158echo $white." ➻❥ ".$green."Bạn Đã Đăng Nhập$cyan Trao Đổi Sub$green Trước Đó. Bấm$yellow Enter$green Để Tiếp Tục, Bấm $red No $green Để Đăng Nhập Tài Khoản Mới: ";
159$_SESSION['nhap'] = trim(fgets(STDIN));
160if ($_SESSION['nhap'] !='no' and $_SESSION['nhap'] != 'No' and $_SESSION['nhap'] !=''){
161echo $white." ➻❥ ".$red."Sai Định Dạng\n";
162exit;
163}
164if ($_SESSION['nhap'] =='no' or $_SESSION['nhap'] =='No'){
165$my = fopen("log.txt", "w+");
166echo $white." ➻❥ ".$green."Nhập Access Token TDS: ";
167$tokenacc =trim(fgets(STDIN));
168$arr = array("tokenacc"=> $tokenacc);
169fwrite($my,json_encode($arr));
170 $my = file("log.txt");
171$bb = file_get_contents('log.txt');
172$cc =json_decode($bb);
173}
174if ($_SESSION['nhap'] == ''){
175$bb = file_get_contents("log.txt");
176$cc =json_decode($bb);
177$tokenacc = $cc->{"tokenacc"};
178
179}
180} else {
181$my = fopen("log.txt","w+");
182echo $white." ➻❥ ".$green."Nhập Access Token TDS: ";
183$tokenacc =trim(fgets(STDIN));
184$arr = array("tokenacc"=> $tokenacc);
185fwrite($my,json_encode($arr));
186}
187$m = login($tokenacc);
188$mm = json_decode($m);
189$sss = $mm->{"success"};
190if ($sss=='200'){
191 echo $white." ➻❥ ".$green."Đăng Nhập Thành Công\n";
192 // get xu
193 $user = $mm->{"data"}->{"user"};
194 $xuhientai = $mm->{"data"}->{"xu"};
195}else{
196 echo $white." ➻❥ ".$red."Sai Access Token Trao Đổi Sub\n";
197 exit;
198}
199usleep(100000);
200do {
201@system('clear');
202banner();
203echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
204echo $white." ➻❥ ".$green."Site Mua Key Tool, Clone Giá Rẻ Của TTT Original\n";
205echo $white." ➻❥ ".$green."Link Web:$pink https://keytoolvip.ml/\n";
206for($v=0;$v<= 26;$v++){
207 echo "\033[1;37m▂";
208 echo "\033[1;36m▂";
209}
210echo "\033[1;37m▂";
211echo"\n\n";
212//cookie
213$khocookie = [];
214
215echo $white." ➻❥ ".$green."Link Lấy Token: https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed\n";
216echo $white." ➻❥ ".$green."Nhập Token Facebook.$yellow Dừng Thì Bấm Xuống Hàng Nha\n";
217for($a = 1; $a < 999999;$a++){
218echo $white." ➻❥ ".$green."Nhập Token Thứ $a: $vang";
219$nhapck = (string)trim(fgets(STDIN));
220if($nhapck == ''){break;}
221$access_token = $nhapck;
222$gg = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token));
223$tenfb = $gg-> {'name'};
224$idfb = $gg-> {'id'};
225if($idfb==''){
226 echo "\r";
227 echo " \r";
228 echo $white." ➻❥ ".$red."Token Die\n";
229 $a = $a-1;
230}else{
231$tx = $idfb."|".$tenfb."|".$access_token;
232array_push($khocookie,$tx);
233}
234}
235
236$demcki=count($khocookie);
237
238echo $white." ➻❥ ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Token Facebook\n";
239
240
241usleep(300000);
242} while (count($khocookie)==0);
243//url
244$urlinfo = "https://traodoisub.com/api/?fields=profile&access_token=$tokenacc";
245$urllike = "https://traodoisub.com/api/?fields=like&access_token=$tokenacc";
246$urlsub = "https://traodoisub.com/api/?fields=follow&access_token=$tokenacc";
247$urlshare = "https://traodoisub.com/api/?fields=share&access_token=$tokenacc";
248$urlcmt = "https://traodoisub.com/api/?fields=comment&access_token=$tokenacc";
249
250//$thongtin
251
252system('clear');
253banner();
254echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
255echo $white." ➻❥ ".$green."Site Mua Key Tool, Clone Giá Rẻ Của TTT Original\n";
256echo $white." ➻❥ ".$green."Link Web:$pink https://keytoolvip.ml/\n";
257for($v=0;$v<= 26;$v++){
258 echo "\033[1;37m▂";
259 echo "\033[1;36m▂";
260}
261echo "\033[1;37m▂";
262echo"\n\n";
263echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."1".$do."]".$luc." Để Chọn Nhiệm Vụ Like\n";
264echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."2".$do."]".$luc." Để Chọn Nhiệm Vụ Follow\n";
265
266echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."3".$do."]".$luc." Để Chọn Nhiệm Vụ Comment\n";
267
268echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."4".$do."]".$luc." Để Chọn Nhiệm Vụ Share\n";
269
270echo $white." ➻❥ ".$green."Muốn Chọn Random Thì Ghép Số Lại (Ví Dụ 1+2)\n";
271echo $white." ➻❥ ".$green."Vui Lòng Chọn Nhiệm Vụ: $vang";
272$nhiemvu = trim(fgets(STDIN));
273echo $white." ➻❥ ".$green."Nhập Thời Gian Min: $vang";
274$thoigianmin = trim(fgets(STDIN));
275echo $white." ➻❥ ".$green."Nhập Thời Gian Max: $vang";
276$thoigianmax = trim(fgets(STDIN));
277echo $white." ➻❥ ".$green."Sau Bao Nhiêu Nhiệm Vụ Thì Dừng Chống Block: $vang";
278$xxxxx = trim(fgets(STDIN));
279echo $white." ➻❥ ".$green."Sau ".$vang.$xxxxx.$luc." Nhiệm Vụ Nghỉ Ngơi Bao Nhiêu Giây: $vang";
280$delaybl = trim(fgets(STDIN));
281echo $white." ➻❥ ".$green."Chuyển Nick Sau Bao Nhiêu Nhiệm Vụ: $vang";
282$doinick = trim(fgets(STDIN));
283echo $white." ➻❥ ".$green."Chạy Bao Nhiêu Nhiệm Vụ Rồi Dừng Tool: $vang";
284$dungtool = trim(fgets(STDIN));
285sleep(1);
286system('clear');
287banner();
288echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
289echo $white." ➻❥ ".$green."Site Mua Key Tool, Clone Giá Rẻ Của TTT Original\n";
290echo $white." ➻❥ ".$green."Link Web:$pink https://keytoolvip.ml/\n";
291for($v=0;$v<= 26;$v++){
292 echo "\033[1;37m▂";
293 echo "\033[1;36m▂";
294}
295echo "\033[1;37m▂";
296echo"\n\n";
297echo $white." ➻❥ ".$green."Tài Khoản: ".$vang.$user."\n";
298echo $white." ➻❥ ".$green."Xu Hiện Tại: ".$pink.$xuhientai."\n";
299for($v=0;$v<= 26;$v++){
300 echo "\033[1;37m▂";
301 echo "\033[1;36m▂";
302}
303echo "\033[1;37m▂";
304echo"\n\n";
305while(true){
306 if(count($khocookie) == 0){
307echo $white." ➻❥ ".$green."Link Lấy Token: https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed\n";
308echo $white." ➻❥ ".$green."Nhập Token Facebook.$yellow Dừng Thì Bấm Xuống Hàng Nha\n";
309for($a = 1; $a < 999999;$a++){
310echo $white." ➻❥ ".$green."Nhập Token Thứ $a: $vang";
311$nhapck = (string)trim(fgets(STDIN));
312if($nhapck == ''){break;}
313$access_token = $nhapck;
314$gg = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token));
315$tenfb = $gg-> {'name'};
316$idfb = $gg-> {'id'};
317if($idfb==''){
318 echo $white." ➻❥ ".$red."Token Die\n";
319 $a = $a-1;
320}else{
321$tx = $idfb."|".$tenfb."|".$access_token;
322array_push($khocookie,$tx);
323}
324}
325$demcki=count($khocookie);
326echo $white." ➻❥ ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Token Facebook\n";
327 }
328for($xz=0;$xz<count($khocookie);$xz++){
329 $account = $khocookie[$xz];
330 $idfb = explode("|",$account)[0];
331 $tenfb = explode("|",$account)[1];
332 $access_token = explode("|",$account)[2];
333 $cookie = '';
334$urlcauhinh = "https://traodoisub.com/api/?fields=run&id=$idfb&access_token=$tokenacc";
335$cauhinh = api($urlcauhinh);
336if($cauhinh == ''){
337 echo "\r";
338 echo " \r";
339 echo $white." ➻❥ ".$red."Internet Không Ổn Định, Tiếp Tục Khi Kết Nối Oke\r";
340 while($cauhinh==''){
341 $cauhinh = api($urlcauhinh);
342 }
343}
344if ($cauhinh["data"]["msg"] == "Cấu hình thành công!") {
345 echo $white." ➻❥ ".$green."Đang Cấu Hình $vang".$tenfb."".$res."\n";
346
347} else {
348 echo $white." ➻❥ ".$red."Cấu Hình Thất Bại Có Thể Do Bạn Chưa Thêm $tenfb Vào Cấu Hình\n";
349 array_splice($khocookie,$xz,1);
350 continue;
351}
352$spam = 0;
353while (true) {
354 if ($spam == 1) {
355 break;
356 }
357 //listlike
358 if (strpos($nhiemvu, '1') !== false) {
359 $listlike = api($urllike);
360 if($listlike == ''){
361 echo "\r";
362 echo " \r";
363 echo $white." ➻❥ ".$red."Internet Không Ổn Định, Tiếp Tục Khi Kết Nối Oke\r";
364 while($listlike==''){
365 $listlike = api($urllike);
366 }
367 }
368 if (count($listlike) == 0) {
369 echo "\r";
370 echo " \r";
371 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Like\r";
372 }
373 }else{
374 $listlike = '';
375 }
376 //listfollow
377 if (strpos($nhiemvu, '2') !== false) {
378 $listsub = api($urlsub);
379 if($listsub == ''){
380 echo "\r";
381 echo " \r";
382 echo $white." ➻❥ ".$red."Internet Không Ổn Định, Tiếp Tục Khi Kết Nối Oke\r";
383 while($listsub==''){
384 $listsub = api($urlsub);
385 }
386 }
387 if (count($listsub) == 0) {
388 echo "\r";
389 echo " \r";
390 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Follow\r";
391 }
392 }else{
393 $listsub = '';
394 }
395 //listcmt
396 if (strpos($nhiemvu, '3') !== false) {
397 $listcmt = api($urlcmt);
398 if($listcmt == ''){
399 echo "\r";
400 echo " \r";
401 echo $white." ➻❥ ".$red."Internet Không Ổn Định, Tiếp Tục Khi Kết Nối Oke\r";
402 while($listcmt==''){
403 $listcmt = api($urlcmt);
404 }
405 }
406 if (count($listcmt) == 0) {
407 echo "\r";
408 echo " \r";
409 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Comment\r";
410 }
411 }else{
412 $listcmt = '';
413 }
414 //share
415 if (strpos($nhiemvu, '4') !== false) {
416 $listshare = api($urlshare);
417 if($listshare == ''){
418 echo "\r";
419 echo " \r";
420 echo $white." ➻❥ ".$red."Internet Không Ổn Định, Tiếp Tục Khi Kết Nối Oke\r";
421 while($listshare==''){
422 $listshare = api($urlshare);
423 }
424 }
425 if (count($listshare) == 0) {
426 echo "\r";
427 echo " \r";
428 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Share\r";
429 }
430 }else{
431 $listshare = '';
432 }
433
434 for ($lap = 0; $lap < 20; $lap++) {
435 // like
436 if ($listlike != NULL) {
437 $idlike = $listlike[$lap]["id"];
438 if ($idlike != '') {
439
440 $g = like($access_token, $idlike, $cookie);
441 $nhanlike = nhantien('LIKE', $idlike, $tokenacc);
442 if ($nhanlike["success"] == 200) {
443 $xu = $nhanlike["data"]["xu"];
444 $xujob = $nhanlike["data"]["msg"];
445 $dem++;
446
447 hoanthanh($dem, ' LIKE ', $idlike, $xujob, $xu);
448 if ( $dem >= $dungtool ){
449 $dungtool = 999999;
450 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
451 exit;
452 }
453 if($dem % $doinick == 0){
454 if (count($khocookie)>1){
455 $spam = 1; break;
456 }
457 }
458 if($dem % $xxxxx == 0){
459 delay2($delaybl);
460 }
461
462 $delay = rand($thoigianmin, $thoigianmax);
463 delay($delay);
464 }else{
465 if ($g -> {'error'} -> {'code'} == 190) {
466 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
467 echo "\r";
468 echo " \r";
469 echo $white." ➻❥ ".$red."Token Die\n";
470 array_splice($khocookie,$xz,1);
471 $spam = 1; break;
472 }
473 }
474 if ($g -> {'error'} -> {'code'} == 368) {
475echo "\r";
476echo " \r";
477echo $white." ➻❥ \033[1;91mĐợi 5s Check Xem Có Block Ảo Không\r";
478sleep(5);
479 $idao = idao('like',$tokenacc);
480 $tai = like($access_token,$idao, $cookie);
481 if ($tai -> {'error'} -> {'code'} == 368) {
482 echo "\r";
483 echo " \r";
484 echo $white." ➻❥ \033[1;91m".$tai-> {'error'}-> {'message'};
485 echo "\n";
486 array_splice($khocookie,$xz,1);
487 $spam = 1;
488 break;
489 }}
490
491 }
492 }}
493 //follow
494 if ($listsub != '') {
495 $idsub = $listsub[$lap]["id"];
496 if ($idsub != '') {
497
498 $g = follow($access_token, $idsub, $cookie);
499 $nhansub = nhantien('FOLLOW', $idsub, $tokenacc);
500 if ($nhansub["success"] == 200) {
501 $xu = $nhansub["data"]["xu"];
502 $xujob = $nhansub["data"]["msg"];
503 $dem++;
504 hoanthanh($dem, 'FOLLOW', $idsub, $xujob, $xu);
505 if ( $dem >= $dungtool ){
506
507 $dungtool = 999999;
508 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
509 exit;
510 }
511 if($dem % $doinick == 0){
512 if (count($khocookie)>1){
513 $spam = 1; break;
514 }
515 }
516 if($dem % $xxxxx == 0){
517 delay2($delaybl);
518 }
519
520 $delay = rand($thoigianmin, $thoigianmax);
521 delay($delay);
522 }else{
523 if ($g -> {'error'} -> {'code'} == 190) {
524 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
525 echo "\r";
526 echo " \r";
527 echo $white." ➻❥ ".$red."Token Die\n";
528 array_splice($khocookie,$xz,1);
529 $spam = 1; break;
530 }
531 }
532 if ($g -> {'error'} -> {'code'} == 368) {
533echo "\r";
534echo " \r";
535echo $white." ➻❥ \033[1;91mĐợi 5s Check Xem Có Block Ảo Không\r";
536sleep(5);
537$idao = idao('follow',$tokenacc);
538 $tai = follow($access_token,$idao, $cookie);
539 if ($tai -> {'error'} -> {'code'} == 368) {
540 echo "\r";
541 echo " \r";
542 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
543 echo "\n";
544 array_splice($khocookie,$xz,1);
545 $spam = 1;
546 break;
547 }}
548
549 }
550 }}
551
552 //share
553 if ($listshare != '') {
554 $id = $listshare[$lap]["id"];
555 if ($id != '') {
556
557 $g = share($access_token, $id);
558 $nhanshare = nhantien('SHARE', $id, $tokenacc);
559 if ($nhanshare["success"] == 200) {
560 $xu = $nhanshare["data"]["xu"];
561 $xujob = $nhanshare["data"]["msg"];
562 $dem++;
563 hoanthanh($dem, 'SHARE', $id, $xujob, $xu);
564 if ( $dem >= $dungtool ){
565 $dungtool = 999999;
566 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
567 exit;
568 }
569 if($dem % $doinick == 0){
570 if (count($khocookie)>1){
571 $spam = 1; break;
572 }
573 }
574 if($dem % $xxxxx == 0){
575 delay2($delaybl);
576 }
577 $delay = rand($thoigianmin, $thoigianmax);
578 delay($delay);
579 }else{
580 if ($g -> {'error'} -> {'code'} == 190) {
581 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
582 echo "\r";
583 echo " \r";
584 echo $white." ➻❥ ".$red."Token Die\n";
585 array_splice($khocookie,$xz,1);
586 $spam = 1; break;
587 }
588 }
589 if ($g -> {'error'} -> {'code'} == 368) {
590echo "\r";
591echo " \r";
592echo $white." ➻❥ \033[1;91mĐợi 5s Check Xem Có Block Ảo Không\r";
593sleep(5);
594 $tai = share($access_token,'10103832396388711');
595 if ($tai -> {'error'} -> {'code'} == 368) {
596 echo "\r";
597 echo " \r";
598 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
599 echo "\n";
600 array_splice($khocookie,$xz,1);
601 $spam = 1;
602 break;
603 }}
604 }
605 }}
606 //cmt
607 if ($listcmt != '') {
608 $idcmt = $listcmt[$lap]["id"];
609 $msg = $listcmt[$lap]["msg"];
610 if ($idcmt != '') {
611 $g = cmt($access_token, $idcmt, $cookie, $msg);
612
613
614 $nhancmt = nhantien('COMMENT', $idcmt, $tokenacc);
615 if ($nhancmt["success"] == 200) {
616 $xu = $nhancmt["data"]["xu"];
617 $xujob = $nhancmt["data"]["msg"];
618 $dem++;
619 hoanthanh($dem, ' CMT ', $idcmt, $xujob, $xu);
620 if ( $dem >= $dungtool ){
621 $dungtool = 999999;
622 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
623 exit;
624 }
625 if($dem % $doinick == 0){
626 if (count($khocookie)>1){
627 $spam = 1; break;
628 }
629 }
630 if($dem % $xxxxx == 0){
631 delay2($delaybl);
632 }
633
634 $delay = rand($thoigianmin, $thoigianmax);
635 delay($delay);
636 }else{
637 if ($g -> {'error'} -> {'code'} == 190) {
638 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
639 echo "\r";
640 echo " \r";
641 echo $white." ➻❥ ".$red."Token Die\n";
642 array_splice($khocookie,$xz,1);
643 $spam = 1; break;
644 }
645 }
646 if ($g -> {'error'} -> {'code'} == 368) {
647echo "\r";
648echo " \r";
649echo $white." ➻❥ \033[1;91mĐợi 5s Check Xem Có Block Ảo Không\r";
650sleep(5);
651 $tai = cmt($access_token,'10103832396388711', $cookie,'ttt original');
652 if ($tai -> {'error'} -> {'code'} == 368) {
653 echo "\r";
654 echo " \r";
655 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
656 echo "\n";
657 array_splice($khocookie,$xz,1);
658 $spam = 1;
659 break;
660 }}
661
662 }
663 }}
664
665
666
667 }
668}}}
669function api($url) {
670 $head = array(
671 "Host: traodoisub.com",
672 "cache-control: max-age=0",
673 "upgrade-insecure-requests: 1",
674 "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",
675 "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",
676 "sec-fetch-site: none",
677 "sec-fetch-mode: navigate",
678 "sec-fetch-user: ?1",
679 "sec-fetch-dest: document",
680 //"accept-encoding: gzip, deflate, br",
681 "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",
682 );
683 $ch = curl_init();
684 curl_setopt_array($ch, array(
685 CURLOPT_URL => $url,
686 CURLOPT_CUSTOMREQUEST => "GET",
687 CURLOPT_HTTPHEADER => $head,
688 CURLOPT_SSL_VERIFYPEER => FALSE,
689 CURLOPT_RETURNTRANSFER => 1
690 ));
691 $get = curl_exec($ch);
692 curl_close($ch);
693 return json_decode($get, true);
694}
695function nhantien($type, $id, $tokenacc) {
696 $nhan = file_get_contents("https://traodoisub.com/api/coin/?type=$type&id=$id&access_token=$tokenacc");
697 return json_decode($nhan, true);
698}
699function follow($access_token,$id,$cookie){
700 $ch=curl_init();
701 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/subscribers');
702 $head[] = "Connection: keep-alive";
703 $head[] = "Keep-Alive: 300";
704 $head[] = "authority: m.facebook.com";
705 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
706 $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";
707 $head[] = "cache-control: max-age=0";
708 $head[] = "upgrade-insecure-requests: 1";
709 $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";
710 $head[] = "sec-fetch-site: none";
711 $head[] = "sec-fetch-mode: navigate";
712 $head[] = "sec-fetch-user: ?1";
713 $head[] = "sec-fetch-dest: document";
714 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');
715 curl_setopt($ch, CURLOPT_ENCODING, '');
716 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
717 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
718 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
719 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
720 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
721 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
722 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
723 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
724 $data = array('access_token' => $access_token);
725 curl_setopt($ch, CURLOPT_POST,count($data));
726 curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
727 $access = curl_exec($ch);
728 curl_close($ch);
729 return json_decode($access);
730}
731
732
733function share($access_token,$id) {
734 $ch=curl_init();
735curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
736curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v2.0/me/feed');
737curl_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');
738$data = array(
739'privacy' => '{"value":"EVERYONE"}',
740'message' => '',
741'link' => 'https://mbasic.facebook.com/'.$id.'',
742'access_token' => $access_token
743);
744curl_setopt($ch, CURLOPT_POST,count($data));
745curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
746$a = json_decode(curl_exec($ch), true);
747curl_close($ch);
748 return $a;
749}
750function like($access_token, $id, $cookie) {
751 $ch = curl_init();
752 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/likes');
753 $head[] = "Connection: keep-alive";
754 $head[] = "Keep-Alive: 300";
755 $head[] = "authority: m.facebook.com";
756 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
757 $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";
758 $head[] = "cache-control: max-age=0";
759 $head[] = "upgrade-insecure-requests: 1";
760 $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";
761 $head[] = "sec-fetch-site: none";
762 $head[] = "sec-fetch-mode: navigate";
763 $head[] = "sec-fetch-user: ?1";
764 $head[] = "sec-fetch-dest: document";
765 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');
766 curl_setopt($ch, CURLOPT_ENCODING, '');
767 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
768 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
769 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
770 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
771 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
772 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
773 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
774 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
775 $data = array('access_token' => $access_token);
776 curl_setopt($ch, CURLOPT_POST, count($data));
777 curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
778 $access = curl_exec($ch);
779 curl_close($ch);
780 return json_decode($access);
781
782}
783function cmt($access_token, $idcmt, $cookie, $msg) {
784 $ch = curl_init();
785 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idcmt.'/comments');
786 $head[] = "Connection: keep-alive";
787 $head[] = "Keep-Alive: 300";
788 $head[] = "authority: m.facebook.com";
789 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
790 $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";
791 $head[] = "cache-control: max-age=0";
792 $head[] = "upgrade-insecure-requests: 1";
793 $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";
794 $head[] = "sec-fetch-site: none";
795 $head[] = "sec-fetch-mode: navigate";
796 $head[] = "sec-fetch-user: ?1";
797 $head[] = "sec-fetch-dest: document";
798 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');
799 curl_setopt($ch, CURLOPT_ENCODING, '');
800 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
801 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
802 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
803 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
804 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
805 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
806 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
807 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
808 $data = array('message' => $msg, 'access_token' => $access_token);
809 curl_setopt($ch, CURLOPT_POST, count($data));
810 curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
811 $access = curl_exec($ch);
812 curl_close($ch);
813 return json_decode($access);
814}
815function hoanthanh($dem, $type, $id, $xujob, $xu) {
816 echo "\r";
817 echo " \r";
818 $a = "\033[1;93m[\033[1;93m".$dem."\033[1;93m]\033[1;91m ● \033[1;96m".date("H:i")."\033[1;91m ●\033[1;93m $type\033[1;91m ● \033[1;97m".$id." \033[1;91m● \033[1;93m".$xu." xu\e[0m\n";
819 $len = strlen($a);
820 for ($x = 0; $x < $len; $x++) {
821 echo $a[$x];
822 usleep(6000);
823 }
824}
825function delay($delay) {
826 $time = $delay;
827 for ( $x = $time; $x--; $x ) {
828 echo " \r";
829 echo "\e[1;32m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;31m▉\e[1;32m■\e[1;33m■\e[1;34m■\e[1;35m■\e[1;37m〙".$x." \e[1;33mgiây";
830 usleep(185000);
831 echo "\r";
832 echo " \r";
833 echo "\e[1;36m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;33m■\e[1;34m▉\e[1;35m■\e[1;36m■\e[1;31m■\e[1;37m〙".$x."\e[1;34m giây";
834 usleep(185000);
835 echo "\r";
836 echo " \r";
837 echo "\e[1;34m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;34m■\e[1;35m■\e[1;36m▉\e[1;31m■\e[1;33m■\e[1;37m〙".$x."\e[1;31m giây";
838 usleep(185000);
839 echo "\r";
840 echo " \r";
841 echo "\e[1;33m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;35m■\e[1;36m■\e[1;31m■\e[1;33m▉\e[1;34m■\e[1;37m〙".$x."\e[1;32m giây";
842 usleep(185000);
843 echo "\r";
844 echo " \r";
845 echo "\e[1;31m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;33m■\e[1;32m■\e[1;31m■\e[1;35m■\e[1;36m▉\e[1;37m〙".$x."\e[1;36m giây";
846 usleep(185000);
847 echo "\r";
848
849}}
850function laytoken($cookie) {
851 $ch = curl_init();
852 curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
853 $head[] = "Connection: keep-alive";
854 $head[] = "Keep-Alive: 300";
855 $head[] = "authority: m.facebook.com";
856 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
857 $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";
858 $head[] = "cache-control: max-age=0";
859 $head[] = "upgrade-insecure-requests: 1";
860 $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";
861 $head[] = "sec-fetch-site: none";
862 $head[] = "sec-fetch-mode: navigate";
863 $head[] = "sec-fetch-user: ?1";
864 $head[] = "sec-fetch-dest: document";
865 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');
866 curl_setopt($ch, CURLOPT_ENCODING, '');
867 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
868 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
869 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
870 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
871 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
872 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
873 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
874 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
875 $access = curl_exec($ch);
876 curl_close($ch);
877 if (explode('\",\"useLocalFilePreview', explode('accessToken\":\"', $access)[1])[0]) {
878 $access_token = explode('\",\"useLocalFilePreview', explode('accessToken\":\"', $access)[1])[0];
879 }
880 return $access_token;
881}
882function login($tokentds){
883 $login = file_get_contents("https://traodoisub.com/api/?fields=profile&access_token=".$tokentds);
884 return $login;
885}
886function banner(){
887$t = "
888║ \033[1;92m____ __ __ \033[1;91mBản Quyền: Tài Handsome \e[1;33m║
889\e[1;33m║ \033[1;92m(_ _)/ _\ ( ) \033[1;96mYouTube: TTT Original ♪ \e[1;33m║
890\e[1;33m║ \033[1;92m)( / \ )( \033[1;97mWebsite: https://keytoolvip.ml/ \e[1;33m║
891\e[1;33m║ \033[1;92m(__)\_/\_/(__) \033[1;94mVersion:\033[1;97m Token V5 \e[1;33m║
892";
893echo "\e[1;33m╔═════════════════════════════════════════════════════╗\n";
894echo "║ ║";
895echo $t;
896echo "║ ║\n";
897echo "\e[1;33m╚═════════════════════════════════════════════════════╝\n";
898}
899function delay2($time){
900 $green="\e[1;32m";
901 $yellow="\e[1;33m";
902 for($j = $time;$j> 0;$j--){
903 echo "\r";
904 echo " \r";
905 echo $green."Đang Chờ Delay Tránh Block$yellow $j Giây";
906 sleep(1);
907
908 }
909 echo "\r";
910 echo " \r";
911}
912function idao($loai,$tokenacc){
913 $cur = file_get_contents("https://traodoisub.com/api/?fields=$loai&access_token=$tokenacc");
914 $list = json_decode($cur,true);
915 $id = $list[0]["id"];
916 if($id == ''){
917 $id = '10103832396388711';
918 }
919 return $id;
920}