RHDyarAP

Untitled

Mar 18th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  
  5. Tingal make doang ga usah colak coleklah
  6.  
  7.  
  8. */
  9. $m="\033[1;31m";
  10. $k="\033[1;33m";
  11. $h="\033[1;32m";
  12. $b="\033[1;34m";
  13. $wht="\033[37m";
  14. $cyan = "\033[1;36m";
  15. $f = file_get_contents("https://www.ultratools.com/tools/emailTestResult");
  16. preg_match("/<input type=\"hidden\" name=\"as_sfid\" value=\"(.*?)\" \/>/", $f, $token);
  17. $live = 0;
  18. $die = 0;
  19.  
  20. $i = 0;
  21. $listcode = $argv[1];
  22. $codelistlist = file_get_contents($listcode);
  23. $code_list_array = file($listcode);
  24. $code = explode(PHP_EOL, $codelistlist);
  25. $count = count($code);
  26. $url = 'https://www.ultratools.com/tools/emailTestResult';
  27. foreach($code as $mail) {
  28. $tgl = date("Y-m-d");
  29. $ch = curl_init();
  30. curl_setopt($ch, CURLOPT_URL, $url);
  31. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  32. curl_setopt($ch, CURLOPT_POSTFIELDS, 'emailOrDomain='.$mail.'&as_sfid='.$token[1][0]);
  33. $x = curl_exec($ch);
  34. if (preg_match("/Success/", $x)) {
  35. echo $cyan."[".$i++."/".$count."]$k LIVE| $mail $wht \n";
  36. $fopen = fopen("LiveMail[".$tgl."].txt", "a+");
  37. $fwrite = fwrite($fopen, "$mail\n");
  38. fclose($fopen);
  39. $live++;
  40. }else{
  41. echo $cyan."[".$i++."/".$count."]$m DIE | $mail $wht\n";
  42. $die++;
  43. }
  44. }
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment