• Stars
    star
    222
  • Rank 178,216 (Top 4 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python 3.x based email spoofer

smtp-email-spoofer-py

Python 3.x based email spoofer

For educational purposes only. Do not send to or from addresses that you do not own.

Email spoofing is often used for spam campaigns and phishing attacks. If you use this tool inappropriately, you could violate of the CAN-SPAM Act of 2003 and/or the Computer Fraud and Abuse Act. You'd also be committing wire fraud. Use your head.


Table of Contents

Getting Started

  1. $ git clone https://github.com/mikechabot/smtp-email-spoofer-py.git
  2. Activate virtualenv
  3. $ pip install -r requirements.txt
  4. $ python spoof.py

Instructions on creating and activating virtualenv can be found here: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/

Commands

smtp-email-spoofer-py offers two global commands: wizard and cli:

$ py spoof.py -h
usage: spoof.py [-h] {wizard,cli} ...

Python 3.x based email spoofer

optional arguments:
  -h, --help    show this help message and exit

commands:
  {wizard,cli}  Allowed commands
    wizard      Use the step-by-step wizard
    cli         Pass arguments directly

Wizard

Issue the wizard command to use the step-by-step wizard:

$ py spoof.py wizard
  1. Enter the SMTP server information to establish a connection over TLS:

logo

  1. Optionally provide credentials to login to the SMTP server:

logo

  1. Compose the forged message:

Load the HTML message body from a file, or compose it within the shell

logo

  1. Send the message:

logo


CLI

Issue the cli -h command to view the help:

$ py spoof.py cli -h
usage: spoof.py cli [-h] (--noauth | --username USERNAME)
                    [--password PASSWORD] --host HOST --port PORT --sender
                    SENDER --name NAME --recipients RECIPIENTS
                    [RECIPIENTS ...] --subject SUBJECT --filename FILENAME

optional arguments:
  -h, --help            show this help message and exit
  --noauth              Disable authentication check
  --username USERNAME   SMTP username
  --password PASSWORD   SMTP password (required with --username)

required arguments:
  --host HOST           SMTP hostname
  --port PORT           SMTP port number
  --sender SENDER       Sender address (e.g. [email protected])
  --name NAME           Sender name (e.g. John Smith)
  --recipients RECIPIENTS [RECIPIENTS ...]
                        Recipient addresses (e.g. [email protected] ...)
  --subject SUBJECT     Subject line
  --filename FILENAME   Message body filename (e.g. example.html)
  1. Issue the cli command along with the appropriate arguments:

If --noauth is not specified, --username and --password are required.

logo


Result

logo

More Repositories

1

react-boilerplate

A slightly opinionated yet dead simple boilerplate for React 17.x, Webpack 5 and React Router v5
TypeScript
172
star
2

react-json-form-engine

Build lightning fast web forms from JSON.
JavaScript
52
star
3

redux-entity

A predictable approach to maintaining domain entities in Redux
TypeScript
52
star
4

maybe-baby

Minimize defensive coding. A JavaScript implementation of the Maybe monad.
JavaScript
42
star
5

cryptify

File-based encryption (FBE) utility for Node.js
JavaScript
11
star
6

react-tabify

A dead simple tab component for ReactJS
JavaScript
8
star
7

spring-data-rest-webmvc-helloworld

Full stack annotation based Spring MVC web project that utilizes Spring Data MongoDB. Fronted with AngularJS and Skeleton CSS
JavaScript
4
star
8

cross-env-example

Reproduction of https://github.com/kentcdodds/cross-env/issues/13
CSS
4
star
9

markovify

Random text generation via Markov chains
JavaScript
2
star
10

archvile

first attempt at a web crawler
Java
2
star
11

pixelwood

A survival city-builder
JavaScript
2
star
12

reddit-history

Simple script to scrape reddit comment history
Python
2
star
13

sortable-map

Dictionary data structure with flexible sort capabilities
JavaScript
1
star
14

log4j-training

A simple tool for Support that provides a sandbox for messing around with log4j
Java
1
star
15

react-json-form-engine-demo

Demo for react-json-form-engine
CSS
1
star
16

ethereum-ticker

Information ticker for the Ethereum blockchain
JavaScript
1
star
17

game-of-life

ReactJS implementation of Conway's Game of Life
JavaScript
1
star
18

Archmage

Layer 7 DoS attack tool
Java
1
star