Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. <?php
  2. if (!file_exists('madeline.php')) {
  3. copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
  4. }
  5.  
  6. //-----------------
  7. $MR = readline("Add Account : ");
  8. $admin = '@SsUsS';
  9. $SendIn = "https://t.me/joinchat/Is1S0w46VCLrM7V9i8AOQg";
  10. //-----------------
  11.  
  12. include 'madeline.php';
  13. $settings['app_info']['api_id'] = 203088;
  14. $settings['app_info']['api_hash'] = 'f360233d3627586775bd7298ee775bd1';
  15. $MadelineProto = new \danog\MadelineProto\API($MR.'.madeline', $settings);
  16. $MadelineProto->start();
  17. $users = explode('\n',file_get_contents('https://ddsdd.000webhostapp.com/list/list1.txt'));
  18. $start = time();
  19. $x = 0;
  20. do{
  21. try{
  22. ob_start();
  23. foreach($users as $user){
  24. $MadelineProto->messages->getPeerDialogs(['peers'=> [$user]]);
  25. echo 'False - '.$user.":[ ".$x." in:".date('s')."]\n";
  26. $x++;
  27. }
  28. }catch(Exception $e){
  29. $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => "x", 'about' => "X", ]);
  30. $MadelineProto->channels->updateUsername(['channel' => $updates['updates'][1], 'username' => $user, ]);
  31.  
  32. $end = time() - $start;
  33. $MadelineProto->messages->sendMessage(['peer' => $SendIn, 'message' => "▪| I'm UserName Taken !
  34. - {@$user} .
  35. ▫️| Number of Clicks !
  36. - {$x} ."]);
  37. }
  38. ob_end_flush();
  39. }while(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement