Skip to content

Instantly share code, notes, and snippets.

🐗
Creating.

Brandon Dixon 9b

Block or report user

Report or block 9b

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
@9b
9b / README
Last active May 24, 2019
Small script to request WHOIS information from RiskIQ
View README
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,
View keybase.md

Keybase proof

I hereby claim:

  • I am 9b on github.
  • I am 9bplus (https://keybase.io/9bplus) on keybase.
  • I have a public key ASDXArDVDZslzdQphHwNk0YbXgJapLZ9yFgrrWCGcK-7Ago

To claim this, I am signing this object:

@9b
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
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",
View parse-scores.py
"""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
9b / what_runs.py
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.
View what_runs.py
import ast
import datetime
import json
import sys
import requests
import urllib
from tabulate import tabulate
url = "https://www.whatruns.com/api/v1/get_site_apps"
data = {"data": {"hostname": sys.argv[1], "url": sys.argv[1],
@9b
9b / glassdoor-salary-scraper.py
Created Apr 17, 2017
Extract median, min and max pay data from Glassdoor for a given set of job titles.
View glassdoor-salary-scraper.py
"""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
9b / linkedin-auto-endorse.js
Last active Apr 5, 2017
Auto-endorse connection top 3 skills when viewing their profile. This snippet requires TamperMonkey (https://tampermonkey.net/).
View linkedin-auto-endorse.js
// ==UserScript==
// @name Auto-endorse LinkedIn Connections
// @require https://code.jquery.com/jquery-1.9.1.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @version 0.6
// @description Automatically endorse the user we are viewing for their top skills
// @author Brandon Dixon (@9bplus)
// @grant none
// @include https://www.linkedin.com/*
// ==/UserScript==
View alexa50k-txt-records.csv
We can't make this file beautiful and searchable because it's too large.
google.com,"v=spf1 include:_spf.google.com ~all"
youtube.com,"google-site-verification=OQz60vR-YapmaVrafWCALpPyA8eKJKssRhfIrzM-DJI"
youtube.com,"v=spf1 include:google.com mx -all"
facebook.com,"v=spf1 redirect=_spf.facebook.com"
baidu.com,"google-site-verification=GHb98-6msqyx_qqjGl5eRatD3QTHyVB6-xQ3gJB5UwM"
baidu.com,"v=spf1 include:spf1.baidu.com include:spf2.baidu.com include:spf3.baidu.com a mx ptr -all"
yahoo.com,"v=spf1 redirect=_spf.mail.yahoo.com"
wikipedia.org,"google-site-verification=AMHkgs-4ViEvIJf5znZle-BSE2EPNFqM1nDJGRyn2qk"
wikipedia.org,"v=spf1 include:wikimedia.org ?all"
You can’t perform that action at this time.