Advertisement
Block_monkY

preserver_retired.php

Feb 21st, 2024 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.99 KB | Cryptocurrency | 0 0
  1. <?php
  2. error_reporting(1);
  3. session_start();
  4. $f = $_SERVER['REQUEST_URI'];
  5. $s = $_SERVER['PHP_SELF'];
  6. usleep(rand(123456,765432));
  7. $y = explode('/',$f);
  8. if(isset($_POST["name"])){
  9. $w = $_POST["name"];$w=str_replace('https://t.me/s/','',$w);$t=$w;
  10. }else{$u = $y[0];$d = $y[1];$t = $y[2];$p = $y[3];}
  11. $q = array("nasapictures","hackernewslive","Smithsonian");
  12.  
  13. if(!$t){shuffle($q);$t=$q[1];}
  14. if($_SESSION["$t"]){
  15. $l_num = $_SESSION["$t"];
  16. $h = explode('&',$l_num);
  17. $inid = $h["0"];}
  18.  
  19. if(!$_SESSION["$t"]){
  20. $output =file_get_contents('https://t.me/s/'."$t");$output=trim($output);
  21. $get_pm = preg_match_all('/'."$t".'\/[0-9]+/', $output, $matches);
  22. $count= $matches["0"];
  23. //$last_tid = count($count);
  24. $last_tid = array_pop($count);
  25. $inid = str_replace($t.'/', '', $last_tid);
  26. //print_r($count);
  27. $_SESSION["$t"] = "$inid".'&';
  28. }
  29. if(!$p){$v = rand(1,$inid);$_SESSION["$t"].=$v.'&';}
  30. if($p){$v = $p;$_SESSION["$t"] .= $p.'&';}
  31.  
  32. //$f = $t.'/';
  33. $f = $v + 1;
  34. //$r = $t.'/';
  35. $r = $v - 1;
  36.  
  37. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement