Skip to content

Instantly share code, notes, and snippets.

deb http://ppa.launchpad.net/securityonion/stable/ubuntu xenial main
# deb-src http://ppa.launchpad.net/securityonion/stable/ubuntu xenial main
# deb-src http://ppa.launchpad.net/securityonion/stable/ubuntu xenial main
@dlee35
dlee35 / rtir_elastalert.py
Last active November 27, 2022 01:11
ElastAlert to RTIR
#! /usr/bin/env python
# requires pip
# pip install rt
import rt
import urllib3
import argparse
"""
Create ticket using python-rt interface
https://github.com/CZ-NIC/python-rt
Manual Adoption:
point UniFi device to controller (must be done from mca-cli):
set-inform http://ip-of-controller:8080/inform
- configure your DNS server to resolve 'unifi' to your controller's IP address
- /etc/hosts is not persistent in UniFi but will work once
Gateway factory reset:
Console baud rate setting is 115200
CLI (from bash):
#!/bin/bash
#
# Copyright (C) 2011 Doug Burks and Security Onion
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License Version 2 as
# published by the Free Software Foundation. You may not use, modify or
# distribute this program under any other version of the GNU General
# Public License.
#
@dlee35
dlee35 / .bash_profile
Created September 29, 2015 15:08 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management