Created Slack API Integration (markdown)

xer0dayz 2019-08-20 18:33:12 -07:00
parent 5f51304937
commit bd4548a27c
1 changed files with 34 additions and 0 deletions

34
Slack-API-Integration.md Normal file

@ -0,0 +1,34 @@
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
After, you will need to edit your ~/.sniper.conf file with the following values that suite your needs:
```
# SLACK API
SLACK_NOTIFICATIONS="1"
SLACK_NOTIFICATIONS_THEHARVESTER="1"
SLACK_NOTIFICATIONS_EMAIL_SECURITY="1"
SLACK_NOTIFICATIONS_DOMAINS_NEW="1"
SLACK_NOTIFICATIONS_TAKEOVERS_NEW="1"
SLACK_NOTIFICATIONS_SUBOVER_NEW="1"
SLACK_NOTIFICATIONS_SUBJACK_NEW="1"
SLACK_NOTIFICATIONS_S3_BUCKETS="1"
SLACK_NOTIFICATIONS_SUBNETS="1"
SLACK_NOTIFICATIONS_DIRSEARCH_NEW="1"
SLACK_NOTIFICATIONS_SPIDER_NEW="1"
SLACK_NOTIFICATIONS_WHATWEB="1"
SLACK_NOTIFICATIONS_NMAP="1"
SLACK_NOTIFICATIONS_BRUTEFORCE="1"
SLACK_NOTIFICATIONS_WHOIS="1"
SLACK_NOTIFICATIONS_METAGOOFIL="1"
SLACK_NOTIFICATIONS_ARACHNI_SCAN="1"
```
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.