Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <?php
  2. if (!file_exists('madeline.php')) {
  3. copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
  4. }
  5. $admin = '@ssuss';
  6. $listx = readline("Add List: ");
  7. include 'madeline.php';
  8. $settings['app_info']['api_id'] = 203088;
  9. $settings['app_info']['api_hash'] = 'f360233d3627586775bd7298ee775bd1';
  10. $MadelineProto = new \danog\MadelineProto\API('me.madeline', $settings);
  11. $MadelineProto->start();
  12. $users = explode('<br>',file_get_contents("$listx"));
  13. $start = time();
  14. $x = 0;
  15. do{
  16. try{
  17. ob_start();
  18. foreach($users as $user){
  19. $MadelineProto->messages->getPeerDialogs(['peers'=> [$user]]);
  20. echo 'No:@'.$user." - ".$x." Bad in:".date('s')."\n";
  21. $x++;
  22. }
  23. }catch(Exception $e){
  24. $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => "m", 'about' => "m", ]);
  25. $MadelineProto->channels->updateUsername(['channel' => $updates['updates'][1], 'username' => $user, ]);
  26. $MadelineProto->messages->sendMessage(['peer' => $updates['updates'][1], 'message' =>"m"]);
  27. $end = time() - $start;
  28. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "📣 Report Checker
  29.  
  30. ▪New UserName: ".'{'."@$user".'}'."
  31. ▫️The Loops: ".'{'."$x".'}'."
  32. ▫️Date Time: ".'{'.".gmdate("H:i:s, $end").".'}'."
  33. ▫️Was Fucked To: Channel
  34.  
  35. 🔱 Admin Checker ".'{'."$admin".'}'.""]);
  36. }
  37. ob_end_flush();
  38. }while(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement