This Node.js application serves as a pentesting tool designed to help test and evaluate the effectiveness of email spam filters. It uses the Floodmail API to send controlled email floods, allowing users to assess how well their email systems detect and manage unsolicited emails.
Ensure you have the following installed:
- Node.js
- npm
Node.js and npm can be downloaded from nodejs.org.
Clone this repository and install its dependencies:
git clone https://github.com/9P9/email-spammer.git
cd email-spammer
npm install axios
Before running the application, you must obtain an API key from Floodmail.net. This key will allow you to interact with the Floodmail API responsibly.
Open the application code and set your Floodmail username and API key:
let floodMailKey = "YOUR_API_KEY_HERE"; // Replace with your Floodmail API key
let floodMailUser = "YOUR_USERNAME_HERE"; // Replace with your Floodmail username
To use the tool to test an email's spam filter, simply run the script with Node.js:
node index.js
This will execute a predefined email flood test against the email address specified in the script.
You can modify the target email and other parameters directly in the script:
let email = "testEmail@gmail.com"; // Target email address
sendFlood(email);
This tool is intended for security testing and educational purposes only. Use this tool only on systems you have permission to test. Unauthorized use of this tool against third-party email addresses without consent is illegal and unethical.
For support, please open an issue on the GitHub repository.