Coder Social home page Coder Social logo

dhyfy / email-header-analyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyberdefenders/email-header-analyzer

0.0 0.0 0.0 11.13 MB

E-Mail Header Analyzer

Home Page: https://mailheaderanalyzer.herokuapp.com/

License: Other

JavaScript 13.02% Python 34.19% CSS 3.64% HTML 47.96% Dockerfile 1.19%

email-header-analyzer's Introduction

E-Mail Header Analyzer (MHA)

mha

What is E-Mail header analyzer (MHA):

E-Mail header analyzer is a tool written in flask for parsing email headers and converting them to a human readable format and it also can:

  • Identify hop delays.
  • Identify the source of the email.
  • Identify hop country.

MHA is an alternative for the following:

Name Dev Issues
MessageHeader Google Not showing all the hops.
EmailHeaders Mxtoolbox Not accurate and slow.
Message Header Analyzer Microsoft Broken UI.

Installation

Install system dependencies:

sudo apt-get update
sudo apt-get install python3-pip
sudo pip3 install virtualenv

Create a Python3 virtual environment and activate it:

virtualenv virt
source virt/bin/activate

Clone the GitHub repo:

git clone https://github.com/lnxg33k/email-header-analyzer.git

Install Python dependencies:

cd MHA
pip3 install -r requirements.txt

Run the development server: python3 server.py -d

You can change the bind address or port by specifying the appropriate options: python3 server.py -b 0.0.0.0 -p 8080

Everything should go well, now visit http://localhost:8080.

Docker

A Dockerfile is provided if you wish to build a docker image.

docker build -t mha:latest .

You can then run a container with:

docker run -d -p 8080:8080 mha:latest

Docker-Compose

A docker-compose file is provided if you wish to use docker-compose.

Clone the GitHub repo:

git clone https://github.com/lnxg33k/email-header-analyzer.git
cd email-header-analyzer

Let docker-compose do the work.

docker-compose up -d

Stop the container.

docker-compose down

HowTo enable debugging. Add in the docker docker-compose.yml file the line

command: --debug

email-header-analyzer's People

Contributors

lnxg33k avatar joelkle avatar xiol avatar staypirate avatar judokus 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.