Advertisement
RintoMuhamad

Mass MozRank Checker

Jul 15th, 2018
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.26 KB | None | 0 0
  1. <?php
  2. $banner = "
  3. Powered By Con7ext
  4.   _____  .__              
  5.  /  _  \ |__| ____ ________
  6. /  /_\  \|  |/    \\___   /
  7. /    |    \  |   |  \/    /
  8. \____|__  /__|___|  /_____ \
  9.        \/        \/      \/\n";
  10. echo $banner."\n";
  11. echo "DOMAIN LIST: ";
  12. $url = trim(fgets(STDIN));
  13. $kontorus = file_get_contents($url);
  14. $urls = explode("\n", $kontorus);
  15.  echo "+================================+\n";
  16.  echo "         Mass MozRank Checker     \n";
  17.  echo "+================================+\n";
  18. foreach ($urls as $domain) {
  19. $curl = curl_init();
  20. curl_setopt($curl, CURLOPT_URL, "https://smallseotools.com/ajexdomain-authority-checker");
  21. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  22. curl_setopt($curl, CURLOPT_HEADER, false);
  23. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  24. curl_setopt($curl, CURLOPT_POSTFIELDS, "urls=$domain");
  25. $exec = curl_exec($curl);
  26. curl_close($curl);
  27. preg_match_all('/"domain_auth":"(.*?)"/', $exec, $da);
  28. preg_match_all('/"page_auth":"(.*?)"/', $exec, $pa);
  29. preg_match_all('/"m_rank":"(.*?)"/', $exec, $moz);
  30. echo "Domain           : ".$domain."\n";
  31. echo "MozRank          : ".$moz[1][0]."\n";
  32. echo "Domain Authority : ".$da[1][0]."\n";
  33. echo "Page Authority   : ".$pa[1][0]."\n";
  34. echo "+================================+\n";
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement