Skip to content

Leproide/DMARC-Aggregate-Report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMARC Aggregate Report

Python script for generating human-readable HTML summaries with a chart for aggregated DMARC reports.

Web-Based version: DMARC Analyzer web-based

Report example

https://muninn.ovh/github/DMARC-Aggregate-Report/

Video

Video

Dependencies

pip install matplotlib

Instructions

  • Place all the XML reports (or zip/gz archive) in a folder named dmarc_reports.
  • Run report.bat (or the improved powershell version).

You can edit the report.bat file to change the title of the DMARC report:

python.exe REPORT_Full.py "Customer Example"

If no parameter is provided, the script will prompt the user to enter a value interactively.

The Python script will create a folder with today's date and generate a report with all the data found in the provided XML files.

When the report is generated, all files in the working folder dmarc_reports will be automatically deleted.

If you don’t want the files in the working directory to be deleted, simply remove this line from the Report.bat script.

powershell -Command "Remove-Item -Path '%folder%\*' -Recurse -Force"

You can easily automate the creation of reports upon receiving a DMARC email by scripting it within an email client (eg, Thunderbird with FiltaQuilla addon).

The HTML report has two modes:

  1. The first mode uses the classic Dracula theme.
  2. The second mode is print-friendly with a white background to save toner/ink.

The script is configurable to add a name to the title. For example:

python.exe REPORT_Full.py "Test S.r.l"

Screenshots

immagine

immagine

About

Python script for generating human-readable HTML summaries with a chart for aggregated DMARC reports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors