Advertisement
VanGans

Mass MozRank Checker

Apr 19th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.33 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 MozRank Checker     \n";
  19.  echo "+================================+\n";
  20. foreach ($urls as $domain) {
  21. $curl = curl_init();
  22. curl_setopt($curl, CURLOPT_URL, "https://smallseotools.com/ajexdomain-authority-checker");
  23. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  24. curl_setopt($curl, CURLOPT_HEADER, false);
  25. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  26. curl_setopt($curl, CURLOPT_POSTFIELDS, "urls=$domain");
  27. $exec = curl_exec($curl);
  28. curl_close($curl);
  29. preg_match_all('/"domain_auth":"(.*?)"/', $exec, $da);
  30. preg_match_all('/"page_auth":"(.*?)"/', $exec, $pa);
  31. preg_match_all('/"m_rank":"(.*?)"/', $exec, $moz);
  32. echo "Domain           : ".$domain."\n";
  33. echo "MozRank          : ".$moz[1][0]."\n";
  34. echo "Domain Authority : ".$da[1][0]."\n";
  35. echo "Page Authority   : ".$pa[1][0]."\n";
  36. echo "+================================+\n";
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement