A Python tool to check if a domain can be spoofed by analyzing its SPF and DMARC records. This Project is a shameless rip off spoofcheck which was written in python2.
This is my effort to make it compatible with python3.
- Analyzes SPF (Sender Policy Framework) records
- Checks DMARC (Domain-based Message Authentication, Reporting, and Conformance) policies
- Identifies weak configurations that could allow email spoofing
- Examines organizational DMARC records
python3 spoofcheck.py example.com
A domain is considered spoofable if any of these conditions are met:
- No SPF record exists
- SPF record exists but never specifies
~all
or-all
- No DMARC record exists
- DMARC policy is set to
p=none
- Organizational DMARC record is weak or nonexistent
Run pip3 install -r requirements.txt
from the command line to install the required dependencies.