Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error_reporting(0);
- session_start();
- $end="\033[0m";
- $whiteb="\033[1;37m";
- $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;91m";
- $luc = "\033[1;92m";
- $vang = "\033[1;93m";
- $xduong = "\033[1;94m";
- $hong = "\033[1;95m";
- $trang = "\033[1;97m";
- $nenden = "\033[40m";
- $xanhd = "\033[0;36m";
- $nendo = "\033[41m";
- $nenxanh = "\033[42m";
- $nenvang = "\033[43m";
- $nenblue = "\033[44m";
- $nenPurpe = "\033[45m";
- $nenCyan = "\033[46m";
- $nentrang = "\033[47m";
- $UGreen = "\033[4;32m";
- $BGreen = "\033[1;32m";
- $BBlack="\033[1;30m" ;
- $BRed="\033[1;31m" ;
- $BGreen="\033[1;32m" ;
- $BYellow="\033[1;33m" ;
- $BBlue="\033[1;34m" ;
- $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";
- $res="\033[0m";
- $red="\033[1;31m";
- $xanh="\033[1;32m";
- $cyan="\033[1;36m";
- $yellow="\033[1;33m";
- $turquoise="\033[1;34m";
- {
- @system('clear');
- while(true){
- @system('clear');
- echo $vang."\n";
- $t=
- $hong."\033[1; _ ___ __ ___________ _____ _____ _ __ ___________ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xduong."\n";
- $t=
- $trang."\033[1; | | | \ \ / / |_ _| ___ \_ _/ __ \| | / /| ___| ___ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xnhac."\n";
- $t=
- $trang."\033[1; | | | |\ V / | | | |_/ / | | | / \/| |/ / | |__ | |_/ / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $hong."\n";
- $t=
- $trang."\033[1; | | | | \ / | | | / | | | | | \ | __|| / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t=
- $trang."\033[1; | |_| | | | | | | |\ \ _| |_| \__/\| |\ \| |___| |\ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $luc."\n";
- $t=
- $trang."\033[1; \___/ \_/ \_/ \_| \_|\___/ \____/\_| \_/\____/\_| \_| ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t="\033[1; \033[47m TOOLS \033[0m\n";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(20000);
- }
- echo $vang."=====================================================\n";
- echo $do." [".$luc."Bản Quyền".$do."] ";usleep(200000);echo $vang."Uy Tricker ";
- echo $do." [".$luc."ZaLo".$do."]";usleep(300000);
- echo $vang." 037.553.0461";
- echo "\n";
- echo " ".$do."[".$luc."Ví MoMo".$do."]";usleep(300000);echo $vang." 037.553.0461";
- echo "\n";
- echo $vang."=====================================================\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$xnhac."Nhập Cookie FB Cần Tương Tác: $vang";
- $cookie=trim(fgets(STDIN));
- $useragent = "Mozilla/5.0 (Linux; Android 10; SM-J600G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36";
- $access = cookie($cookie,$useragent);
- if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
- $access_token=explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
- $idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'};
- echo $BYellow." Cookie chính xác !!! \n";break;
- }else{ exit($BRed." Cookie Die Hoặc SaiI!!! \n");}
- }
- while(true){
- @system('clear');
- unset($so); unset($_SESSION['giaay']);unset($nhap);
- unset($nguoi); unset($so1); unset($dem);
- echo $vang."\n";
- $t=
- $hong."\033[1; _ ___ __ ___________ _____ _____ _ __ ___________ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xduong."\n";
- $t=
- $trang."\033[1; | | | \ \ / / |_ _| ___ \_ _/ __ \| | / /| ___| ___ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xnhac."\n";
- $t=
- $trang."\033[1; | | | |\ V / | | | |_/ / | | | / \/| |/ / | |__ | |_/ / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $hong."\n";
- $t=
- $trang."\033[1; | | | | \ / | | | / | | | | | \ | __|| / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t=
- $trang."\033[1; | |_| | | | | | | |\ \ _| |_| \__/\| |\ \| |___| |\ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $luc."\n";
- $t=
- $trang."\033[1; \___/ \_/ \_/ \_| \_|\___/ \____/\_| \_/\____/\_| \_| ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t="\033[1; \033[47m TOOLS \033[0m\n";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(20000);
- }
- echo $vang."=====================================================\n";
- echo $do." [".$luc."Bản Quyền".$do."] ";usleep(200000);echo $vang."Uy Tricker ";
- echo $do." [".$luc."ZaLo".$do."]";usleep(300000);
- echo $vang." 037.553.0461";
- echo "\n";
- echo " ".$do."[".$luc."Ví MoMo".$do."]";usleep(300000);echo $vang." 037.553.0461";
- echo "\n";
- echo $vang."=====================================================\n";
- $typ =[];
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."1".$do."]".$luc."Tương Tác Thương Thương\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."2".$do."]".$luc." Tương Tác Like\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."3".$do."]".$luc." Tương Tác HaHa\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."4".$do."]".$luc." Tương Tác Phẫn Nộ\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."5".$do."]".$luc." Tương Tác WoW\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."6".$do."]".$luc." Tương Tác Buồn\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."7".$do."]".$luc." Tương Tác Tim\n".$end;
- echo $do." [".$luc."✔".$do."] ".$trang."=> ".$luc." Nhập ".$do."[".$vang."1+2+3+4+5+6+7".$do."]".$luc." Tương Tác ALL\n".$end;
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mVui Lòng Chọn\e[0m\e[1;95m]
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $nhap = trim(fgets(STDIN))."8";
- if (strlen(strstr($nhap ,'1')) > 0){array_push($typ,'THUONG');}
- if (strlen(strstr($nhap ,'2')) > 0){array_push($typ, 'LIKE');}
- if (strlen(strstr($nhap ,'3')) > 0){array_push($typ,'HAHA');}
- if (strlen(strstr($nhap ,'4')) > 0){array_push($typ, 'PHANNO');}
- if (strlen(strstr($nhap ,'5')) > 0){array_push($typ, 'WOW');}
- if (strlen(strstr($nhap ,'6')) > 0){array_push($typ, 'BUON');}
- if (strlen(strstr($nhap ,'7')) > 0){array_push($typ, 'LOVE');}
- if (count($typ) == 0){exit($BRed."Chọn Ít Nhất 1 Nhiệm Vụ!");}
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mNhập Time Delay Tương Tác\e[0m\e[1;95m]
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $_SESSION['giaay']=trim(fgets(STDIN));
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mBạn Muốn Bật Tương Tác Comments?\e\033[41m y/n \033[0m\033[1;91m]\e[1;95m
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $cmt=trim(fgets(STDIN));
- if($cmt == 'Y' or$cmt == 'y'){
- echo "\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]$white =>$BGreen Nhập Nội Dung Cmt: \033[1;36m";
- $noidung=trim(fgets(STDIN));
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mSau Bao Tương Tác Thì CMT\e[0m\e[1;95m]
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $dem=trim(fgets(STDIN));
- } else {
- exit("\033[1;37m~\033[1;31m Lựa Chọn Không Xác Định\n");
- }
- echo $vang."=====================================================\n";
- $list = gethome($cookie,$useragent);
- $so = 1;$ran = rand(10,20);
- while(true){$i=1; $i++;
- $link2 = explode('">Bày tỏ cảm xúc',explode('/reactions/picker/?',$list)[1])[0];
- $url = 'https://mbasic.facebook.com/reactions/picker/?'.str_replace('&','&',$link2);
- sleep(4);
- $type = $typ[array_rand($typ,1)];
- $mess = camxuctuongtac($cookie,$url,$useragent,$type);
- $id = explode('&origin_uri',explode('?ft_id=',$url)[1])[0];
- if(empty($id)){
- $access = cookie($cookie,$useragent);
- if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
- sleep(1);
- }else{ echo $BRed." Cookie die rồi nhập lại cookie: ";
- $cookie= trim(fgets(STDIN));
- }
- }
- echo $BYellow."[".$BRed.$so++.$BYellow."]".$BGreen." Đã Thả ".$BYellow.$type.$BGreen." Vào Bài Viết ".$BCyan.$id." \n";$o++;$c++;$ct++;
- if (($cmt == 'Y' or $cmt == 'y')and $ct == $dem){
- $msge = explode('|',$noidung);
- $msg = $msge[array_rand($msge,1)];
- $g = cmttoken($access_token,$id,$msg,$useragent);
- echo $BYellow."[".$BRed.$so++.$BYellow."]".$BGreen." Đã Comments ID ".$BYellow.$id.$BGreen."\n ➜ Với Nội Dung: ".$white.$msg." \n";$ct =0;
- }
- for ($giay=$_SESSION['giaay'];$giay>-1;$giay--){
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy T \033[1;91m |\033[1;93m $x\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tr \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tri \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tric .\033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Trick... \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tricke.... \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉\033[0;37m Uy Tricker.....\033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(100000);
- echo "\r \r";}
- if($o == 1){
- $linktap = explode('" class="',explode('/stories.php?',$list)[1])[0];
- $chuyentap = 'https://mbasic.facebook.com/stories.php?'.str_replace('&','&',$linktap);
- $list = gettiephome($cookie,$chuyentap,$useragent);
- $i = 0; $o = 0;
- }
- if ($c == $ran){
- $id = thembanbe($cookie,$url,$useragent);
- echo $BCyan."[".$BCyan.$so++.$BCyan."]".$BGreen." Đã thêm bạn bè ".$BYellow.$id.$BGreen." Để tăng bạn bè "." \n";$c = 0;
- }
- if ($gio == date('H')and($hen == 'y' or $hen == 'Y')){
- echo $BRed." Vui Lòng Chờ \n";
- sleep(1);
- $gio = date('H') + $gioo;
- echo $BYellow." Bây giờ là: ".$Blue.date(' H : i')." \n";
- }
- }
- }
- }
- function getbaiviet($cookie,$access_token,$useragent,$idfb){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idfb.'/posts?limit=1000&fields=id,name&access_token='.$access_token);
- $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, $useragent);
- 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);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function demlike($cookie,$access_token,$idpost,$useragent){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v1.0/'.$idpost.'/likes?access_token='.$access_token.'&pretty=1&limit=5000');
- $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, $useragent);
- 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);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function getbanbe($access_token,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://graph.facebook.com/me/friends/?access_token='.$access_token);
- $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_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return json_decode(curl_exec($ch));
- curl_close($ch);
- }
- function xoabanbe($cookie,$id,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/profile.php?id='.$id);
- $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_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- $list = curl_exec($ch);
- $data1 = explode('" autocomplete=',explode('name="fb_dtsg" value="',$list)[1])[0];
- $data2= explode('" autocomplete=',explode('name="jazoest" value="',$list)[1])[0];
- $data = http_build_query(array('fb_dtsg'=>$data1,'jazoest'=>$data2,'friend_id'=>$id ,'unref'=>'profile_gear','confirm'=>'Xác nhận'));
- $head[] = 'content-length: '.strlen($data);
- $head[] = 'refer: https://mbasic.facebook.com/removefriend.php?friend_id='.$id.'&unref=profile_gear&refid=17';
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/a/removefriend.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- $h = curl_exec($ch);
- curl_close($ch);
- }
- function gettiephome($cookie,$linktiep,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,$linktiep);
- $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_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return curl_exec($ch);
- curl_close($ch);
- }
- function camxuctuongtac($cookie,$link,$useragent,$type){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $link);
- $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, $useragent);
- 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);
- $m = curl_exec($ch);
- if ($type == 'LIKE'){ $link2 = explode('" style="display:block"',explode('&reaction_type=1',$m)[1])[0];
- $link4 = '&reaction_type=1'.$link2;
- }
- if ($type == 'THUONG'){ $link2 = explode('" style="display:block"',explode('&reaction_type=16',$m)[1])[0];
- $link4 = '&reaction_type=16'.$link2;
- }
- if ($type == 'LOVE'){ $link2 = explode('" style="display:block"',explode('&reaction_type=2',$m)[1])[0];
- $link4 = '&reaction_type=2'.$link2;
- }
- if ($type == 'WOW' ){$link2 = explode('" style="display:block"',explode('&reaction_type=3',$m)[1])[0];
- $link4 = '&reaction_type=3'.$link2;
- }
- if ($type == 'HAHA'){$link2 = explode('" style="display:block"',explode('&reaction_type=4',$m)[1])[0];
- $link4 = '&reaction_type=4'.$link2;
- }
- if ($type == 'SAD'){$link2 = explode('" style="display:block"',explode('&reaction_type=7',$m)[1])[0];
- $link4 = '&reaction_type=7'.$link2;
- }
- if ($type == ''){$link2= explode('" style="display:block"',explode('&reaction_type=8')[1])[0];
- $link4 = '&reaction_type=8'.$link2;
- }
- $link3 = explode('&reaction_type=',explode('<a href="/ufi/reaction/?',$m)[1])[0];
- $link5 = str_replace('&', '&', $link3.$link4);
- curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/ufi/reaction/?".$link5);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $n = curl_exec($ch);
- curl_close($ch);
- return
- explode('</title><meta',explode('head><title>',$n)[1])[0];}
- function gethome($cookie,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/home.php');
- $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_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return curl_exec($ch);
- curl_close($ch);
- }
- function cookie($cookie,$useragent){
- $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,$useragent );
- 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);
- return $access;
- }
- function cmttoken($access_token,$id,$msg,$useragent){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/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, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- 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:'));
- $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 thembanbe($cookie,$url,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/friends/center/mbasic/?fb_ref=tn&sr=1&ref_component=mbasic_home_header&ref_page=MFriendsCenterMBasicController');
- $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_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- $list = curl_exec($ch);
- $link = explode('" class="',explode('/a/mobile/friends/add_friend.php?',$list)[1])[0];
- $link2 = 'https://mbasic.facebook.com/a/mobile/friends/add_friend.php?'.str_replace('&','&',$link);
- curl_setopt($ch, CURLOPT_URL, $link2);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_exec($ch);
- curl_close($ch);
- return explode('&hf',explode('id=',$link2)[1])[0];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement