Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!file_exists('madeline.php')) {
- copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
- }
- if (!file_exists('blockde.txt')) {
- file_put_contents("blockde.txt","");
- }
- function random(){
- $out = "";
- $rand = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0,1);
- $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);
- $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');
- $out="";
- $out = $out . $rand . $rand . $rand . $rand . $rand."\n";
- $out = $out . $rand . "_" . $rand . "_" . $rand."\n";
- $out = $out . $rand . $rand . $rand . $rand . $rand . $rand."\n";
- $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
- $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
- $out = $out . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand . $rand."\n";
- $out = $out . $rand . "_" . $rand . $rand . $rand."\n";
- $out = $out . $rand . $rand . "_" . $rand . $rand."\n";
- $out = $out . $rand .$rand . $rand . "_" . $rand."\n";
- $b = "bot";
- for ($i = 0; $i < count($randomx); $i++) {
- $two = $rand;
- $one = $randomx[$i];
- $out = $out . $one.$two.$two.$two.$two."\n";
- $out = $out . $two.$one.$b."\n";
- $out = $out . $one.$two.$b."\n";
- }
- for ($i = 0; $i < count($randomf); $i++) {
- $two = $rand;
- $one = $randomf[$i];
- $out = $out . $two.$two.$one.$two.$two."\n";
- $out = $out . $two.$one.$two.$two.$two."\n";
- $out = $out . $two.$two.$two.$one.$two."\n";
- $out = $out . $two.$one.$b."\n";
- if($one != "_"){
- $out = $out . $two.$two.$two.$two.$one."\n";
- $out = $out . $one.$two.$b."\n";
- }
- }
- return $out;
- }
- include 'madeline.php';
- $settings['app_info']['api_id'] = 203088;
- $settings['app_info']['api_hash'] = 'f360233d3627586775bd7298ee775bd1';
- $MadelineProto = new \danog\MadelineProto\API('me.madeline', $settings);
- $MadelineProto->start();
- $admin = "@QWWVW";
- $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => 'Checker was turned on']);
- $i = 0;
- while (true) {
- $users = explode("\n", random());
- foreach ($users as $user) {
- $blockde = explode("\n",file_get_contents("blockde.txt"));
- if(!in_array($user, $blockde)){
- $get = file_get_contents('http://t.me/'.$user);
- if(!strpos($get,"tgme_page_extra")){
- try {
- $Bool = $MadelineProto->account->checkUsername(['username' => $user, ]);
- if($Bool){
- $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => "TrBo 𒊮sρd", 'about'=>"TrBo 𒊮sρd", ]);
- $MadelineProto->channels->updateUsername(['channel' =>$updates['updates'][1], 'username' => $user, ]);
- $MadelineProto->messages->sendMessage(['peer' => $updates['updates'][1], 'message' => " - Done UserName -> @$user .!"]);
- echo "- UserName Taken [ @$user ]\n";
- $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- Hi Boss ".@QWWVW."
- - Done Fucked » @$user
- - LooPs » $i .!
- - Done By » 𒊮sρd"]);
- }
- }catch(Exception $e){
- if($e->getMessage() == "The provided username is not valid"){
- file_put_contents("blockde.txt", file_get_contents("blockde.txt")."$user\n");
- //$MadelineProto->messages->sendMessage(['peer' => '@'.$admin, 'message' => '@' . $user . ':It was saved in list banned usernames']);
- }else{
- $MadelineProto->messages->sendMessage(['peer'=>$admin,'message'=>"@$user:\n".$e->getMessage()]);
- if(preg_match('/FLOOD_WAIT_(.*)/i', $e->getMessage())){
- $seconds = str_replace('FLOOD_WAIT_', '', $e->getMessage());
- $MadelineProto->messages->sendMessage(['peer'=>$admin,'message'=>"i'm sleeping : \n".$seconds]);
- sleep($seconds);
- }
- }
- }
- }
- }
- echo 'No:@'.$user.' - '.$i." Bad in:" .date('s'). "\n";
- $i++;
- usleep(250000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement