From bd4548a27c09063b41844bd0d3816a06ec860c2b Mon Sep 17 00:00:00 2001 From: xer0dayz <1N3@hushmail.com> Date: Tue, 20 Aug 2019 18:33:12 -0700 Subject: [PATCH] Created Slack API Integration (markdown) --- Slack-API-Integration.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Slack-API-Integration.md diff --git a/Slack-API-Integration.md b/Slack-API-Integration.md new file mode 100644 index 0000000..dc6a8ab --- /dev/null +++ b/Slack-API-Integration.md @@ -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. \ No newline at end of file