gophish-notifications

command module
v0.0.0-...-2da6145 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL