-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Slack API Integration
xer0dayz edited this page Aug 21, 2019
·
8 revisions
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.