SHARE
TWEET

Untitled

a guest Apr 24th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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/home/m";
  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 Running..!"]);
  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' => "New Username >> @$u[$i]"]);
  40. echo "New UserName : $u[$i]\n";
  41. exit;
  42. }
  43. }
  44. }
  45.  
  46. }catch(Exception $e){
  47.  $bc = str_replace("<br>$u[$i]","", file_get_contents('/root/home/m/user.txt'));
  48. file_put_contents("/root/home/m/user.txt", $bc);
  49. }
  50. }while(true);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top