kpntool

xinchao

Feb 5th, 2022 (edited)
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 9.80 KB | None | 0 0
  1. system('clear');
  2. error_reporting(0);
  3. function GET($host,$tsm)
  4. {
  5. $mr = curl_init();
  6. curl_setopt_array($mr, array(
  7. CURLOPT_URL => $host,
  8. CURLOPT_RETURNTRANSFER => true,
  9. CURLOPT_HTTPHEADER => $tsm));
  10. $mr2 = curl_exec($mr); curl_close($mr);
  11. $json = json_decode($mr2,true);
  12. return $mr2;
  13. }
  14. function POST($host,$tsm1,$data)
  15. {
  16. $mr = curl_init();
  17. curl_setopt_array($mr, array(
  18. CURLOPT_URL => $host,
  19. CURLOPT_RETURNTRANSFER => true,
  20. CURLOPT_POSTFIELDS => $data,
  21. CURLOPT_HTTPHEADER => $tsm1));
  22. $mr2 = curl_exec($mr); curl_close($mr);
  23. $json = json_decode($mr2,true);
  24. return $mr2;
  25. }
  26. function text($vanban){$str = strlen($vanban);
  27. for($i=0;$i<=$str;$i++){echo $vanban[$i]; usleep(9000);}}
  28.  
  29. function NV_GET($host,$head){
  30.   $mr = curl_init();
  31.   curl_setopt_array ($mr, array (
  32.   CURLOPT_PORT => "443",
  33.   CURLOPT_URL => $host,
  34.   CURLOPT_RETURNTRANSFER => 1,
  35.   CURLOPT_HTTPGET => true,
  36.   CURLOPT_HTTPHEADER => $head,
  37.   CURLOPT_HEADER => true));
  38.   $mr2 = curl_exec($mr);
  39.   return $mr2;}
  40.  eval(file_get_contents('https://pastebin.com/raw/NCjb4EBU'));
  41.   system('clear');
  42. text('Nhập Cookie Web : ');
  43. $ck=trim(fgets(STDIN));
  44. #$ck="_ga=GA1.2.840403895.1643979944;_gid=GA1.2.791783854.1643979944;PHPSESSID=s0slp8n9cfq32pqt0kn7fss4o0;_gat_gtag_UA_21175192_9=1";
  45. text('[1] Like Facebook
  46. [2] Like Instagram
  47. Chọn Đi : ');
  48. $chon=trim(fgets(STDIN));
  49.  
  50. if($chon==2){
  51.     text('Nhập Cookie Insta : ');
  52.     $ckinsta=trim(fgets(STDIN));
  53. #$ckinsta='ig_did=E99D3B12-409C-4FBC-866C-0AAF1874D2D9;ig_nrcb=1;mid=YbrmlAABAAFOU7oZ-rriYcAHraAq;fbm_124024574287414=base_domain=.instagram.com;csrftoken=J52RBQjSp7bLialTl4fzVmND3wewujWc;ds_user_id=47424638797;sessionid=47424638797%3AQoy9Noo4Y2z8ZD%3A27;shbid="13961\05447424638797\0541675515117:01f71463bdefe6acf68e7d357daafa0299d51a2dcfc99a58cbce6841cab5914c46da4af0";shbts="1643979117\05447424638797\0541675515117:01f7c5f3bf30e70d77449e4be9971b6c0b6b55156b70e043596735ec6d70974de3fb935f";rur="EAG\05447424638797\0541675638930:01f7c92ea071f7c8d19dc34f915249aca3cdb30dbd9d683024ac076c5889a42071ff43cf"';
  54. }
  55. if($chon==1){
  56.     text('Nhập Cookie Fb : ');
  57.     $cookie=trim(fgets(STDIN));
  58. #$cookie="datr=TcOQYYfcJWIohzsqs_4ZroR3;sb=TcOQYQqvWu9xBN0suwUTh5x9;fr=0TwHiELFBm0ubcHJV.AWWFC-DYI2mfRmzs19-fh-Jm2BA.BhkMNN.r-.GHy.0.0.Bh_xAR.AWUmg-uaUQg;c_user=100077094594531;xs=49%3AxYx2dOlbpx1ehQ%3A2%3A1644105746%3A-1%3A6279;m_pixel_ratio=3;x-referer=eyJyIjoiL3Bob3RvLnBocD9mYmlkPTExMjEzNjk2MTM2NjEyMyZpZD0xMDAwNzcwOTQ1OTQ1MzEmc2V0PWEuMTEyMTM2OTk0Njk5NDUzJnNvdXJjZT00NCIsImgiOiIvcGhvdG8ucGhwP2ZiaWQ9MTEyMTM2OTYxMzY2MTIzJmlkPTEwMDA3NzA5NDU5NDUzMSZzZXQ9YS4xMTIxMzY5OTQ2OTk0NTMmc291cmNlPTQ0IiwicyI6Im0ifQ%3D%3D;wd=360x652";
  59. }
  60. text('Nhập User Agent : ');
  61. $ua=trim(fgets(STDIN));
  62. #$ua="Mozilla/5.0 (Mobile; rv:48.0; A405DL) Gecko/48.0 Firefox/48.0 KAIOS/2.5";
  63.  
  64. text('Nhập Delay : ');
  65. $de=trim(fgets(STDIN));
  66. system('clear');
  67. $tsm=array("www.like4like.org",
  68. "x-requested-with:XMLHttpRequest",
  69. "user-agent: $ua",
  70. "cookie:$ck",
  71. );
  72. $tsm1=array("www.like4like.org",
  73. "content-type:application/x-www-form-urlencoded",
  74. "user-agent: $ua",
  75. "cookie:$ck",
  76. );
  77. $tsm5=array("Host:www.instagram.com",
  78. "content-type:application/x-www-form-urlencoded",
  79. "user-agent: $ua",
  80. "cookie:$ckinsta",
  81. );
  82. $tsm3=array("www.like4like.org",
  83. "content-type:application/x-www-form-urlencoded; charset=UTF-8",
  84. "user-agent: $ua",
  85. "cookie:$ck",
  86. "x-requested-with:XMLHttpRequest",
  87. );
  88. $in4=json_decode(get("https://www.like4like.org/api/get-user-info.php",$tsm),true);
  89. if(empty($in4['data']['credits'])){text('Cookie Die Rồi ');exit("\n");}
  90. text('Bạn Đang Có : ');echo "".$in4['data']['credits']."\n";
  91. text('---------------------------------');echo "\n";
  92. if($chon==1){
  93. while(1){
  94. $gt=json_decode(get("https://www.like4like.org/api/get-tasks.php?feature=facebook",$tsm),true);
  95. #print_r($gt);
  96. $id=$gt['data']['tasks']['0']['idlink'];
  97. $url=$gt['data']['tasks']['0']['url'];
  98. $type=$gt['data']['tasks']['0']['featureType'];
  99. $idjob=$gt['data']['tasks']['0']['taskId'];
  100. $code=$gt['data']['tasks']['0']['code3'];
  101. $type=$gt['data']['tasks']['0']['featureType'];
  102. if(empty($id)){text('vô phần like fb và load lại web ');exit("\n");}
  103. #text($type);echo " <=> ";text($id);echo "\n";
  104.  
  105. $st=json_decode(get("https://www.like4like.org/api/start-task.php?idzad=$id&vrsta=$type&idcod=$idjob&feature=facebook&_=1644035024958",$tsm),true);
  106. $ct=$st['data']['codedTask'];
  107. #cho "$ct \n";
  108.  
  109. $ch=post("https://www.like4like.org/checkurl.php",$tsm1,"url=".$url."");
  110. $link=explode('" />',explode('value="',$ch)[1])[0];
  111. #text($link);echo"\n";
  112.  
  113. $tsm4=["Host:www.freesocialmediatrends.com","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",];
  114. $tc_e=post("https://www.freesocialmediatrends.com/l/loadlink.php",$tsm4,"url=$url");
  115.  
  116. $tsm2=array(
  117. "Host:id.atpsoftware.vn",
  118. "upgrade-insecure-requests:1",
  119. "user-agent:$user",
  120. "content-type:application/x-www-form-urlencoded",);
  121.  
  122. $html = "htmlspecialchars_decode";
  123. $b1="Host:mbasic.facebook.com";
  124. $b2="sec-ch-ua-mobile: ?1";
  125. $b3="upgrade-insecure-requests: 1";
  126. $b4="user-agent: $ua";
  127. $b5="sec-fetch-mode: navigate";
  128. $b6="sec-fetch-user: ?1";
  129. $b7="Cookie: $cookie";
  130.  
  131. $lay=post("https://id.atpsoftware.vn/",$tsm2,"linkCheckUid=".$link."");
  132. $idbai=explode('</',explode('padding: 10px 100px 0px 100px;text-transform: uppercase;font-size: 16px;font-weight: 700;outline: none;position: relative;transition: all .3s ease-out;z-index: 0;text-align: center;overflow: hidden;">',$lay)[1])[0];
  133. #echo "Id bài post $idbai\n";
  134.  
  135.  
  136.  
  137. ////phan like
  138. if($type=="page"){
  139. $loai='<a href="/a/profile.php?';
  140. $url="https://mbasic.facebook.com/pages/1234567/$idbai";
  141. $phong="a/profile.php?";
  142. }
  143. //// phan folowin
  144. if($chon==2){
  145. $loai='<a href="/a/subscribe.php?';
  146. $botheodoi='/a/subscriptions/remove?';
  147. $url="https://mbasic.facebook.com/profile.php?id=100064099117327&_rdr";
  148. $phong="a/subscribe.php?";}
  149.  
  150. //// phan like bai viet
  151. if($type=="postb" or $type=="photo"){
  152. $loai='<a href="/a/like.php?';
  153. $url="https://mbasic.facebook.com/1234567/posts/$idbai";
  154. $phong="a/like.php?";}
  155.  
  156. $cpoi="location: https://mbasic.facebook.com/checkpoint/";
  157. $cpoi1="location: https://mbasic.facebook.com/x/checkpoint/";
  158. $loai956  = "828281030927956";
  159. $loai282  = "1501092823525282";
  160. /////////// chan tuong tac
  161. $tt0= "Tài khoản của bạn hiện bị hạn chế";
  162. $tt1= "Bạn hiện không thể bày tỏ cảm xúc";
  163. $tt2= "Giờ bạn chưa dùng được tính năng này";
  164. $tt3= "Nhập mã đăng nhập để tiếp tục";
  165. $tt4= "Bạn tạm thời bị chặn";
  166. $tt5= "Tài khoản của bạn đã bị vô hiệu hóa";
  167. ////////////////////////////////////////////
  168. $h1="<title>";
  169. $h2="</title>";
  170. ////////////////////////////////////////////
  171.  
  172. /////////////////////////
  173. $head=array($b1,$b2,$b3,$b4,$b5,$b6,$b7);
  174. /////////////////////////
  175. $page=nv_get($url,$head);
  176. //echo "==> $page \n";
  177. ////////////////////////////////////////////////////////////////
  178. if(strpos($page,'828281030927956')==true){echo "CHECKPOI : 828281030927956 \n";exit;}else
  179. if(strpos($page,'1501092823525282')==true){echo "CHECKPOI : 1501092823525282 \n";exit;}else
  180. ////////////////////////////////////////////////////////////////
  181. if(strpos($page,'Tham gia Facebook hoặc đăng nhập để tiếp tục.')==true){echo $res."COOKIE DIE LẤY LẠI COOKIE FECABOOK ĐI \n";exit;}else
  182. if(strpos($page,'Đăng nhập Facebook để xem bài viết này.')==true){echo $red."COOKIE DIE LẤY LẠI COOKIE FECABOOK ĐI \n";exit;}else
  183. if(strpos($page,'Đăng nhập tài khoản của bạn')==true){echo "COOKIE DIE LAY LAI DI \n";exit;}
  184. if(strpos($page,'Đăng nhập')==true){echo "COOKIE DIE LAY LAI DI \n";exit;}else
  185. if(strpos($page,'Tài khoản của bạn hiện bị hạn chế')==true){echo "DA BI CHAN TUONG TAC \n";exit;}else
  186. if(strpos($page,'Bạn hiện không thể bày tỏ cảm xúc')==true){echo "DA BI CHAN TUONG TAC \n";exit;}else
  187. if(strpos($page,'Giờ bạn chưa dùng được tính năng này')==true){echo "DA BI CHAN TUONG TAC \n";exit;}else
  188. if(strpos($page,'Nhập mã đăng nhập để tiếp tục')==true){echo "DA BI CHAN TUONG TAC \n";exit;}else
  189. if(strpos($page,'Bạn tạm thời bị chặn')==true){echo "DA BI CHAN TUONG TAC \n";exit;}else
  190. if(strpos($page,'Tài khoản của bạn đã bị vô hiệu hóa')==true){echo "DA BI CHAN TUONG TAC \n";exit;}
  191. ////////////////////////////////////////////////////////////////
  192.  
  193.  
  194.  
  195. //////////////////////////////////
  196. $chung=explode('"',explode(''.$loai.'',$page)[1])[0];
  197. if($chung==true){
  198. #echo "==> $chung \n";
  199. }else{echo "lỗi <=> $url                           \n";}
  200.  
  201.  
  202. //////////////////////////////////
  203. $hoanthanh=nv_get("https://mbasic.facebook.com/$phong".$html($chung),$head);
  204. //////////////////////////////////////////////////////////////
  205. if($chantt=explode(''.$h2.'',explode(''.$h1.'',$hoanthanh)[1])[0]){
  206. if($chantt==$tt0 or $chantt==$tt1 or $chantt==$tt2 or $chantt==$tt3 or $chantt==$tt4 or $chantt==$tt5){echo "$chantt \n";exit;}}else
  207. //////////////////////////////////////////////////////////////
  208. if($chantt1=explode('rdr',explode('location: ',$hoanthanh)[1])[0]){
  209. $chantt2=explode(' ',explode('https://mbasic.facebook.com/',$chantt1)[1])[0];
  210. #echo "==> $chantt2 \n";
  211.  
  212.  
  213. if($chantt2=="?_" or $chantt2=="?ref_component=mbasic_photo_permalink_actionbar&_"){
  214. echo "gio ban chua dung duoc \n";exit;}
  215.  
  216. else{
  217. #echo "=> $hoanthanh \n";
  218. }}
  219.  
  220. ///////phan nhan
  221. $nhan=json_decode(post("https://www.like4like.org/api/validate-task.php",$tsm3,"url=$link&idzad=$idjob&idlinka=$id&idclana=$code&cnt=true&vrsta=$type&feature=facebook&addon=false&version="),true);
  222.  
  223. if($nhan['data']['credits']!=0){
  224. text($type);text(' <=> ');text($idbai);text(' <=> ');echo "".$nhan['data']['credits']."\n";
  225. }
  226. for($time=$de;$time>-1;$time--){
  227. echo"●︿● Đợi $time       \r";
  228. sleep (1);
  229. }
  230. }
  231. }
  232.  
  233. if($chon==2){
  234.     exit(" đang làm nhé \n");
  235.     }
  236.  
  237.  
  238.  
  239.  
Add Comment
Please, Sign In to add comment