Skip to content

SPF-finder is designed to check for the validation of a Sender Policy Framework (SPF) record in a domain's DNS settings. It uses the nslookup command to query the DNS server for the SPF record, and then parses the output to determine if the record is present or not. It also have functionality for reading a list of domains.

Notifications You must be signed in to change notification settings

PrayanshParmar/SPF-Finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

SPF-Finder

SPF-Finder is a python script used to find Sender Policy Framework (SPF) record of a domain - it can find spf of domain in bulk.

spf-finder

Installation

  1. You need python3, pip3, git

  2. Fork/Clone/Download this repo

    https://github.com/PrayanshParmar/SPF-Finder.git
    
  3. Navigate to the directory

    cd SPF-Finder
    

SPF_Finder -h

Usage: python3 spf.py [-h] [-v] [-d] [-l] domain_name/input_file [-o] output_file
------------------------------------------------------------------------------------------------
Options:    
       -h, --help         Help section
       -v, --version      Show version
       -d, --domain       for single domain
       -l, --inputfile    Input file of domain name (support only ".txt" extension)
       -o, --outputfile   Output file name (support only ".txt" extension)
------------------------------------------------------------------------------------------------

Usage

For single scan

$ python3 spf.py -d domain

For Bulk scan without output_file

$ python3 spf.py -l input_file

  • Only support .txt Input_file extension.
  • File must contain only domain name one by one.

image

For Bulk scan with output_file

$ python3 spf.py -l input_file -o output_file

  • Only support .txt Input_file and Output_file extension.
  • File must contain only domain name one by one as shown above.

About

SPF-finder is designed to check for the validation of a Sender Policy Framework (SPF) record in a domain's DNS settings. It uses the nslookup command to query the DNS server for the SPF record, and then parses the output to determine if the record is present or not. It also have functionality for reading a list of domains.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages