Skip to content
Apps I created for TheHive and friends
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TheHive-Webhook
.gitignore
LICENSE
README.md

README.md

TheHive-SideProjects

A Slack webhook I created using Flask

Big shout out to Eric and everyone at Recon InfoSec

Requirements

  1. Linux server requirements

    • sudo apt-get update && sudo apt-get -y upgrade

    • sudo apt-get install python-pip

    • sudo pip install flask

    • sudo pip install request

    • sudo pip install requests

  2. Add the following environmental variables:

    • export hookURL=https://hooks.slack.com/services/<yourslackwebhook>

    • export hiveURL=https://yourhiveserver.com or IP

      • note: You might have to edit your .bashrc or .profile to add your variables
  3. Configure your Hive server to send webhooks to Flask

  4. $PROFIT

Caution!

  1. Make sure you change your crypto secret on TheHive (source)
  2. Make sure you configure SSL and a Proxy if you use in production (source)
  3. I used the Flask builtin development server for TESTING ONLY. Please change it if you will use this in production(source)

Contributors

You can’t perform that action at this time.