-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# PhishBot | ||
|
||
GoPhish Slack bot using webhooks | ||
|
||
## Installation | ||
|
||
### From Source | ||
|
||
```bash | ||
git clone https://github.com/t94j0/gophish-webhook-slack | ||
cd gophish-webhook-slack | ||
go build -o phishbot | ||
``` | ||
|
||
## Configuration | ||
|
||
The configuration path is `/etc/gophish_slack/config.yml`. Below is an example config: | ||
|
||
```yaml | ||
# Username displayed in Slack | ||
bot_username: PhishBot | ||
# Channel to post in | ||
bot_channel: '#testing2' | ||
# Bot profile picture | ||
bot_emoji: ':blowfish:' | ||
# Webhook address. Typically starts with https://hooks.slack.com/services/... | ||
slack_webhook: '<Your Slack Webhook>' | ||
# Host to listen on. If GoPhish is running on the same host, you can set this to 127.0.0.1 | ||
listen_host: 0.0.0.0 | ||
# Port to listen on | ||
listen_port: 9999 | ||
# Webhook path. The full address will be http://<host>:<ip><webhook_path>. Ex: http://127.0.0.1:9999/webhook | ||
webhook_path: /webhook | ||
# Secret for GoPhish authentication | ||
secret: secretpassword123 | ||
# Log level. Log levels are panic, fatal, error, warning, info, debug, trace. | ||
log_level: debug | ||
``` |