Skip to content

Instantly share code, notes, and snippets.

@scottharman
scottharman / router_stats.py
Created January 30, 2017 02:22
Python Simple Router Stats
import sys
import re
from time import sleep
import requests
from requests.auth import HTTPBasicAuth
from bs4 import BeautifulSoup
from termcolor import colored
import json
import logging
import logging.config
@scottharman
scottharman / supportregion.groovy
Last active March 30, 2016 03:38
Support Region Scriptrunner Listener
/**
* Created by scottha on 30/03/2016.
* Note - All fields need to be changed to regular text
*/
import org.apache.log4j.Logger
import org.apache.log4j.Level
def log = Logger.getLogger("com.s-a-m.SupportStatus")
log.setLevel(Level.DEBUG)
log.debug "Start debug - Region and Country Listener..."
import com.atlassian.jira.component.ComponentAccessor
@scottharman
scottharman / giop.mate
Last active November 26, 2015 22:37
GIOP MATE for Wireshark
Pdu giop_pdu Proto giop Transport tcp/ip {
Extract giop_addr From ip.addr;
Extract giop_port From tcp.port;
Extract giop_type From giop.type;
Extract giop_request_id From giop.request_id;
Extract giop_request_op From giop.request_op;
};
Gop giop_req On giop_pdu Match (giop_addr, giop_addr, giop_port, giop_port,giop_request_id) {
Start (giop_type = 0);