Skip to content

Instantly share code, notes, and snippets.


Brandon Dixon 9b

View GitHub Profile
Last active Aug 6, 2019
Small script to request WHOIS information from RiskIQ
Modify the script to include your username and API key.
Create a virtualenv to keep your space clean:
$ virtualenv -p python3 venv3
Activate it:
$ source venv3/bin/activate
View log-review.txt
'statistics': {
'noise': 264,
'ips_processed': 283,
'duplicate_entries': 4609,
'money_saved': '$179.17',
'duplicate_ratio': 94.0,
'noise_ratio': 93.0,
'time_saved': '8:48:00',
'interest': 19,

Keybase proof

I hereby claim:

  • I am 9b on github.
  • I am 9bplus ( on keybase.
  • I have a public key ASDXArDVDZslzdQphHwNk0YbXgJapLZ9yFgrrWCGcK-7Ago

To claim this, I am signing this object:

9b / apt32.js
Last active Jun 27, 2018
Latest observed JS payload used for APT32 profiling.
View apt32.js
!function(e) {
function t(i) {
if (n[i])
return n[i].exports;
var o = n[i] = {
"i": i,
"l": !1,
"exports": {}
return e[i].call(o.exports, o, o.exports, t),
9b / false.json
Last active Jun 1, 2018
Sample policy generated from a rule builder meant to be evaluated.
View false.json
"condition": "AND",
"rules": [
"id": "monitor_category",
"field": "monitor_category",
"type": "string",
"input": "select",
"operator": "equal",
"value": "Competition",
"""Use image analysis to extract scores from coffee charts."""
from PIL import Image, ImageFilter, ImageEnhance
from pytesseract import image_to_string
import cv2
import os
import sys
import numpy as np
9b /
Created Aug 26, 2017
Simple tool to use WhatRuns API to get technologies used on a page. Doesn't submit the page if it's not in the database.
import ast
import datetime
import json
import sys
import requests
import urllib
from tabulate import tabulate
url = ""
data = {"data": {"hostname": sys.argv[1], "url": sys.argv[1],
9b /
Created Apr 17, 2017
Extract median, min and max pay data from Glassdoor for a given set of job titles.
"""Extract median, min and max pay data from Glassdoor for a given set of job titles."""
from bs4 import BeautifulSoup
import requests
import sys
USER_AGENT = ("Mozilla/5.0 (Windows NT 6.1) "
"AppleWebKit/537.36 (KHTML, like Gecko) "
"Chrome/41.0.2228.0 Safari/537.36")
9b / linkedin-auto-endorse.js
Last active Apr 5, 2017
Auto-endorse connection top 3 skills when viewing their profile. This snippet requires TamperMonkey (
View linkedin-auto-endorse.js
// ==UserScript==
// @name Auto-endorse LinkedIn Connections
// @require
// @require
// @version 0.6
// @description Automatically endorse the user we are viewing for their top skills
// @author Brandon Dixon (@9bplus)
// @grant none
// @include*
// ==/UserScript==
View alexa50k-txt-records.csv
We can't make this file beautiful and searchable because it's too large.,"v=spf1 ~all","google-site-verification=OQz60vR-YapmaVrafWCALpPyA8eKJKssRhfIrzM-DJI","v=spf1 mx -all","v=spf1","google-site-verification=GHb98-6msqyx_qqjGl5eRatD3QTHyVB6-xQ3gJB5UwM","v=spf1 a mx ptr -all","v=spf1","google-site-verification=AMHkgs-4ViEvIJf5znZle-BSE2EPNFqM1nDJGRyn2qk","v=spf1 ?all"