Advertisement
VanGans

Mass Traffic Checker

Apr 19th, 2019
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.76 KB | None | 0 0
  1. <?php
  2. $banner = "
  3. Powered By VanGans
  4. $$$$$$\  $$$$$$$$\  $$$$$$\  
  5. $$  __$$\ $$  _____|$$  __$$\
  6. $$ /  \__|$$ |      $$ /  $$ |
  7. \$$$$$$\  $$$$$\    $$ |  $$ |
  8. \____$$\ $$  __|   $$ |  $$ |
  9. $$\   $$ |$$ |      $$ |  $$ |
  10. \$$$$$$  |$$$$$$$$\  $$$$$$  |
  11. \______/ \________| \______/\n";
  12. echo $banner."\n";
  13. echo "DOMAIN LIST: ";
  14. $url = trim(fgets(STDIN));
  15. $kontorus = file_get_contents($url);
  16. $urls = explode("\n", $kontorus);
  17.  echo "+================================+\n";
  18.  echo "         Mass Traffic Checker     \n";
  19.  echo "+================================+\n";
  20. foreach ($urls as $domain) {
  21. $curl = curl_init();
  22. curl_setopt($curl, CURLOPT_URL, "http://www.statshow.com/www/$domain");
  23. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  24. curl_setopt($curl, CURLOPT_HEADER, false);
  25. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  26. $exec = curl_exec($curl);
  27. curl_close($curl);
  28. preg_match_all("/<div id=\"box_1\" class=\"box_on\">(.*?)<span class=\"red_bold\">(.*?)<\/span><br \/>(.*?)<span class=\"red_bold\">(.*?)<\/span>/", $exec, $daily);
  29. preg_match_all("/<div id=\"box_2\" class=\"box_off\">(.*?)<span class=\"red_bold\">(.*?)<\/span><br \/>(.*?)<span class=\"red_bold\">(.*?)<\/span>/", $exec, $monthly);
  30. preg_match_all("/<div id=\"box_3\" class=\"box_off\">(.*?)<span class=\"red_bold\">(.*?)<\/span><br \/>(.*?)<span class=\"red_bold\">(.*?)<\/span>/", $exec, $yearly);
  31.  echo "Domain             : ".$domain."\n";
  32.  echo "Daily Pageviews    : ".$daily[2][0]."\n";
  33.  echo "Daily Visitors     : ".$daily[4][0]."\n";
  34.  echo "Monthly Pageviews  : ".$monthly[2][0]."\n";
  35.  echo "Monthly Visitors   : ".$monthly[4][0]."\n";
  36.  echo "Yearly Pageviews   : ".$yearly[2][0]."\n";
  37.  echo "Yearly Visitors    : ".$yearly[4][0]."\n";
  38.  echo "+================================+\n";
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement