Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.72 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.72 KB

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