Advertisement
danhcltx

cmt

Aug 14th, 2021
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.91 KB | None | 0 0
  1. error_reporting(0);
  2. session_start();
  3. date_default_timezone_set('Asia/Ho_Chi_Minh');
  4. $res="\033[0m";
  5. $red="\033[0;31m";
  6. $white= "\033[0;37m";
  7. $whiteb= "\033[0;37m";
  8. $redb="\033[1;31m";
  9. $green="\033[0;32m";
  10. $yellow="\033[1;33m";
  11. $cam="\033[0;33m";
  12. $test="\033[1;33m";
  13. $greenb="\033[1;32m";
  14. $blue="\033[0;34m";
  15. $lam="\033[1;34m";
  16. $tmi="\033[1;34m";
  17. $hong="\033[1;35m";
  18. $imt="\033[1;35m";
  19. $cyan= "\e[1;36m";
  20. $syan="\033[1;36m";
  21. $xnhac= "\033[1;96m";
  22. $den="\033[1;90m";
  23. $do="\033[1;91m";
  24. $luc="\033[1;92m";
  25. $vang="\033[1;93m";
  26. $xduong="\033[1;94m";
  27. $hong="\033[1;95m";
  28. $trang="\033[1;97m";
  29. $vang="\033[1;93m";
  30. $do="\033[1;91m";
  31. $luc="\033[1;92m";
  32. system('clear');
  33. echo "\033[1;93m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n";
  34. echo "\033[1;93m┃ \033[1;93m┃\033[1;92m☞ YouTube: \033[0;34mDanh Võ \033[1;93m┃
  35. \033[1;93m┃ \033[1;31m█▀▄ ▄▀█ █▄ █ █▄█ \033[1;93m┃\033[1;92m☞ zalo:\033[1;36m 0929533616 \033[1;93m┃
  36. \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;31m100069088879543 \033[1;93m┃ \n";
  37. echo "\033[1;93m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
  38.  
  39. $idtt=array('762767021311995','980144015726595','1288887894808693','131602318783907','1061209311049678','2866448556957129',
  40. '467428001304373','245859133578621','905468430194290','242477277278507','3618144951637581','439018480615758','185149753398011',
  41. '405673514042050','474723310199617','1039420123234062','2783183718607286','408281523774032','229641248628476','1874293939385535',
  42. '2724995331051315','1292749704426757','406830923939505','1134225413693317','157537352830479','1654552341413537','413551359908451',
  43. '2807782742796603','3742430302543922','10159012768889074','1104149066735618','836161930572738','10159017480529074','10161025222900620',
  44. '2939073326314226','1094141187716245','10159045575974074','3613184585434202','1559459794442974','3451131548348628','128550975607452','434871871258244','101603141707660','215386277001223','1189258874805543','157114565713584','1319600178441106',
  45. '213279700447922','863399151077410','105436126300820','892568924879063','919508185546724','1328614190836948','3994296237255555',
  46. '1248553802204908','229641248628476','115736076712213','362309461879523','113794429577576','938089306929339');
  47. //nhập dữ liệu
  48. @system('clear');
  49. echo $banner;
  50. echo $logo;
  51. echo "\033[1;95mNhập Số Cookie Cần Làm(<3): \033[1;97m";
  52. $sluong=trim(fgets(STDIN));
  53. $mangcookie=[];
  54. if ($sluong >= 1){
  55. echo "\033[1;93mNhập Cookiea thứ 1: \033[1;92m";
  56. array_push($mangcookie,trim(fgets(STDIN)));;
  57. }
  58. if ($sluong >= 2){
  59. echo "\033[1;93mNhập Cookie thứ 2: \033[1;92m";
  60. array_push($mangcookie,trim(fgets(STDIN)));
  61. }
  62. if ($sluong >= 3){
  63. echo "\033[1;93mNhập Cookie thứ 3: \033[1;92m";
  64. array_push($mangcookie,trim(fgets(STDIN)));
  65. }
  66. if($sluong>3){
  67. exit("\033[1;91mĐã Quá 3 Nick Facebook , Tối Đa 3 Tài Khoản Nhé !, Nếu Không Sẽ Bị Die Đấy\n");
  68. }
  69. @system("clear");
  70. echo $banner;
  71. echo $logo;
  72. echo "\033[1;93m🌺 Delay Nhiệm Vụ:\033[1;95m ";
  73. $timedelay=trim(fgets(STDIN));
  74. echo "\033[1;93m🌼 Nhập Nội Dung Comment:\033[1;95m ";
  75. $msg=trim(fgets(STDIN));
  76. if ($sluong < 1) {
  77. } elseif ($sluong > 1) {
  78. echo "\033[1;93m🌸 Đổi Nick Sao Bao Nhiêu CMT:\033[1;95m ";
  79. $_SESSION['doinick'] = trim(fgets(STDIN));
  80. }
  81. echo "\033[1;33m─────────────────────────────────────────────────────────────────\n";
  82. usleep(300000);
  83. while (true){
  84. for($xz=0;$xz<count($mangcookie);$xz++){
  85. $cookie = $mangcookie[$xz];
  86. if(count($mangcookie)==0){echo $do."Cookie đã die hết rồi, vui lòng lấy lại cookie mới\n";die();}
  87. #get_token
  88. $ch=curl_init();
  89. curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
  90. $head[] = "Connection: keep-alive";
  91. $head[] = "Keep-Alive: 300";
  92. $head[] = "authority: m.facebook.com";
  93. $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  94. $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";
  95. $head[] = "cache-control: max-age=0";
  96. $head[] = "upgrade-insecure-requests: 1";
  97. $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";
  98. $head[] = "sec-fetch-site: none";
  99. $head[] = "sec-fetch-mode: navigate";
  100. $head[] = "sec-fetch-user: ?1";
  101. $head[] = "sec-fetch-dest: document";
  102. 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');
  103. curl_setopt($ch, CURLOPT_ENCODING, '');
  104. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  105. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  106. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  107. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  108. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  109. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  110. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  111. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
  112. $access = curl_exec($ch);
  113. curl_close($ch);
  114. if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
  115. $access_token = explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
  116. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){
  117. $idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'};
  118. $tenfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token=' . $access_token))->{'name'};
  119. }else{
  120. echo $do."Cookie Die Hoặc Out Rồi\n";
  121. exit;
  122. }
  123. }
  124. echo "\033[1;96mĐang Dùng Facebook:\033[1;95m ".$name." \033[1;36mĐể Spam\n";
  125. $doi=0;
  126. while(true){
  127. if ($die>0){
  128. $die=0;
  129. break;
  130. }
  131. $id=$idtt[array_rand($idtt)];
  132. cmt($access_token,$id,$cookie,$msg);
  133. $timme=date('H:i');
  134. $stt=$stt+1;
  135. echo " \r";
  136. echo "\033[1;33m[\033[1;36m".$stt."\033[1;33m]\033[1;37m ⇆ \033[1;91m[".$timme."]\033[1;37m => ";
  137. usleep(130000);
  138. echo "\033[1;33mComment\033[1;31m ●\033[1;37m ID:\033[1;35m".$id."";
  139. usleep(130000);
  140. echo "\033[1;31m ●\033[1;32m Thành Công";
  141. usleep(130000);
  142. echo "\033[1;31m ● \033[1;36mNội Dung:\033[1;34m".$msg." 🌺\n";
  143. usleep(90000);
  144. if ($timedelay < 1) {
  145. } elseif ( $timedelay > 1) {
  146. for($i = $timedelay;$i>-1;$i--) {
  147. for ( $m = 30; $m < 38; $m++ ) {
  148. echo "\033[1;37m ↹\033[1;32m \033[1;".$m."mVui Lòng Đợi \033[1;36m".$i."\033[1;32m s\033[0m \r";
  149. usleep(130000);}}
  150. }
  151. $doi=$doi+1;
  152. if ($_SESSION['doinick']==$doi){
  153. $tt=likebb($cookie);
  154. echo"\033[1;37m=> \033[1;92mĐã Like 1 Bài Viết Của Bạn Bè Để Chống Block\n";
  155. break;
  156. $doi=0;
  157. }
  158. }
  159. }
  160. }
  161. function cmt($access_token,$id,$cookie,$msg){
  162. $ch=curl_init();
  163. curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/comments');
  164. $head[] = "Connection: keep-alive";
  165. $head[] = "Keep-Alive: 300";
  166. $head[] = "authority: m.facebook.com";
  167. $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  168. $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";
  169. $head[] = "cache-control: max-age=0";
  170. $head[] = "upgrade-insecure-requests: 1";
  171. $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";
  172. $head[] = "sec-fetch-site: none";
  173. $head[] = "sec-fetch-mode: navigate";
  174. $head[] = "sec-fetch-user: ?1";
  175. $head[] = "sec-fetch-dest: document";
  176. 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');
  177. curl_setopt($ch, CURLOPT_ENCODING, '');
  178. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  179. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  180. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  181. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  182. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  183. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  184. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  185. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
  186. $data = array('message' => $msg,'access_token' => $access_token);
  187. curl_setopt($ch, CURLOPT_POST,count($data));
  188. curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
  189. $access = curl_exec($ch);
  190. curl_close($ch);
  191. return json_decode($access);
  192. }
  193. function likebb($cookie){
  194. $ch = curl_init();
  195. curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/home.php');
  196. $head[] = "Connection: keep-alive";
  197. $head[] = "Keep-Alive: 300";
  198. $head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  199. $head[] = "Accept-Language: en-us,en;q=0.5";
  200. 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');
  201. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  202. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  203. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  204. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
  205. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  206. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  207. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  208. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  209. $n = curl_exec($ch);
  210. $lin = explode('">Thích</a><span',explode('a/like.php?', $n)[1])[0];
  211. $link = str_replace('&amp;', '&', $lin);
  212.  
  213. curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/a/like.php?".$link);
  214. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  215. $n = curl_exec($ch);
  216. return explode('</title><meta',explode('head><title>',$n)[1])[0];
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement