Skip to content

Instantly share code, notes, and snippets.

View fhightower's full-sized avatar
🎯
Focusing

Floyd fhightower

🎯
Focusing
View GitHub Profile
@fhightower
fhightower / indicator_complete_info.py
Last active May 12, 2017 13:23
Function to get all available data about an indicator in ThreatConnect.
def get_complete_indicator_data(indicator_object):
"""Function to get all available data about an indicator."""
# start off with the basic indicator information
indicator_data = indicator_object.json
# remove the description attribute of the json as we will this more completely later
del indicator_data['description']
indicator_data['associated_groups'] = list()
indicator_data['associated_indicators'] = list()
@fhightower
fhightower / TC_angular_setup
Last active September 28, 2017 17:18
ThreatConnect Sample Spaces App Setup
#!/usr/bin/env bash
# Instructions for getting the ThreatConnect sample app (https://github.com/ThreatConnect-Inc/TCS_-_SampleApp)
# running on a linux vagrant box (https://atlas.hashicorp.com/ubuntu/boxes/trusty64).
# basic updates
sudo apt-get update;
sudo apt-get -y install git;
cd /vagrant/;
@fhightower
fhightower / blockade_io.sh
Created March 15, 2017 19:40
Installing Blockade.io on a Linux Server
# for more info on Blockadeio, see: https://github.com/blockadeio/cloud_node
# install necesary libraries
sudo apt-get update;
sudo apt install -y python-pip python-dev libssl-dev libffi-dev mongodb-server;
sudo pip install virtualenv;
sudo apt-get install -y git;
# clone the https repo
git clone https://github.com/blockadeio/cloud_node.git;