Skip to content

Instantly share code, notes, and snippets.

View jgamblin's full-sized avatar

Jerry Gamblin jgamblin

View GitHub Profile
"00-00-52","Intrusion.com, Inc."
"00-00-ED","APRIL"
"00-02-D6","NICE Systems"
"00-02-F7","ARM"
"00-03-F4","NetBurner"
"00-04-70","ipUnplugged AB"
"00-05-F8","Real Time Access, Inc."
"00-06-77","SICK AG"
"00-07-2D","CNSystems"
"00-07-86","Wireless Networks Inc."
@jgamblin
jgamblin / urls.txt
Created July 6, 2016 12:00
Top 1000 Domains
google.com
youtube.com
facebook.com
baidu.com
yahoo.com
amazon.com
wikipedia.org
google.co.in
twitter.com
qq.com
@jgamblin
jgamblin / Streisand.sh
Last active May 31, 2019 18:07
Streisand Server Install Bash Script
Please see: https://gist.github.com/cpu/9fe42bd664c99bff6ae85c0f386a0ae0
#!/bin/bash
# Installs the Streisand server for you https://github.com/jlund/streisand
#sudo apt-get update && sudo apt-get install -y git python-paramiko python-pip python-pycurl python-dev build-essential
#sudo pip install ansible markupsafe dopy==0.3.5
#git clone https://github.com/jlund/streisand.git && cd streisand/playbooks
##sed -i 's/streisand-host/127.0.0.1/g' streisand.yml
#sudo ansible-playbook -i "localhost," -c local streisand.yml
#sed -i "s/localhost/$(curl -s ipecho.net/plain)/g" ../generated-docs/streisand.html
@jgamblin
jgamblin / wifi.sh
Created September 3, 2016 15:24
OSX Script To Check Wifi
#!/bin/bash
function pause(){
read -p "$*"
}
RED='\033[0;31m'
NC='\033[0m' # NOCOLOR
YELLOW='\033[0;33m'
function HexToDotted (){
<!DOCTYPE html>
<html>
<body>
<p id="demo">Click the button to get your position.</p>
<button onclick="getLocation()">Try It</button>
<div id="mapholder"></div>
@jgamblin
jgamblin / test.html
Created October 10, 2016 18:18
test.htm
<!DOCTYPE html>
<html>
<body>
<p id="demo">Click the button to get your position.</p>
<button onclick="getLocation()">Try It</button>
<div id="mapholder"></div>
@jgamblin
jgamblin / mate.sh
Last active October 19, 2016 19:38
Ubuntu Mate RDP
# /bin/bash
export DEBIAN_FRONTEND=noninteractive
#Upate
apt-get update
apt-get dist-upgrade
#SSH Passwords
sed -i 's|[#]*PasswordAuthentication no|PasswordAuthentication yes|g' /etc/ssh/sshd_config
@jgamblin
jgamblin / slackmap.sh
Created November 5, 2016 21:55
Script to NMAP a network and Post Differences to Slack
#!/bin/sh
TARGETS="192.168.1.0/24"
OPTIONS="-v -T4 -F -sV"
date=$(date +%Y-%m-%d-%H-%M-%S)
cd /nmap/diffs
nmap $OPTIONS $TARGETS -oA scan-$date > /dev/null
slack(){
curl -F file=@diff-$date -F initial_comment="Internal Port Change Detected" -F channels=#alerts -F token=xxxx-xxxx-xxxx https://slack.com/api/files.upload
}
@jgamblin
jgamblin / w3af.sh
Created November 9, 2016 14:20
W3AF SlackBot
#!/bin/sh
w3af_console -s scan.w3af
cd /usr/share/w3af
wkhtmltopdf scan.html scan.pdf
curl -F [email protected] -F initial_comment="W3AF Scan" -F channels=#alerts -F token=xxxx-xxxx-xxxx https://slack.com/api/files.upload
#set profile
profiles
use OWASP_TOP10
#use fast_scan
back
# Configure Output.
plugins