Skip to content

datareccer/SMTP-Hammer

Repository files navigation

SMTP-Hammer

License: MIT Python Version Made with Love ![Repo Size](https://img.shields.io/github/repo-size/datareccer/SMTP-Hammer**A lightweight tool for penetration testing SMTP credentials through ethical brute-force auditing.**

"Truth demands clarity. Research demands honesty. There is no wrong way to seek what is right."
— Wesley Middleton


Overview

SMTP-Hammer is an ethical hacking tool designed to test the strength and integrity of email SMTP logins — particularly Gmail — by simulating brute-force attacks using a user-supplied password list. It is intended strictly for authorized auditing, red teaming, or educational penetration testing scenarios.


Features

  • Multi-threaded brute-force attack engine
  • Supports Gmail’s SMTP server (smtp.gmail.com:587)
  • Custom email/username targeting
  • Color-coded status output for easy readability
  • Built-in logging of attempts for documentation and compliance
  • Clean and modular Python codebase

Installation

  1. Clone the repository:
git clone https://github.com/datareccer/SMTP-Hammer.git
cd SMTP-Hammer

2. Install dependencies:
bash
pip install -r requirements.txt

## Logging and Audit Trail

SMTP Hammer automatically creates a full audit trail of all authentication attempts.

Each time the tool is launched, a new log file is generated inside the `logs/` directory.  
These log files include detailed, timestamped entries for every login attempt, indicating whether it succeeded or failed.

- **Successes** are recorded with full username and password pairs.
- **Failures** are similarly recorded to maintain a complete record.
- **Timestamps** are included for every action.

The logging system is implemented to support transparency, ethical research practices, and professional reporting standards.

> "Trust, but verify." — Ronald Reagan

This project adheres to the principles of responsible cybersecurity research, ensuring that all actions are verifiable, auditable, and documented.

About

SMTP-Hammer- Ethical Modernized Gmail Brute-Force Testing Tool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages