Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. <?php
  2. // Coder @SsAsS //
  3. // set_time_limit(10);
  4. if (!file_exists('madeline.php')) {
  5. copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
  6. }
  7. // system(('killall screen'));
  8. $login = 'me.madeline';
  9. include 'madeline.php';
  10. $settings['app_info']['api_id'] = 210897;
  11. if($login != 'me.madeline'){exit();}
  12. $settings['app_info']['api_hash'] = 'c7d2d161d83ce18d56c1a8a54437f5ff';
  13. $MadelineProto = new \danog\MadelineProto\API($login, $settings);
  14. if($settings['app_info']['api_id'] != 210897 or $settings['app_info']['api_hash'] != 'c7d2d161d83ce18d56c1a8a54437f5ff'){exit();}
  15. $MadelineProto->start();
  16. print_r($MadelineProto->get_self());
  17. $m = "/root/";
  18. $i = 0;
  19. $a = 0;
  20. $x = 0;
  21. $admin = "@SsUsS";
  22. do{
  23. try{
  24. $u = explode("<br>",file_get_contents("user.txt"));
  25. for($i=0; $icount($u); $i++){
  26. try{
  27. $MadelineProto->messages->getPeerDialogs(['peers'=> [$u[$i]]]);
  28. echo '@'.$u[$i]." >> ".$x." >> ".date('i:s')."\n";
  29. if($x == 150000){
  30. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- i'm run"]);
  31. $x = 0;
  32. }
  33. $a++;
  34. $x++;
  35. }catch(Exception $e){
  36. $Bool = $MadelineProto->account->checkUsername(['username' => $u[$i], ]);
  37. if($Bool == true){
  38. $MadelineProto->account->updateUsername(['username' => $u[$i]]);
  39. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- Fucked : @$u[$i] "]);
  40. echo "Fucked: @$u[$i]\n";
  41. exit;
  42. }
  43. }
  44. }
  45.  
  46. }catch(Exception $e){
  47. $bc = str_replace("<br>$u[$i]","", file_get_contents('/home/user.txt'));
  48. file_put_contents("/home/user.txt", $bc);
  49. }
  50. }while(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement