Skip to content

A webhook server to send email notifications when a target has submitted credentials to a Gophish landing page.

License

Notifications You must be signed in to change notification settings

dunderhay/gophish-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gophish-notifications

A webhook server to send email notifications when a target has submitted credentials to a Gophish landing page.

Example

Background

Gophish added support for webhooks in release version 9.0. Several applications (such as; slack, discord, etc) support webhooks which allow us to get campaign updates pushed as they happen. There are several different events which Gophish supports and each event has the following format:

{
    "email": "foo.bar@example.com",
    "time": "2020-01-20T17:33:55.553906Z",
    "message": "Submitted Data",
    "details": "<event details here such as password submitted etc>"
}

(Sample event for a target submitting credentials to the phishing site)

Usage

  1. Edit the SMTP credentials (enter your username and password).

  2. Edit to and from fields.

  3. Run the webhook server: go run main.go --sercret=<YourSecretHere>

Todo

  • Take SMTP details as a script argument.
  • Implement this in Gophish. Perhaps a notifications menu in the admin portal?

Resources

About

A webhook server to send email notifications when a target has submitted credentials to a Gophish landing page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages