Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(1);
- session_start();
- $f = $_SERVER['REQUEST_URI'];
- $s = $_SERVER['PHP_SELF'];
- usleep(rand(123456,765432));
- $y = explode('/',$f);
- if(isset($_POST["name"])){
- $w = $_POST["name"];$w=str_replace('https://t.me/s/','',$w);$t=$w;
- }else{$u = $y[0];$d = $y[1];$t = $y[2];$p = $y[3];}
- $q = array("nasapictures","hackernewslive","Smithsonian");
- if(!$t){shuffle($q);$t=$q[1];}
- if($_SESSION["$t"]){
- $l_num = $_SESSION["$t"];
- $h = explode('&',$l_num);
- $inid = $h["0"];}
- if(!$_SESSION["$t"]){
- $output =file_get_contents('https://t.me/s/'."$t");$output=trim($output);
- $get_pm = preg_match_all('/'."$t".'\/[0-9]+/', $output, $matches);
- $count= $matches["0"];
- //$last_tid = count($count);
- $last_tid = array_pop($count);
- $inid = str_replace($t.'/', '', $last_tid);
- //print_r($count);
- $_SESSION["$t"] = "$inid".'&';
- }
- if(!$p){$v = rand(1,$inid);$_SESSION["$t"].=$v.'&';}
- if($p){$v = $p;$_SESSION["$t"] .= $p.'&';}
- //$f = $t.'/';
- $f = $v + 1;
- //$r = $t.'/';
- $r = $v - 1;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement