Advertisement
Guest User

Untitled

a guest
Feb 28th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. <?php
  2. $call = '$';
  3. $quote = '"';
  4. $color = '\e[92m';
  5. $color2 = '\e[0m';
  6.  
  7. echo "[+]\e[92m Greensend Config Generator\e[0m\n";
  8. echo "[+]\e[92m idconfig >\e[0m ";
  9. $config = trim(fgets(STDIN));
  10. //echo "[+]\e[92m host >\e[0m ";
  11. //$host = trim(fgets(STDIN));
  12. //echo "[+]\e[92m port >\e[0m ";
  13. //$port = trim(fgets(STDIN));
  14. echo "[+]\e[92m username >\e[0m ";
  15. $username = trim(fgets(STDIN));
  16. echo "[+]\e[92m password >\e[0m ";
  17. $password = trim(fgets(STDIN));
  18. echo "[+]\e[92m relaying >\e[0m ";
  19. $domain = trim(fgets(STDIN));
  20. echo "[+]\e[92m Config saved as {$config}.conf\e[0m\n";
  21.  
  22. $file = fopen("config/xa$config","a");
  23. $result = "<?php
  24. echo {$quote}[+]{$color} linkscam >{$color2} {$quote};
  25. {$call}scam = trim(fgets(STDIN));
  26. {$call}smtp_acc = [
  27. [
  28. 'host' => 'smtp-relay.gmail.com',
  29. 'port' => '587',
  30. 'username' => '$username',
  31. 'password' => '$password'
  32. ],
  33. ];
  34. {$call}green_config = [
  35. 'priority' => 1,
  36. 'userandom' => 0,
  37. 'sleeptime' => 3,
  38. 'replacement' => 1,
  39. 'filesend' => 1,
  40. 'userremoveline'=> 0,
  41. 'provider' => 1, /* 0 = yahoo 1 = hotmail */
  42. 'fromname' => 'Apple',
  43. 'frommail' => '#randstring#{$domain}',
  44. 'subject' => '#randstring#',
  45. 'msgfile' => 'letter/apple_locked',
  46. 'list' => 'maillist/xa$config',
  47. 'filepdf' => '',
  48. 'scampage' => ['{$call}scam'],
  49. ];";
  50.  
  51. fwrite($file,$result);
  52. return $result;
  53. fclose($file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement