Giter VIP home page Giter VIP logo

email-sherlock's Introduction

Email-Sherlock

This Flask application allows users to upload email files or paste raw email headers for analysis. It provides a detailed report on email headers, attachments, IP addresses involved in the email path, and checks for possible email spoofing.

Features

  • Parse email headers and extract important information.
  • Scan email attachments using VirusTotal API.
  • Visualize the path of the email based on IP addresses.
  • Check for potential email spoofing by analyzing SPF, DKIM, and DMARC results.
  • Generate a visual report of the email's journey through different IPs.

Prerequisites

Ensure you have the following installed:

  • Python 3.7 or higher
  • pip (Python package installer)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/email-header-analyzer.git
    cd email-header-analyzer
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up VirusTotal API key:

    • Obtain an API key from VirusTotal.
    • Replace the placeholder VT_API_KEY in the app.py file with your actual VirusTotal API key.

Usage

  1. Run the application:

    python app.py
  2. Access the application:

    Open a web browser and navigate to http://127.0.0.1:5000/.

  3. Analyze an email:

    • Upload an email file or paste raw email headers.
    • Click "Analyze" to view the detailed report.

Project Structure

  • app.py: The main Flask application file.
  • templates/: Folder containing HTML templates.
    • index.html: The homepage template for uploading files or pasting email headers.
    • result.html: The template for displaying analysis results.
  • requirements.txt: List of dependencies required to run the application.
  • README.md: This file, providing an overview and setup instructions.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or report any issues.

Acknowledgements

  • VirusTotal for providing the API for scanning email attachments.
  • IPWhois for the IP geolocation functionality.
  • Flask for the web framework.
  • Matplotlib for data visualization.

email-sherlock's People

Contributors

flamin-goes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.