Skip to content

Instantly share code, notes, and snippets.

Matthew Wollenweber mwollenweber

Block or report user

Report or block mwollenweber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mwollenweber /
Last active Feb 12, 2016
gAudit Module to resolve and store IP addresses from Alexa
Copyright Matthew Wollenweber 2014
1. Fetch the Alexa Top 1M list
2. Resolve the domain and www.domain to IP addresses
3. Insert those IPs into a database using SQLAlechemy
View gist:c9f6a65d0cc346a8ebc5
function addNetIDButtons(){
var rows = $('#emailRetentionTable').dataTable().fnGetNodes();
//var rows = oTable.fnGetNodes();
for(var i=0; i<=rows.length; i++){
//get the cell contents of the email row
var data = rows[0].cells[0].innerHTML;
var pre = "<div class=\"btn-group\"><button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\"> ";
var post = " </button><ul class=\"dropdown-menu\" role=\"menu\"><li><a href=\"#\">Disable NetID</a></li><li><a href=\"#\">Enable NetID</a></li><li><a href=\"#\">View Audits</a></li><li><a href=\"#\">Queue Audit</a></li></ul></div></td> ";
View gist:01c026e302c33b9efc4b
<div class="container-fluid">
<div class="col-md-4">
<form role="form" class="retainSearch">
<div class="form-group">
<label for="searchField">Search By: </label>
<select class="form-control input-sm" name="searchField" id="searchField">
<option value="NetID">Netid</option>
<option value="lName">Family Name</option>
View gist:5687219
#base94 decode
tati_string = "replace me"
def decode(input):
output = 0
base = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}'
power = 0
for c in input:
mwollenweber /
Created Apr 7, 2011
Quick hack to compare performance of OpenDNS vs Google vs GW. Also checks blocking accuracy of dnsbh
#Matthew Wollenweber
import os,sys, ConfigParser
import time
import sqlite3
import urllib2
import urlparse
mwollenweber /
Created Apr 7, 2011
a comparison of entropy as computed in online examples vs some fairly trivial optimization
#Matthew Wollenweber
import math
from numpy import zeros
from time import time
from random import randint
#Matthew Wollenweber
from scapy.all import *
import sys, os, socket, traceback, getopt
default_bpf = "tcp"
default_iface = "en0"
default_max = 10000
You can’t perform that action at this time.