Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. <?php
  2. if (!file_exists('madeline.php')) {
  3. copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
  4. }
  5. if (!file_exists('blockde.txt')) {
  6. file_put_contents("blockde.txt","");
  7. }
  8. function random(){
  9. $out = "";
  10. $rand = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0,1);
  11. $randomf = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','_',1,2,3,4,5,6,7,8,9);
  12. $randomx = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
  13.  
  14. $out="";
  15. $out = $out . $rand . $rand . $rand . $rand . $rand."\n";
  16. $out = $out . $rand . "_" . $rand . "_" . $rand."\n";
  17. $out = $out . $rand . $rand . $rand . $rand . $rand . $rand."\n";
  18. $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
  19. $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
  20. $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
  21. $out = $out . $rand . "_" . $rand . $rand . $rand."\n";
  22. $out = $out . $rand . $rand . "_" . $rand . $rand."\n";
  23. $out = $out . $rand .$rand . $rand . "_" . $rand."\n";
  24. $b = "bot";
  25. for ($i = 0; $i < count($randomx); $i++) {
  26. $two = $rand;
  27. $one = $randomx[$i];
  28. $out = $out . $one.$two.$two.$two.$two."\n";
  29. $out = $out . $two.$one.$b."\n";
  30. $out = $out . $one.$two.$b."\n";
  31. }
  32. for ($i = 0; $i < count($randomf); $i++) {
  33. $two = $rand;
  34. $one = $randomf[$i];
  35. $out = $out . $two.$two.$one.$two.$two."\n";
  36. $out = $out . $two.$one.$two.$two.$two."\n";
  37. $out = $out . $two.$two.$two.$one.$two."\n";
  38. $out = $out . $two.$one.$b."\n";
  39. if($one != "_"){
  40. $out = $out . $two.$two.$two.$two.$one."\n";
  41. $out = $out . $one.$two.$b."\n";
  42. }
  43. }
  44. return $out;
  45. }
  46. include 'madeline.php';
  47. $settings['app_info']['api_id'] = 203088;
  48. $settings['app_info']['api_hash'] = 'f360233d3627586775bd7298ee775bd1';
  49. $MadelineProto = new \danog\MadelineProto\API('me.madeline', $settings);
  50. $MadelineProto->start();
  51. $admin = "@QWWVW";
  52. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => 'Checker was turned on']);
  53. $i = 0;
  54. while (true) {
  55. $users = explode("\n", random());
  56. foreach ($users as $user) {
  57.  
  58. $blockde = explode("\n",file_get_contents("blockde.txt"));
  59. if(!in_array($user, $blockde)){
  60. $get = file_get_contents('http://t.me/'.$user);
  61. if(!strpos($get,"tgme_page_extra")){
  62. try {
  63.  
  64. $Bool = $MadelineProto->account->checkUsername(['username' => $user, ]);
  65. if($Bool){
  66. $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => "TrBo 𒊮sρd", 'about'=>"TrBo 𒊮sρd", ]);
  67.  
  68. $MadelineProto->channels->updateUsername(['channel' =>$updates['updates'][1], 'username' => $user, ]);
  69. $MadelineProto->messages->sendMessage(['peer' => $updates['updates'][1], 'message' => " - Done UserName -> @$user .!"]);
  70. echo "- UserName Taken [ @$user ]\n";
  71. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- Hi Boss ".@QWWVW."
  72. - Done Fucked » @$user
  73. - LooPs » $i .!
  74. - Done By » 𒊮sρd"]);
  75. }
  76.  
  77. }catch(Exception $e){
  78. if($e->getMessage() == "The provided username is not valid"){
  79. file_put_contents("blockde.txt", file_get_contents("blockde.txt")."$user\n");
  80. //$MadelineProto->messages->sendMessage(['peer' => '@'.$admin, 'message' => '@' . $user . ':It was saved in list banned usernames']);
  81. }else{
  82. $MadelineProto->messages->sendMessage(['peer'=>$admin,'message'=>"@$user:\n".$e->getMessage()]);
  83. if(preg_match('/FLOOD_WAIT_(.*)/i', $e->getMessage())){
  84. $seconds = str_replace('FLOOD_WAIT_', '', $e->getMessage());
  85. $MadelineProto->messages->sendMessage(['peer'=>$admin,'message'=>"i'm sleeping : \n".$seconds]);
  86. sleep($seconds);
  87. }
  88. }
  89. }
  90. }
  91. }
  92. echo 'No:@'.$user.' - '.$i." Bad in:" .date('s'). "\n";
  93. $i++;
  94. usleep(250000);
  95. }
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement