mirror of https://github.com/1N3/Sn1per.git
Created Slack API Integration (markdown)
parent
5f51304937
commit
bd4548a27c
|
|
@ -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.
|
||||
Loading…
Reference in New Issue