mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 02:21:36 +01:00
update
This commit is contained in:
parent
93b1040fe7
commit
bb6a83a303
@ -1,7 +1,7 @@
|
||||
## Phishing and Social-Engineering related scripts, tools and CheatSheets
|
||||
|
||||
|
||||
- **`decode-spam-headers.py`** - This tool accepts on input an `*.EML` or `*.txt` file with all the SMTP headers. It will then extract a subset of interesting headers and using **37+** tests will attempt to decode them as much as possible.
|
||||
- **`decode-spam-headers.py`** - This tool accepts on input an `*.EML` or `*.txt` file with all the SMTP headers. It will then extract a subset of interesting headers and using **79+** tests will attempt to decode them as much as possible.
|
||||
|
||||
This script also extracts all IPv4 addresses and domain names and performs full DNS resolution of them.
|
||||
|
||||
|
@ -1233,8 +1233,11 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
('Header Containing Client IP', self.testAnyOtherIP),
|
||||
)
|
||||
|
||||
testsConducted = 0
|
||||
|
||||
for testName, testFunc in tests:
|
||||
try:
|
||||
testsConducted += 1
|
||||
self.logger.dbg(f'Running "{testName}"...')
|
||||
self.results[testName] = testFunc()
|
||||
|
||||
@ -1253,6 +1256,7 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
if self.decode_all:
|
||||
for testName, testFunc in testsDecodeAll:
|
||||
try:
|
||||
testsConducted += 1
|
||||
self.logger.dbg(f'Running "{testName}"...')
|
||||
self.results[testName] = testFunc()
|
||||
|
||||
@ -1270,6 +1274,7 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
|
||||
for testName, testFunc in testsReturningArray:
|
||||
try:
|
||||
testsConducted += 1
|
||||
self.logger.dbg(f'Running "{testName}"...')
|
||||
outs = testFunc()
|
||||
|
||||
@ -1305,6 +1310,8 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
|
||||
self.logger.dbg('\n------------------------------------------\n\n')
|
||||
|
||||
self.logger.dbg(f'Conducted {testsConducted} tests on provided SMTP headers.')
|
||||
|
||||
return {k: v for k, v in self.results.items() if v}
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user