A python package to send corporate amounts of email quickly and easily
Project description
mailbomb
A python package to send corporate amounts of email quickly and easily
This python package (for Python 3.6) allows you to quickly send massive amounts of email to your customers.
Installation
The package is available for install from pip
:
pip3 install mailbomb
And then you are good to go.
Usage
Import the package in your Python script like so:
import mailbomb.Mailbomb as mb
nuke = mb.Mailbomb(host='smtp.example.com', port=465,
login='user@example.com', key='vErYsEcReTpAsSkEy')
nuke.load_target_list('targets.txt') # Read targets line by line from a .txt-file
nuke.add_target('target@targetdomain.com') # Add a target manually
nuke.remove_duplicate_targets() # Removes duplicate targets
nuke.exclude_targets('exclude_list.txt') # Excludes targets line by line from the specified .txt-file
nuke.add_header('From', 'Anonymous Attacker <anonymous@attacker.com>')
nuke.add_header('Subject', 'You are being nuked. Enjoy!')
nuke.add_header('Reply-To', 'Anonymous Attacker #2 <other@attacker.com>')
nuke.load_html_message('message.html')
nuke.starttls()
nuke.launch_agents(50)
nuke.terminate()
And the nuke will be launched. Details on adding target email addresses will follow soon as this functionality has not yet been implemented.
Uninstallation
Uninstall the package using pip
:
pip3 uninstall mailbomb
Thank you for using this Python package!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailbomb-0.0.1.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
mailbomb-0.0.1.5-py3-none-any.whl
(16.2 kB
view hashes)
Close
Hashes for mailbomb-0.0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 564576fc9c17e1d94e94eba8f577cfdff419ef64b12a7a32a500ab38e9aea64a |
|
MD5 | db5534e4a8ffaefa66858e10e44064a5 |
|
BLAKE2b-256 | ea9d3fba0c47395c8ed46fd1bb659f4ce034f2a61212f11f128339300e9ecb2c |