Gophish

REMEMBER ONLY GIT CLONE DO NOT DOWNLOAD ZIP

https://docs.google.com/presentation/d/1gHG5moCeDbEZeQ6tQNej04vMv1Vi4TW-i6KRaIVyDJo/edit#slide=id.g1f493c080d3_0_45

git clone https://github.com/gophish/gophish .

sed -i 's/X-Gophish-Contact/X-Contact/g' models/email_request_test.go
sed -i 's/X-Gophish-Contact/X-Contact/g' models/maillog.go
sed -i 's/X-Gophish-Contact/X-Contact/g' models/maillog_test.go
sed -i 's/X-Gophish-Contact/X-Contact/g' models/email_request.go
sed -i 's/X-Gophish-Signature/X-Signature/g' webhook/webhook.go
sed -i 's/const ServerName = "gophish"/const ServerName = "IGNORE"/' config/config.go
sed -i 's/const RecipientParameter = "rid"/const RecipientParameter = "keyname"/g' models/campaign.go

Email phishing template

Variable

Description

{{.RId}}

The target's unique ID

{{.FirstName}}

The target's first name

{{.LastName}}

The target's last name

{{.Position}}

The target's position

{{.Email}}

The target's email address

{{.From}}

The spoofed sender

{{.TrackingURL}}

The URL to the tracking handler

{{.Tracker}}

An alias for <img src="{{.TrackingURL}}"/>

{{.URL}}

The phishing URL

{{.BaseURL}}

The base URL with the path and rid parameter stripped. Useful for making links to static files.

https://docs.getgophish.com/user-guide/building-your-first-campaign/creating-the-template

Last updated

Was this helpful?