From fcaab4cc41c7f49a859f6e90872ef7c79c989949 Mon Sep 17 00:00:00 2001 From: mgeeky Date: Sun, 17 Oct 2021 15:29:36 +0200 Subject: [PATCH] update --- phishing/README.md | 25 +++++++++++++++++++++++++ phishing/decode-spam-headers.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/phishing/README.md b/phishing/README.md index 0d6c135..1873b50 100644 --- a/phishing/README.md +++ b/phishing/README.md @@ -33,6 +33,31 @@ Most of these headers are not fully documented, therefore the script is unable to pinpoint all the details, but at least it collects all I could find on them. + Help: + +``` +PS> py .\decode-spam-headers.py --help +usage: decode-spam-headers.py [options] + +optional arguments: + -h, --help show this help message and exit + +Required arguments: + infile Input file to be analysed + +Options: + -o OUTFILE, --outfile OUTFILE + Output file with report + -f {json,text}, --format {json,text} + Analysis report format. JSON, text. Default: text + -N, --nocolor Dont use colors in text output. + -v, --verbose Verbose mode. + -d, --debug Debug mode. + +Tests: + -r, --resolve Resolve IPv4 addresses / Domain names. +``` + Sample run: ``` diff --git a/phishing/decode-spam-headers.py b/phishing/decode-spam-headers.py index 36f80c4..b4d9f1f 100644 --- a/phishing/decode-spam-headers.py +++ b/phishing/decode-spam-headers.py @@ -1853,7 +1853,7 @@ def opts(argv): global logger o = argparse.ArgumentParser( - usage = 'analyse-smtp-headers.py [options] ' + usage = 'decode-spam-headers.py [options] ' ) req = o.add_argument_group('Required arguments')