Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * Auto Delete Request Friends Work's
- *On Tanggal: 06/10/2016
- * Created By: Endo Sulistio
- * FB: https://facebook.com/100002167444279
- * E-mail: edocyberar1@gmail.com
- *** NOTE , Cukup edit bagian data login, Masukan password dan email kamu. ***
- ****** EDIT SESUKA HATI KALIAN, ASALKAN JANGAN GANTI NAMA PEMBUAT ******
- * Terimakasih
- * Covered By Wangur Team
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- ** Tunggu Versi Auto Konfirmasi ^_^
- ** Masih Sibuk Di Dunia Nyata
- */
- $bot = new bot($wangur);
- class bot{
- private $wangur;
- function __construct($dataLog){
- //Data Login
- $this->pass = 'PASSWORD';
- $this->email = 'EMAIL';
- }
- private function get_contents($url,$type=null,$fields=null){
- $opts = array(
- 42 => false,
- 19913 => 1,
- 10002 => $url,
- 52 => false,
- 10018 => 'Opera/9.80 (Series 60; Opera Mini/6.5.27309/34.1445; U; en) Presto/2.8.119 Version/11.10',
- 78 => 5,
- 13 => 5,
- 47 => false,
- );
- $ch=curl_init();
- if($type){
- if($type == 1){
- $opts[10082] = 'coker_log';
- }
- if($type == 3){
- $opts[42] = 1;
- }
- $opts[10031] = 'coker_log';
- }
- if($fields){
- $opts[47] = false;
- $opts[10015] = $fields;
- }
- curl_setopt_array($ch,$opts);
- $result = curl_exec($ch);
- curl_close($ch);
- return $result;
- }
- public function kanca(){
- $url = $this->getUrl('m','friends/center/requests/#friends_center_main');
- $getToken = $this->get_contents($url,3);
- $oauth = '<x>'.$getToken;
- $oauth = preg_replace('#<x>(.+?)<body(.+?)><div class="_55x2">(.+?)<div class="_5vvc">(.+?)</body></html>#siu','\3',$oauth);
- $oauth = preg_replace('<table(.+?)_5s61">','\3',$oauth);
- $ft_id = explode('<img',$oauth);
- for($i=1; $i<=20; $i++){
- $delete=$this->cut($ft_id[$i],'delete=','"');
- echo $i.' ';
- $this->get_contents('https://mobile.facebook.com/a/notifications.php?delete='.str_replace('&','&',$delete),3);
- }
- }
- private function getUrl($domain,$dir,$uri=null){
- if($uri){
- foreach($uri as $key =>$value){
- $parsing[] = $key . '=' . $value;
- }
- $parse = '?' . implode('&',$parsing);
- }
- return 'https://' . $domain . '.facebook.com/' . $dir . $parse;
- }
- public function cut($content,$start,$end){
- if($content && $start && $end) {
- $r = explode($start, $content);
- if (isset($r[1])){
- $r = explode($end, $r[1]);
- return $r[0];
- }
- return '';
- }
- }
- public function login(){
- $login = array(
- 'pass' => $this -> pass,
- 'email' => $this -> email,
- 'login' => 'Login',
- );
- $this->get_contents($this->getUrl('m','login.php'),1,$login);
- }
- }
- if($bot->kanca()){
- echo $bot->kanca();
- }else{
- $bot->login();
- }
- $a=$_GET['b'];
- $c=($a+1);
- print '<meta http-equiv="refresh" content="0;url=?b='.$c.'" />';
- ?>
Add Comment
Please, Sign In to add comment