RHDyarAP

Untitled

Jan 26th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. foreach ($list as $mail) {
  2. $tgl = date("Y-m-d");
  3. $cek = cek("https://www.ultratools.com/tools/emailTestResult?emailOrDomain=$mail");
  4.  
  5. if(preg_match("|>Success</span>|", $cek)){
  6. preg_match_all('|<span class="value">(.*?)</span>|si', $cek, $match);
  7. echo $wht."[ " .$b.$i++."/".$count."$wht ] ".$k.$mail.$wht. " [$h MX Record Target: $cyan".$match[1][0]."$wht ]$k => Success $b ./RHD$wht \n";
  8. $fopen = fopen("LiveMail[".$tgl."].txt", "a+");
  9. $fwrite = fwrite($fopen, "\r\n");
  10. fclose($fopen);
  11. }
  12. else{
  13. echo $wht."[ " .$b.$i++."/".$count."$wht ] ".$m.$mail.$wht. " [$h MX Record Target: $cyan".$match[1][0]."$wht ]$m => Connect failed $b ./RHD$wht \n";
  14. }
  15. }
  16. echo $b."=========".$wht." [$h RH Dyar Aryana Putra$wht ]$b =========$wht\n";
  17. }else{
  18. echo "SALAH GOBLOK\n";
  19. echo "Usage comand : php ".$argv[0]." list.txt\n";
  20. }
Advertisement
Add Comment
Please, Sign In to add comment