Skip to content

qsecure-labs/Sp00fer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sp00fer

alt text

Sp00fer is a tool for mail server testing (e.g. for open mail relays etc.) and for spoofing checks on specified domains.

Usage (Python3 required):

Linux:

git clone https://github.com/qsecure-labs/Sp00fer.git

chmod +x install.sh

./install.sh

python3 spoofer.py -h

Windows (For windows the pcap argument which saves the traffic is not implemented):

git clone https://github.com/qsecure-labs/Sp00fer.git

pip3 install -r requirements.txt

python3 spoofer.py -h

JSON file structure

A JSON file is used as a template for each scenario you want to sent. The reserved words which change depending on what you choose in the arguments are:

  • CLIENTEMAIL which is replaced by the value of the --email argument
  • CLIENTDOMAIN which is replaced by the value of the --domain argument
  • CLIENTNAME which is derived by the value of the --email argument's local part (e.g. [email protected] will become "info")
  • TESTERDOMAIN which is replaced by the value of the --tester argument
  • SERVERIP which is replaced by the value of the --server argument

Example of the JSON is:

[{
    "scenario_no": "1",
    "comment": "Test number 1 description",
    "mailfrom": "CLIENTEMAIL",
    "headerfrom": "CLIENTEMAIL",
    "to": "CLIENTEMAIL",
    "subject": "Test number 1",
    "body": "This is a test e-mail message.\n\nPlease forward it to Pentester@[yourdomain] \n\nThank you,\nTest",
    "server": "SERVERIP"
},
{
    "scenario_no": "2",
    "comment": "Test number 2 description",
    "mailfrom": "TESTERDOMAIN",
    "headerfrom": "TESTERDOMAIN",
    "to": "TESTERDOMAIN",
    "subject": "Test number 2",
    "body": "This is a test e-mail message.\n\nPlease forward it to Pentester@[yourdomain] \n\nThank you,\nTest",
    "server": "SERVERIP"
}]

Disclaimer

Sp00fer comes without warranty and is meant to be used by penetration testers during approved penetration testing assessments and/or social enigneering assessments. Sp00fer's developers and QSecure decline all responsibility in case the tool is used for malicious purposes or in any illegal context.