Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // 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/";
- $i = 0;
- $a = 0;
- $x = 0;
- $admin = "@SsUsS";
- do{
- try{
- $u = explode("<br>",file_get_contents("user.txt"));
- for($i=0; $i<count($u); $i++){
- try{
- $MadelineProto->messages->getPeerDialogs(['peers'=> [$u[$i]]]);
- echo 'False - '.$u[$i].":[".$x." in:".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 User-Name : @$u[$i] "]);
- echo "- Was Fucked: @$u[$i]\n";
- exit;
- }
- }
- }
- }catch(Exception $e){
- $bc = str_replace("<br>$u[$i]","", file_get_contents('/home/user.txt'));
- file_put_contents("/home/user.txt", $bc);
- }
- }while(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement