Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set('display_errors', 0);
- ini_set('display_startup_errors', 0);
- error_reporting(E_ALL);
- @ini_set('zlib.output_compression',0);
- @ini_set('implicit_flush',1);
- @ob_end_clean();
- set_time_limit(0);
- ob_implicit_flush(1);
- ini_set('max_execution_time', -1);
- function curlGet($url) {
- $ch = curl_init();
- curl_setopt($ch,CURLOPT_URL,$url);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
- $res = curl_exec($ch);
- return $res;
- }
- if (!file_exists('madeline.php')) {
- copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
- }
- if (!file_exists('blockde.txt')) {
- file_put_contents('blockde.txt','');
- }
- //-----------------
- $admin = '@SsUsS';
- $session = readline('Enter session : ');
- $Token = readline('Enter Token : ');
- $SendIn = "583881427";
- //-----------------
- function Check($user){
- $get = curlGet('http://telegram.me/'.$user);
- if(!strpos($get,"tgme_page_extra")){
- return "Good";
- }else {
- return "Bad";
- }
- }
- 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="";
- for ($i = 0; $i < count($randomx); $i++) {
- $two = $rand;
- $one = $randomx[$i];
- $out = $out . $one.$two.$two.$two.$two.$two."\n";
- }
- for ($i = 0; $i < count($randomf); $i++) {
- $two = $rand;
- $one = $randomf[$i];
- $out = $out . $two.$two.$one.$two.$two.$two."\n";
- $out = $out . $two.$one.$two.$two.$two.$two."\n";
- $out = $out . $two.$two.$two.$one.$two.$two."\n";
- if($one != "_"){
- $out = $out . $two.$two.$two.$two.$two.$one."\n";
- }
- }
- $j = "bot";
- $ke = "_";
- for ($k = 0; $k < count($randomf); $k++) {
- $two = $rand;
- $one = $randomf[$k];
- $out = $out . $two.$two.$one.$j."\n";
- $out = $out . $two.$one.$two.$j."\n";
- $out = $out . $two.$ke.$one.$j."\n";
- $out = $out . $two.$one.$one.$j."\n";
- $out = $out . $two.$two.$ke.$j."\n";
- }
- return $out;
- }
- include 'madeline.php';
- $MadelineProto = new \danog\MadelineProto\API($session.'.madeline');
- $MadelineProto->start();
- $typech = readline('What do you want to type a Checker? List(s) or Make(m) : ');
- if($typech == "s"){
- $Link = readline('Enter Link List: ');
- }
- $title = readline('Enter Name: ');
- $about = readline('Enter About: ');
- echo "I will stop for a minute to avoid the ban\n";
- sleep(60);
- $i=0;
- $textsend = 'Checker was turned on';
- file_get_contents("https://api.telegram.org/bot$Token/sendMessage?chat_id=$SendIn&text=".$textsend);
- $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => $title, 'about' => $about ]);
- while(true){
- if($typech == "m"){
- $users = explode("\n",random());
- }else{
- $users = explode("\n",file_get_contents($Link));
- }
- foreach($users as $user){
- $user = str_replace([" ","\r","\n"], '', $user);
- $blockde = explode("\n", file_get_contents('blockde.txt'));
- if(!in_array($user, $blockde)){
- $Check = Check($user);
- if($Check == "Good"){
- try {
- $MadelineProto->account->checkUsername(['username' => $user ]);
- $MadelineProto->channels->updateUsername(['channel' => $updates['updates'][1], 'username' => $user ]);
- $textsend = "π Report Checker
- βββββββββββ
- β«οΈUser Name: [@$user]
- βΎοΈLoops Count: [$i]
- β«οΈWas Moved To: [Channel]
- βββββββββββ
- π Admin Checker {$admin}";
- file_get_contents("https://api.telegram.org/bot$Token/sendMessage?chat_id=$SendIn&text=".urlencode($textsend));
- $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => $title, 'about' => $about ]);
- }catch(Exception $e){
- if($e->getMessage() == "The provided username is not valid"){
- file_put_contents("blockde.txt", file_get_contents("blockde.txt")."$user\n");
- }else{
- $textsend = '@' . $user . ':'.$e->getMessage();
- file_get_contents("https://api.telegram.org/bot$Token/sendMessage?chat_id=$SendIn&text=".$textsend);
- }
- echo $e->getMessage()."\n";
- }
- }else {
- echo "No:$user - ".$i++." $Check in:" .date('s'). "\n";
- }
- usleep(250000);
- }
- }
- }'][1], 'username' => $user ]);
- $textsend = "π Report Checker
- βββββββββββ
- β«οΈUser Name: [@$user]
- βΎοΈLoops Count: [$i]
- β«οΈWas Moved To: [Channel]
- βββββββββββ
- π Admin Checker {$admin}";
- file_get_contents("https://api.telegram.org/bot$Token/sendMessage?chat_id=$SendIn&text=".urlencode($textsend));
- $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => $title, 'about' => $about ]);
- }catch(Exception $e){
- if($e->getMessage() == "The provided u
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement