Updated Slack API Integration (markdown)

xer0dayz 2020-02-02 16:23:47 -07:00
parent 07cf44898f
commit 26bfbefb6f
1 changed files with 7 additions and 13 deletions

@ -1,19 +1,8 @@
To integrate Slack API notifications into Sn1per, edit the /usr/share/sniper/bin/slack.sh file and enter the appropriate values for the following:
```
SLACK_API_TOKEN="xoxp-your-custom-key-here"
SLACK_CHANNEL="yourprivatechannel"
```
If you don't already have a Slack API key, you can generate one here:
https://api.slack.com/custom-integrations/legacy-tokens
You will also need to create a Slack account and channel to send your notifications to.
After, you will need to edit your ~/.sniper.conf file with the following values that suite your needs:
To integrate Slack API notifications into Sn1per, edit your ~/.sniper.conf file and enter the appropriate values for the following:
```
# SLACK API
SLACK_API_KEY="YOUR_KEY_HERE"
SLACK_NOTIFICATIONS="1"
SLACK_NOTIFICATIONS_THEHARVESTER="1"
SLACK_NOTIFICATIONS_EMAIL_SECURITY="1"
@ -33,4 +22,9 @@ SLACK_NOTIFICATIONS_METAGOOFIL="1"
SLACK_NOTIFICATIONS_ARACHNI_SCAN="1"
```
If you don't already have a Slack API key, you can generate one here:
https://api.slack.com/custom-integrations/legacy-tokens
You will also need to create a Slack account and channel to send your notifications to.
After that's done, all you need to is run your Sn1per scans as normal to start receiving command output via your custom Slack channel.