Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $call = '$';
- $quote = '"';
- $color = '\e[92m';
- $color2 = '\e[0m';
- echo "[+]\e[92m Greensend Config Generator\e[0m\n";
- echo "[+]\e[92m idconfig >\e[0m ";
- $config = trim(fgets(STDIN));
- //echo "[+]\e[92m host >\e[0m ";
- //$host = trim(fgets(STDIN));
- //echo "[+]\e[92m port >\e[0m ";
- //$port = trim(fgets(STDIN));
- echo "[+]\e[92m username >\e[0m ";
- $username = trim(fgets(STDIN));
- echo "[+]\e[92m password >\e[0m ";
- $password = trim(fgets(STDIN));
- echo "[+]\e[92m relaying >\e[0m ";
- $domain = trim(fgets(STDIN));
- echo "[+]\e[92m Config saved as {$config}.conf\e[0m\n";
- $file = fopen("config/xa$config","a");
- $result = "<?php
- echo {$quote}[+]{$color} linkscam >{$color2} {$quote};
- {$call}scam = trim(fgets(STDIN));
- {$call}smtp_acc = [
- [
- 'host' => 'smtp-relay.gmail.com',
- 'port' => '587',
- 'username' => '$username',
- 'password' => '$password'
- ],
- ];
- {$call}green_config = [
- 'priority' => 1,
- 'userandom' => 0,
- 'sleeptime' => 3,
- 'replacement' => 1,
- 'filesend' => 1,
- 'userremoveline'=> 0,
- 'provider' => 1, /* 0 = yahoo 1 = hotmail */
- 'fromname' => 'Apple',
- 'frommail' => '#randstring#{$domain}',
- 'subject' => '#randstring#',
- 'msgfile' => 'letter/apple_locked',
- 'list' => 'maillist/xa$config',
- 'filepdf' => '',
- 'scampage' => ['{$call}scam'],
- ];";
- fwrite($file,$result);
- return $result;
- fclose($file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement