Skip to content

Instantly share code, notes, and snippets.

Avatar

Jerry Gamblin jgamblin

View GitHub Profile
@jgamblin
jgamblin / AllPixelScrollText.py
Created Nov 12, 2019
AllPixel Board To Scroll Text Message.
View AllPixelScrollText.py
import bibliopixel
from bibliopixel.drivers.serial import Serial, LEDTYPE
driver = Serial(width=8, height=32, num=256, ledtype = LEDTYPE.WS2812B)
from bibliopixel import Matrix, Rotation
led = Matrix(driver,
rotation = Rotation.ROTATE_90,
vert_flip = True,
@jgamblin
jgamblin / gist:a9f2ef27c78dfe3e5e65645fe9d1b970
Created Sep 17, 2019
Check a List Of Emails For Open Google Calendars.
View gist:a9f2ef27c78dfe3e5e65645fe9d1b970
#!/usr/bin/env bash
# Check a List Of Emails For Open Google Calendars.
if [[ $# -eq 0 ]]; then
echo 'Please provide a list email addresses to check.'
exit 1
fi
email_list="$1"
@jgamblin
jgamblin / Dockerfile
Created Jul 26, 2019
Apple_Blee Dockerfile
View Dockerfile
FROM ubuntu:18.04
RUN apt-get update && \
apt-get upgrade -y
RUN apt-get update && \
apt-get install -y \
bluetooth \
bluez \
cmake \
@jgamblin
jgamblin / defconjson.py
Last active Jul 26, 2019
Defcon 27 JSON Schedule
View defconjson.py
# the issue is that website.txt is not in chronological or track order!
import os
import re
import json
os.system("lynx -dump https://defcon.org/html/defcon-27/dc-27-speakers.html >\
schedule.txt")
@jgamblin
jgamblin / NVD.py
Last active Jul 26, 2019
NVD CVEs to Indivual JSON files
View NVD.py
import requests
import json
import gzip
import os
import codecs
import time
from datetime import timedelta
start = time.time()
count = 0
@jgamblin
jgamblin / vc-local.py
Created Jun 28, 2019
A Local Version of VulnerableContainers.org
View vc-local.py
import csv
import os
import re
import requests
import subprocess
import time
from datetime import timedelta
from more_itertools import unique_everseen
start = time.time()
@jgamblin
jgamblin / popular_containers.py
Created Jun 27, 2019
Find The Most Pulled Containers From Docker Hub
View popular_containers.py
@jgamblin
jgamblin / sort.txt
Created Jun 18, 2019
Container Vulns Sort
View sort.txt
Owner/Container1
Total: 23 (UNKNOWN: 0, LOW: 3, MEDIUM: 13, HIGH: 7, CRITICAL: 0)
Owner/Container2
Total: 16 (UNKNOWN: 0, LOW: 2, MEDIUM: 12, HIGH: 2, CRITICAL: 0)
Owner/Container3
Total: 85 (UNKNOWN: 0, LOW: 7, MEDIUM: 44, HIGH: 24, CRITICAL: 10)
Owner/Container4
View bash_profile
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$PATH";
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
@jgamblin
jgamblin / nmapburp.sh
Created Sep 6, 2018
NMap a network and send all open web servers to Burp.
View nmapburp.sh
#!/bin/bash
#Script to Scan All Sites Found With A Simple NMAP Scan With Burp.
sites=$(nmap "$1" --open 443 --resolve-all --open -oG - | awk 'NR!=1 && /open/{print $2}')
for site in $sites
do
curl -vgw "\\n" 'http://127.0.0.1:1337/v0.1/scan' -d '{"urls":["'"$site"'"]}' > /dev/null 2>&1
printf "Scanning %s with burp.\\n" "$site"
done
You can’t perform that action at this time.