Coder Social home page Coder Social logo

z0m31en7 / whatmail Goto Github PK

View Code? Open in Web Editor NEW
120.0 2.0 13.0 311 KB

WhatMail is a command-line tool that analyzes the header of an email and provides detailed information about various fields.

License: MIT License

Python 100.00%
digital-forensics email email-header email-header-analysis email-header-forensics investigation osint python

whatmail's Introduction

WhatMail?


project-image


WhatMail is a command-line tool that analyzes the header of an email and provides detailed information about various fields. It extracts commonly recognized email header fields such as To From Subject Date Delivered-To as well as useful fields like Message-ID Return-Path Reply-To X-Headers MIME Version Content Type Received-SPF DKIM Signature Authentication-Results X-Mailer and DMARC Results.

This tool is useful for forensic analysis investigating email authenticity understanding email routing and gathering information about the email sender and recipient. The output is presented in a tabular format making it easy to read and analyze.


shieldsshieldsshieldsshields


project-screenshot



Preview:


project-screenshot


๐Ÿ’ป Filters Supported:


  • Message-ID
  • Return-Path
  • Reply-To
  • X-Headers
  • MIME Version
  • Content Type
  • Received-SPF
  • DKIM Signature
  • Authentication Results
  • X-Mailer
  • DMARC Results


๐Ÿ› ๏ธ Installation Steps:

git clone https://github.com/z0m31en7/WhatMail.git
cd WhatMail
python WhatMail.py -hf {Path_to_header_file}


๐ŸŽ“ Usage:

python WhatMail.py -hf header.txt

Analyzes the email header in the 'header.txt' file and displays the results on the console.

python WhatMail.py -hf header.txt -O analysis_results.txt

Analyzes the email header in the 'header.txt' file and saves the analysis results in the 'analysis_results.txt' file.


๐Ÿ›ก๏ธ License:


This project is licensed under the MIT-LICENSE

whatmail's People

Contributors

z0m31en7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

whatmail's Issues

SMTP-Header with linebreak ist not parsed correct

I used ctrl-u to view the SMTP header in Thunderbird and copy these into a text file. Here some had a line break, for example

Received: from srvpsmail0.psrato.pt ([fe80::cd08:f794:f374:3943]) by
srvpsmail0.psrato.pt ([fe80::cd08:f794:f374:3943%3]) with mapi id
15.01.2507.023; Mon, 22 May 2023 10:36:16 +0100

Those are not parsed complete/correct

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.