prbinu / dmarc-report-processor Goto Github PK
View Code? Open in Web Editor NEWScripts to pull DMARC reports from your mailbox (imap client) and convert it to Splunk friendly comma-separated key-value format
License: Other
Scripts to pull DMARC reports from your mailbox (imap client) and convert it to Splunk friendly comma-separated key-value format
License: Other
Hi, I am getting the below error on a new install of this:
``
perl bin/imap-client.py -s -p 993 -u dmarc -f inbox -c /etc/pki/tls/certs/ca-
bundle.crt -o /tmp
Password:
Traceback (most recent call last):
File "bin/imap-client.py", line 158, in
main()
File "bin/imap-client.py", line 139, in main
mail.login(args.user, args.pwd)
File "/usr/lib64/python2.7/imaplib.py", line 517, in login
typ, dat = self._simple_command('LOGIN', user, self._quote(password))
File "/usr/lib64/python2.7/imaplib.py", line 1082, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "/usr/lib64/python2.7/imaplib.py", line 911, in _command_complete
raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: LOGIN => socket error: EOF
``
How to make connection on default port 143 ?
In dmarc-convertor.sh "files" variable is coded to only *.zip.
Change
files=( "${ATTACH}/${ydate}"/*.zip )
to
files=( "${ATTACH}/${ydate}"/* )
and it will work on both.
I can't work out how to get a CSV output from the script. All I get a log files. Help please :)
usage: imap-client.py [-h] [-v] [--attachmentsonly] [--disablereadonly]
[--quiet] -s HOST [-p PORT] -c CACERTS -u USER -f FOLDER
-o OUTDIR [-S SEARCH] [-P PWDFILE]
imap-client.py: error: argument -f/--folder: expected one argument
Error: imap-client mail attachment fetch failed; exiting ...
Hi, just came across this tool. Is this usable for Forensic report emails? So will it open the failed DMARC email attachment found in the forensic report and then parse the XML so it can be queried in splunk?
I know this is not an issue, just didnt know where else to post this question.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.