Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error_reporting(0);
- session_start();
- //color
- $res="\033[0m";
- $red="\033[0;31m";
- $green="\033[0;32m";
- $yellow="\033[0;33m";
- $blue="\033[0;36m";
- $white= "\033[0;37m";
- $blueb="\033[1;34m";
- $greenb="\033[1;32m";
- $yellowb="\033[1;33m";
- $aqua="\033[36;40m";
- $pink="\033[35;40m";
- $banner="\r
- \033[0;32m
- \033[1;92m
- $blueb ♪♪ Luật Facebook Anh Chơi Bằng 359 !
- Đấm Sập Wall Những Kẻ Nói Yêu Em -)
- Yêu Nhau Hai Chữ Chung Tình!
- Chia Tay Thấy Chữ Không Tìm Thấy Trang 😎
- Lỡ Một Ngày Em Theo Thằng Khác 😞
- Anh Không Buồn Cũng Không Khóc Đâu Em :)
- Đành Ngậm Ngùi Nhìn Wall Em Lần Cuối 😀
- Rồi Mỉn Cười Lập Nick Mới Đi Em !😚 ♪♪\n$ress";
- sleep(5);
- echo $blue, "Sever Tool: Đang Hoạt Động....Loading Tool";
- sleep(3);
- @system('clear');
- "\n";
- //config
- {
- @system('clear');
- echo $banner;
- sleep(5);
- $listnv = [];
- $checkkey = file('https://huy00.000webhostapp.com/key');
- $lock=file_get_contents('https://huy00.000webhostapp.com/lock');
- $keylock=md5(htmlspecialchars($lock));
- echo $res;
- if (md5('lock') != $keylock) {
- sleep(1);
- echo $red."Server Đã Ngừng Hoạt Động !!!\n".$red;
- exit($red."Vui Lòng Mua tool ở zalo :0826357191 !!!\n".$red);
- @system('clear');
- }
- else{
- sleep(1);
- echo "\n";
- while (true) {
- echo "
- \033[1;36mNhập Api Key: \033[35;40m";
- $makey = trim(fgets(STDIN));
- if ($makey == "$checkkey[0]")
- {
- echo "\033[1;32m Loading Tool....";
- echo "\n";
- @system('clear');
- break;
- } else {
- echo "\033[1;31m Sai Key ! (Mua Key Tại: Zalo:0839777255)";
- echo "\n";
- }
- }
- echo $blue."
- $blue
- ⭐ Ăn Quả Nhớ Kẻ Trồng Cây
- Lấy Tool Thì Nhớ Người Cho Mà Dùng ⭐
- - Minh Huy Tv -
- $white- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $yellowb
- Đừng Nhập Tài Khoản Tại Đây -> $greenb";;
- $_SESSION["username"]=trim(fgets(STDIN));
- echo $white."- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $yellowb
- Đừng Nhập Mật Khẩu Tại Đây -> $greenb";
- $_SESSION['password']=trim(fgets(STDIN));
- echo $white."- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $yellowb
- Đừng Nhập Cookie Facebook Tại Đây -> $greenb";
- $cookie=trim(fgets(STDIN));
- }
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/login.php');
- curl_setopt($ch, CURLOPT_COOKIEJAR, "TDS.txt");
- curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Linux; Android 10; SM-J600G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36');
- $login =array('username' => $_SESSION['username'],'password' => $_SESSION['password'],'submit' => ' Đăng Nhập');
- curl_setopt($ch, CURLOPT_POST,count($login));
- curl_setopt($ch, CURLOPT_POSTFIELDS,$login);
- curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
- $source=curl_exec($ch);
- curl_close($ch);
- if ($source != 1 && $source != ''){
- @system('clear');
- echo $yellow." ⭐🌸⭐🌸⭐ĐÃ NHẬN THẤY TINH TRÙNG VÀ TRỨNG!!!⭐🌸⭐🌸⭐
- TOOL BY MINH HUY TV | UPDATE At Youtube Kevin Mã
- ========================================================
- $green ♪♪ MINH HUY TV !!! ♪♪ | $red Yêu Trang Suốt Đời:3 |
- $white ========================================================
- $yellow 🌸| ⭐ |SUPORT FACEBOOK: ZALO -> 0839777255 | ⭐ | FB: fb.com/minhhuytv | ⭐ | 🌸
- ==============================================================
- Việt Nam Number 1 | Hoàng Sa Trường Sa Là Của Việt Nam
- YOUTUBE: KEVIN MÃ - LINH NHI OFFCIAL - MINH HUY TV
- ==============================================================
- $white ---------------------------------------- ᕦ( ͡° ͜ʖ ͡°)ᕤ
- ╔╗─╔╗╔╗─╔╗╔╗──╔╗╔═══╗╔═══╗╔═══╗╔════╗╔═══╗╔══╗
- ║║─║║║║─║║║╚╗╔╝║╚╗╔╗║║╔══╝║╔═╗║╚══╗═║║╔═╗║╚╣─╝
- ║╚═╝║║║─║║╚╗╚╝╔╝─║║║║║╚══╗║╚═╝║──╔╝╔╝║║─║║─║║─
- $green ║╔═╗║║║─║║─╚╗╔╝──║║║║║╔══╝║╔══╝─╔╝╔╝─║╚═╝║─║║─
- ║║─║║║╚═╝║──║║──╔╝╚╝║║╚══╗║║───╔╝═╚═╗║╔═╗║╔╣─╗
- ╚╝─╚╝╚═══╝──╚╝──╚═══╝╚═══╝╚╝───╚════╝╚╝─╚╝╚══╝
- $yellow==============================================================
- $white
- ♡ ∩_∩
- („• ֊ •„) ♡
- ┏━∪∪━━━━━━━━━━━━━━┓
- ♡ ♪♪ MINH HUY TV !!! ⠀♪♪ 。 ♡
- ┗━━━━━━━━━━━━━━━━━┛
- ";
- sleep(3,5);
- @system('clear');
- " ╔╗─╔╗╔╗─╔╗╔╗──╔╗╔═══╗╔═══╗╔═══╗╔════╗╔═══╗╔══╗
- ║║─║║║║─║║║╚╗╔╝║╚╗╔╗║║╔══╝║╔═╗║╚══╗═║║╔═╗║╚╣─╝
- ║╚═╝║║║─║║╚╗╚╝╔╝─║║║║║╚══╗║╚═╝║──╔╝╔╝║║─║║─║║─
- $green ║╔═╗║║║─║║─╚╗╔╝──║║║║║╔══╝║╔══╝─╔╝╔╝─║╚═╝║─║║─
- ║║─║║║╚═╝║──║║──╔╝╚╝║║╚══╗║║───╔╝═╚═╗║╔═╗║╔╣─╗
- ╚╝─╚╝╚═══╝──╚╝──╚═══╝╚═══╝╚╝───╚════╝╚╝─╚╝╚══╝ ";
- $user = $_SESSION["username"];
- echo $yellowb."
- ╔╗─╔╗╔╗─╔╗╔╗──╔╗╔═══╗╔═══╗╔═══╗╔════╗╔═══╗╔══╗
- ║║─║║║║─║║║╚╗╔╝║╚╗╔╗║║╔══╝║╔═╗║╚══╗═║║╔═╗║╚╣─╝
- ║╚═╝║║║─║║╚╗╚╝╔╝─║║║║║╚══╗║╚═╝║──╔╝╔╝║║─║║─║║─
- $pink ║╔═╗║║║─║║─╚╗╔╝──║║║║║╔══╝║╔══╝─╔╝╔╝─║╚═╝║─║║─
- ║║─║║║╚═╝║──║║──╔╝╚╝║║╚══╗║║───╔╝═╚═╗║╔═╗║╔╣─╗
- ╚╝─╚╝╚═══╝──╚╝──╚═══╝╚═══╝╚╝───╚════╝╚╝─╚╝╚══╝
- $greenb
- [ √ ] LẤY TOOL QUAY CLIP NHỚ GHI NGUỒN NHÉ!
- [ √ ] Copyright By Kevin Mã (Huy)
- $white
- ~ $red [$yellow √ $red] $blue => Chế Độ Auto Like [1/0] -> $greenb";
- if (trim(fgets(STDIN)) == '1'){
- array_push($listnv,'like');
- echo $yellowb."Time Delay Mỗi Lần Like -> $greenb";
- $_SESSION['delaylike']=trim(fgets(STDIN));
- if($_SESSION['delaylike'] < 0)
- {exit($red."ÍT NHẤT 1 GIÂY\n");}
- }
- echo $white."~ $red [$yellow √ $red] $blue => Chế Độ Auto Follow [1/0] -> $greenb";
- if (trim(fgets(STDIN)) == '1'){
- array_push($listnv,'sub');
- echo $yellowb."Time Delay Mỗi Lần Follow -> $greenb";
- $_SESSION['delaysub']=trim(fgets(STDIN));
- if($_SESSION['delaysub'] < 0)
- {exit($red."ÍT NHẤT 1 GIÂY\n");}
- }
- echo $white."~ $red [$yellow √ $red] $blue => Chế Độ Auto Comment [1/0] -> $greenb";
- if (trim(fgets(STDIN)) == '1'){
- array_push($listnv,'cmt');
- echo $yellowb."Time Delay Mỗi Lần Comment -> $greenb";
- $_SESSION['delaycmt']=trim(fgets(STDIN));
- if($_SESSION['delaycmt'] < 0)
- {exit($red."ÍT NHẤT 1 GIÂY\n");}
- }
- echo $white."~ $red [$yellow √ $red] $blue => Chế Độ Auto Like Page [1/0] -> $greenb";
- if (trim(fgets(STDIN)) == '1'){
- array_push($listnv,'page');
- echo $yellowb."Time Delay Mỗi Lần Like Page -> $greenb";
- $_SESSION['delaypage']=trim(fgets(STDIN));
- if($_SESSION['delaypage'] < 0)
- {exit($red."ÍT NHẤT 1 GIÂY\n");}
- }
- echo $white."~ $red [$yellow √ $red] $blue => Chế Độ Auto CX [1/0] -> $greenb";
- if (trim(fgets(STDIN)) == '1'){
- array_push($listnv,'cx');
- echo $yellow."Time Delay Mỗi Lần CX -> $greenb";
- $_SESSION['delaycx']=trim(fgets(STDIN));
- if($_SESSION['delaycx'] < 0)
- {exit($red."ÍT NHẤT 1 GIÂY\n");}
- }
- if (count($listnv) == 0){exit($red." Không Có Nhiệm Vụ Nào Được Chọn! Vui Lòng Chạy Lại Tool");}
- echo $yellowb."Thời Gian Chờ Crush Thủ Dâm (>20S) -> $aqua";
- $_SESSION['j']=trim(fgets(STDIN));
- if($_SESSION['j'] < 0)
- {exit($red."Tối Thiểu 20 giây\n");}
- echo $yellowb."Bao Nhiêu Job Thì Tool Dừng? (>500 Job) -> $greenb";
- $_SESSION['i']=trim(fgets(STDIN));
- if($_SESSION['i'] < 0)
- {exit($red."Tối Thiểu 1 Lần\n");}
- }else{
- exit($red."Sai Tài Khoản + Mật Khẩu Kìa Bố 😏!");
- }
- #get_token
- $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 (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:'));
- $access = curl_exec($ch);
- curl_close($ch);
- if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
- $access_token = explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
- if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){
- $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'};
- }else{
- exit($red."Acc Blocked, Please Re-Enter Tool and Add New Acc to Tds Configuration");
- }
- $h = datnick($user,$idfb);
- $xu = file_get_contents('https://traodoisub.com/scr/test3.php?user='.$user);
- if ($h == '1'){
- $i=1;
- @system('clear');
- while ($i <= $_SESSION['i']){
- $rand = $listnv[array_rand($listnv,1)];
- if ($rand == 'like'){
- $list = getnv('like',$user);
- $check = count($list);
- foreach ($list as $id) {
- $g = like($access_token,$id,$cookie);
- if ($g->{'error'}->{'code'} == 368){
- exit($red."Đã Ăn Cứt Rồi Đếy🤣");
- }
- $s = nhantien('like',$id);
- if ($s == 2){$stt = $stt +1; echo $blue."[ $stt ] [$user] $red • $pink [LIKE] $red • $green ".$id." $red • $blue+ 300 Xu $yellowb Vào Tài Khoản $user ";}
- echo "\n";
- sleep($_SESSION['delaylike']);
- }
- }else if($rand == 'sub'){
- $list = getnv('follow',$user);
- $check = count($list);
- if ($check == 0){echo $red." "; $i++; continue;}
- foreach ($list as $id) {
- $g = follow($access_token,$id,$cookie);
- if ($g->{'error'}->{'code'} == 368){
- exit($red." Hết Nhiệm Vụ Vui Lòng Chạy Lại Tool Và Chọn Nhiệm Vụ Khác");
- }
- $s = nhantien('sub',$id);
- if ($s == 2)$stt = $stt +1;echo $blue."[ $stt ] [$user] $red • $pink [FOLLOW] $red • $green ".$id." $red • $blue+ 600 Xu $yellowb Vào Tài Khoản $user ";}
- echo "\n";
- sleep($_SESSION['delaysub']);
- }
- else if($rand == 'page'){
- $list = getnv('likepage',$user);
- $check = count($list);
- if ($check == 0){echo $red." "; $i++; continue;}
- foreach ($list as $id) {
- page($id,$cookie);
- $s = nhantien('page',$id);
- if ($s == 2){$xu = $xu + 600; echo $blue."[ $stt ] [$user] $red • [PAGE] $red • $green ".$id." $red • $blue+ 600 Xu $yellowb Vào Tài Khoản $user ";}
- echo "\n";
- sleep($_SESSION['delaypage']);
- }
- }else if($rand == 'cx'){
- $list = getnv('camxuc',$user);
- $check = count($list);
- if ($check == 0){echo $yellow." "; $i++; continue;}
- foreach ($list as $id => $key) {
- $id = $key->{'id'};
- $type = $key->{'type'};
- camxuc($id,$type,$cookie);
- $s = nhantiencx($type,$id);
- if ($s == 2){$xu = $xu + 400; echo $blue."[ $stt ] [$user] $red • [CX] $red • $green ".$id." $red • $blue+ 400 Xu $yellowb Vào Tài Khoản $user ";}
- echo "\n";
- sleep($_SESSION['delaycx']);
- }
- }
- else{
- $list = getnv('cmt',$user);
- $check = count($list);
- if ($check == 0){echo $red." "; $i++; continue;}
- foreach ($list as $id => $key) {
- $uid = $key->{'id'};
- $msg = $key->{'nd'};
- $g = cmt($access_token,$uid,$cookie,$msg);
- if ($g->{'error'}->{'code'} == 368){
- exit($red."Đã bị block vui lòng chạy lại tool");
- }
- $s = nhantien('cmt',$uid);
- if ($s == 2){$xu = $xu + 800; echo $blue."[ $stt ] [$user] $red • [COMMENT] $red • $green ".$id." $red • $blue+ 800 Xu $yellowb Vào Tài Khoản $user ";}
- echo "\n";
- sleep($_SESSION['delaycmt']);
- }
- }
- $i++;
- echo $red." ";
- for ($x = 0; $x <= $_SESSION['j']; $x++) {
- sleep(1);
- }
- echo " ";
- }
- }else{exit($red."Cấu hình thất bại, vui lòng thêm id: $id vào cấu hình");}
- }else{exit($red."Cookie die!!");}
- }
- function follow($access_token,$id,$cookie){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/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 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,$id,$cookie,$msg){
- $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, '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($id,$cookie){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
- $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='.$id.'&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($id,$type,$cookie){
- $ch = curl_init();
- if(strpos($id,'_')){
- $uid = explode('_',$id, 2);
- $id2 = 'story.php?story_fbid='.$uid[1].'&id='.$uid[0];
- }else{
- $id2 = $id;
- }
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id2);
- $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 ($id2 != $id && explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0]){
- $get = explode('&origin_uri=',explode('amp;ft_id=',$page,2)[1],2)[0];
- }else{
- $get = $id2;
- }
- $link = 'https://mbasic.facebook.com/reactions/picker/?is_permalink=1&ft_id='.$get;
- curl_setopt($ch, CURLOPT_URL, $link);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $cx = curl_exec($ch);
- $haha = explode('<a href="',$cx);
- if ($type == 'LOVE'){
- $haha2 = explode('" style="display:block"',$haha[2])[0];
- }else if ($type == 'WOW'){
- $haha2 = explode('" style="display:block"',$haha[5])[0];
- }else if ($type == 'HAHA'){
- $haha2 = explode('" style="display:block"',$haha[4])[0];
- }else if ($type == 'SAD'){
- $haha2 = explode('" style="display:block"',$haha[6])[0];
- }else{
- $haha2 = explode('" style="display:block"',$haha[7])[0];
- }
- $link2 = html_entity_decode($haha2);
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com'.$link2);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_exec($ch);
- curl_close($ch);
- }
- function getnv($loai,$user){
- $list = file_get_contents('https://traodoisub.com/scr/api_job.php?chucnang='.$loai.'&user='.$user);
- return json_decode($list);
- }
- function datnick($user,$id){
- $xxx = file_get_contents('https://traodoisub.com/scr/api_dat.php?user='.$user.'&idfb='.$id);
- return $xxx;
- }
- function nhantien($loai,$id){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantien'.$loai.'.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $tdsxu=array('id' => $id);
- curl_setopt($ch, CURLOPT_POST,count($tdsxu));
- curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
- curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
- $xu=curl_exec($ch);
- curl_close($ch);
- return $xu;
- }
- function nhantiencx($loai,$id){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://traodoisub.com/scr/nhantiencx.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $tdsxu=array('id' => $id, 'loaicx' => $loai);
- curl_setopt($ch, CURLOPT_POST,count($tdsxu));
- curl_setopt($ch, CURLOPT_POSTFIELDS,$tdsxu);
- curl_setopt($ch, CURLOPT_COOKIEFILE, "TDS.txt");
- $xu=curl_exec($ch);
- curl_close($ch);
- return $xu;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement