{"id":13618917,"url":"https://github.com/cyberdefenders/email-header-analyzer","last_synced_at":"2025-04-04T08:04:30.411Z","repository":{"id":41371827,"uuid":"57030888","full_name":"cyberdefenders/email-header-analyzer","owner":"cyberdefenders","description":"E-Mail Header Analyzer","archived":false,"fork":false,"pushed_at":"2023-04-11T16:38:38.000Z","size":11395,"stargazers_count":669,"open_issues_count":20,"forks_count":167,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-28T07:02:46.143Z","etag":null,"topics":["analysis","analyzer","docker","email-forensics","email-header","email-header-forensics","email-parsing","email-sender","headers","headers-mime","mha","outlook"],"latest_commit_sha":null,"homepage":"https://mailheaderanalyzer.herokuapp.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyberdefenders.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-25T09:52:15.000Z","updated_at":"2025-03-25T17:08:53.000Z","dependencies_parsed_at":"2024-12-04T05:03:56.274Z","dependency_job_id":"9b61293c-2a2e-4c75-8879-a9e7e8da5255","html_url":"https://github.com/cyberdefenders/email-header-analyzer","commit_stats":{"total_commits":51,"total_committers":5,"mean_commits":10.2,"dds":"0.17647058823529416","last_synced_commit":"dc0b3f0ae54491129b835597b46742372c795ad2"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdefenders%2Femail-header-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdefenders%2Femail-header-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdefenders%2Femail-header-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdefenders%2Femail-header-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberdefenders","download_url":"https://codeload.github.com/cyberdefenders/email-header-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247137574,"owners_count":20889899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","analyzer","docker","email-forensics","email-header","email-header-forensics","email-parsing","email-sender","headers","headers-mime","mha","outlook"],"created_at":"2024-08-01T21:00:32.218Z","updated_at":"2025-04-04T08:04:30.391Z","avatar_url":"https://github.com/cyberdefenders.png","language":"HTML","funding_links":[],"categories":["Communication and Collaboration Tools","Security","HTML"],"sub_categories":["E-mail","Security Check"],"readme":"## E-Mail Header Analyzer (MHA)\n![mha](https://cloud.githubusercontent.com/assets/1170490/18221866/b7b362d6-718e-11e6-9fa0-2e7f8bc2b9d7.png)\n\n\n## What is E-Mail header analyzer (MHA):\nE-Mail header analyzer is a tool written in [flask](http://flask.pocoo.org/) for parsing email headers and converting them to a human readable format and it also can:\n* Identify hop delays.\n* Identify the source of the email.\n* Identify hop country.\n\n\n## MHA is an alternative for the following:\n| Name | Dev | Issues |\n| ---- | --- | ----- |\n| [MessageHeader](https://toolbox.googleapps.com/apps/messageheader/) | Google | Not showing all the hops. |\n| [EmailHeaders](https://mxtoolbox.com/Public/Tools/EmailHeaders.aspx) | Mxtoolbox | Not accurate and slow. |\n| [Message Header Analyzer](https://testconnectivity.microsoft.com/MHA/Pages/mha.aspx) | Microsoft | Broken UI. |\n\n\n## Installation\nInstall system dependencies:\n```\nsudo apt-get update\nsudo apt-get install python3-pip\nsudo pip3 install virtualenv\n```\nCreate a Python3 virtual environment and activate it:\n```\nvirtualenv virt\nsource virt/bin/activate\n```\nClone the GitHub repo:\n```\ngit clone https://github.com/lnxg33k/email-header-analyzer.git\n```\nInstall Python dependencies:\n```\ncd MHA\npip3 install -r requirements.txt\n```\nRun the development server:\n`python3 server.py -d`\n\nYou can change the bind address or port by specifying the appropriate options:\n`python3 server.py -b 0.0.0.0 -p 8080`\n\nEverything should go well, now visit [http://localhost:8080](http://localhost:8080).\n\n## Docker\n\nA `Dockerfile` is provided if you wish to build a docker image.\n\n```\ndocker build -t mha:latest .\n```\n\nYou can then run a container with:\n\n```\ndocker run -d -p 8080:8080 mha:latest\n```\n\n### Docker-Compose\n\nA `docker-compose` file is provided if you wish to use docker-compose.\n\nClone the GitHub repo:\n```\ngit clone https://github.com/lnxg33k/email-header-analyzer.git\ncd email-header-analyzer\n```\n\nLet docker-compose do the work.\n```\ndocker-compose up -d\n```\n\nStop the container.\n```\ndocker-compose down\n```\n\nHowTo enable debugging. Add in the docker `docker-compose.yml` file the line\n```yaml\ncommand: --debug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberdefenders%2Femail-header-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberdefenders%2Femail-header-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberdefenders%2Femail-header-analyzer/lists"}