Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
t94j0 committed Aug 14, 2021
1 parent 740ddfc commit 139c1d2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README
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
```

0 comments on commit 139c1d2

Please sign in to comment.