Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Coder @SsAsS //
- // set_time_limit(10);
- if (!file_exists('madeline.php')) {
- copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
- }
- // system(('killall screen'));
- $login = 'me.madeline';
- include 'madeline.php';
- $settings['app_info']['api_id'] = 210897;
- if($login != 'me.madeline'){exit();}
- $settings['app_info']['api_hash'] = 'c7d2d161d83ce18d56c1a8a54437f5ff';
- $MadelineProto = new \danog\MadelineProto\API($login, $settings);
- if($settings['app_info']['api_id'] != 210897 or $settings['app_info']['api_hash'] != 'c7d2d161d83ce18d56c1a8a54437f5ff'){exit();}
- $MadelineProto->start();
- print_r($MadelineProto->get_self());
- $m = "/root/home/m";
- $i = 0;
- $a = 0;
- $x = 0;
- $admin = "@SsUsS";
- do{
- try{
- $u = explode("<br>",file_get_contents("user.txt"));
- for($i=0; $icount($u); $i++){
- try{
- $MadelineProto->messages->getPeerDialogs(['peers'=> [$u[$i]]]);
- echo '@'.$u[$i]." >> ".$x." >> ".date('i:s')."\n";
- if($x == 150000){
- $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- i'm Running..!"]);
- $x = 0;
- }
- $a++;
- $x++;
- }catch(Exception $e){
- $Bool = $MadelineProto->account->checkUsername(['username' => $u[$i], ]);
- if($Bool == true){
- $MadelineProto->account->updateUsername(['username' => $u[$i]]);
- $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "New Username >> @$u[$i]"]);
- echo "New UserName : $u[$i]\n";
- exit;
- }
- }
- }
- }catch(Exception $e){
- $bc = str_replace("<br>$u[$i]","", file_get_contents('/root/home/m/user.txt'));
- file_put_contents("/root/home/m/user.txt", $bc);
- }
- }while(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement