Bora Doğru forced me to make it suitable for go install use.

This commit is contained in:
taygun08 2025-04-07 15:48:52 +03:00
parent ad372aa2bd
commit 2451c0aaf1
3 changed files with 16 additions and 3 deletions

View file

@ -20,10 +20,18 @@ A command-line tool written in Go that checks domains for email spoofing vulnera
## Installation
Assuming you have Go installed, you can build the program with:
You can install this tool using Go:
```bash
go build spoof_check.go
go install github.com/taygun/spoof_checker@latest
```
Or clone the repository and install locally:
```bash
git clone https://github.com/taygun/spoof_checker.git
cd spoof_checker
go build main.go -o spoof_check
```
## Usage
@ -128,7 +136,9 @@ DMARC Record: v=DMARC1; p=none; rua=mailto:dmarc@example.com
Found the following issues:
Code 4: SPF "~all" (SoftFail) mechanism set
Code 4: SPF "~all" (SoftFail) ```bash
```echanism set
Severity: Medium
Detail: The "all" mechanism at the end of the end of an SPF record tells receivers how to treat unauthorised (i.e. spoofed) emails - the "~all" setting tells receivers to 'SoftFail' (i.e. quarantine) emails that fail SPF authentication. In practice however, many email filters only slightly raise the total spam score and accept 'SoftFailed' (i.e. spoofed) emails.

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/taygun/spoof_checker
go 1.21