RHDyarAP

Untitled

Feb 3rd, 2019
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. ** MINI PROJECT RH DYAR **
  5. ** Add USER smtp for HS **
  6. ** Gratis Ga di Pungut Biaya **
  7. ** PAKE AJA GA USAH UDAT EDIT GOBLOK **
  8. */
  9. echo "pw : ";
  10. $pw = trim(fgets(STDIN, 1024));
  11. echo "user : ";
  12. $user = trim(fgets(STDIN, 1024));
  13. if($user){
  14. $list = explode("\n", file_get_contents($user));
  15. $i = 0;
  16. foreach ($list as $mail) {
  17. echo "smtp.gmail.com|587|Y|Y|".$mail."|".$pw."|".$i++."\n";
  18. $fopen = fopen("Result.txt", "a+");
  19. $fwrite = fwrite($fopen, "smtp.gmail.com|587|Y|Y|".$mail."|".$pw."|".$i++."\n");
  20. fclose($fopen);
  21. }
  22. }
  23. ?>
Advertisement
Add Comment
Please, Sign In to add comment